NVIDIA DeepStream SDK API Reference

9.2 Release
sdk::metrics::Aggregation Class Referenceabstract

Detailed Description

Inheritance diagram for sdk::metrics::Aggregation:

Public Member Functions

virtual void Aggregate (int64_t value, const PointAttributes &attributes={}) noexcept=0
 
virtual void Aggregate (double value, const PointAttributes &attributes={}) noexcept=0
 
virtual std::unique_ptr< Aggregation > Merge (const Aggregation &delta) const noexcept=0
 Returns the result of the merge of the two aggregations. More...
 
virtual std::unique_ptr< Aggregation > Diff (const Aggregation &next) const noexcept=0
 Returns a new delta aggregation by comparing two cumulative measurements. More...
 
virtual PointType ToPoint () const noexcept=0
 Returns the point data that the aggregation will produce. More...
 
virtual ~Aggregation ()=default
 
virtual void Aggregate (int64_t value, const PointAttributes &attributes={}) noexcept=0
 
virtual void Aggregate (double value, const PointAttributes &attributes={}) noexcept=0
 
virtual std::unique_ptr< Aggregation > Merge (const Aggregation &delta) const noexcept=0
 Returns the result of the merge of the two aggregations. More...
 
virtual std::unique_ptr< Aggregation > Diff (const Aggregation &next) const noexcept=0
 Returns a new delta aggregation by comparing two cumulative measurements. More...
 
virtual PointType ToPoint () const noexcept=0
 Returns the point data that the aggregation will produce. More...
 
virtual ~Aggregation ()=default
 

Constructor & Destructor Documentation

◆ ~Aggregation() [1/2]

virtual sdk::metrics::Aggregation::~Aggregation ( )
virtualdefault

◆ ~Aggregation() [2/2]

virtual sdk::metrics::Aggregation::~Aggregation ( )
virtualdefault

Member Function Documentation

◆ Aggregate() [1/4]

◆ Aggregate() [2/4]

◆ Aggregate() [3/4]

◆ Aggregate() [4/4]

◆ Diff() [1/2]

◆ Diff() [2/2]

◆ Merge() [1/2]

virtual std::unique_ptr<Aggregation> sdk::metrics::Aggregation::Merge ( const Aggregation &  delta) const
pure virtualnoexcept

◆ Merge() [2/2]

virtual std::unique_ptr<Aggregation> sdk::metrics::Aggregation::Merge ( const Aggregation &  delta) const
pure virtualnoexcept

◆ ToPoint() [1/2]

◆ ToPoint() [2/2]


The documentation for this class was generated from the following file: