NVIDIA DeepStream SDK API Reference

8.0 Release
deepstream::AnalyticsFrameMeta Class Reference

Detailed Description

Definition at line 662 of file service-maker/includes/metadata.hpp.

Inheritance diagram for deepstream::AnalyticsFrameMeta:
Collaboration diagram for deepstream::AnalyticsFrameMeta:

Public Types

typedef std::unique_ptr< AbstractIterator< UserMetadata > > Iterator
 
typedef std::unique_ptr< AbstractIterator< UserMetadata > > Iterator
 

Public Member Functions

 AnalyticsFrameMeta (void *data=nullptr)
 Constructor for AnalyticsFrameMeta. More...
 
 AnalyticsFrameMeta (const UserMetadata &user_meta)
 Copy constructor for AnalyticsFrameMeta. More...
 
virtual ~AnalyticsFrameMeta ()
 
std::unordered_map< std::string, bool > getOcStatus () const
 Map of boolean status of overcrowding for configured ROIs, which can be accessed using key, value pair; where key is the ROI label. More...
 
std::unordered_map< std::string, uint32_t > getObjInROIcnt () const
 Map of total count of valid objects in ROI for configured ROIs, which can be accessed using key, value pair; where key is the ROI label. More...
 
std::unordered_map< std::string, uint64_t > getObjLCCurrCnt () const
 Map of total count of Line crossing in current frame for configured lines, which can be accessed using key, value pair; where key is the ROI label. More...
 
std::unordered_map< std::string, uint64_t > getObjLCCumCnt () const
 Map of total cumulative count of Line crossing for configured lines, which can be accessed using key, value pair; where key is the ROI label. More...
 
unsigned int getUniqueId () const
 Get the unique identifier for this metadata. More...
 
std::unordered_map< int, uint32_t > getObjCnt () const
 Map of total count of objects for each class ID, which can be accessed using key, value pair; where key is class ID. More...
 
 AnalyticsFrameMeta (void *data=nullptr)
 Constructor for AnalyticsFrameMeta. More...
 
 AnalyticsFrameMeta (const UserMetadata &user_meta)
 Copy constructor for AnalyticsFrameMeta. More...
 
virtual ~AnalyticsFrameMeta ()
 
std::unordered_map< std::string, bool > getOcStatus () const
 Map of boolean status of overcrowding for configured ROIs, which can be accessed using key, value pair; where key is the ROI label. More...
 
std::unordered_map< std::string, uint32_t > getObjInROIcnt () const
 Map of total count of valid objects in ROI for configured ROIs, which can be accessed using key, value pair; where key is the ROI label. More...
 
std::unordered_map< std::string, uint64_t > getObjLCCurrCnt () const
 Map of total count of Line crossing in current frame for configured lines, which can be accessed using key, value pair; where key is the ROI label. More...
 
std::unordered_map< std::string, uint64_t > getObjLCCumCnt () const
 Map of total cumulative count of Line crossing for configured lines, which can be accessed using key, value pair; where key is the ROI label. More...
 
unsigned int getUniqueId () const
 Get the unique identifier for this metadata. More...
 
std::unordered_map< int, uint32_t > getObjCnt () const
 Map of total count of objects for each class ID, which can be accessed using key, value pair; where key is class ID. More...
 
virtual operator bool () override
 operator to check if a metadata is void More...
 
virtual operator bool () override
 operator to check if a metadata is void More...
 
int metaType () const
 Get the meta type. More...
 
int metaType () const
 Get the meta type. More...
 
void setMetaType (int type)
 Set the meta type. More...
 
void setMetaType (int type)
 Set the meta type. More...
 
void * userData () const
 Get the user data pointer. More...
 
void * userData () const
 Get the user data pointer. More...
 
void setUserData (void *data, void *(*copy)(void *, void *), void(*release)(void *, void *))
 Set user data with copy and release functions. More...
 
void setUserData (void *data, void *(*copy)(void *, void *), void(*release)(void *, void *))
 Set user data with copy and release functions. More...
 

Protected Member Functions

void get_ (void *&)
 
void get_ (void *&)
 

Protected Attributes

void * data_
 

Member Typedef Documentation

◆ Iterator [1/2]

Definition at line 103 of file service-maker/includes/metadata.hpp.

◆ Iterator [2/2]

Definition at line 103 of file 9.0/service-maker/includes/metadata.hpp.

Constructor & Destructor Documentation

◆ AnalyticsFrameMeta() [1/4]

deepstream::AnalyticsFrameMeta::AnalyticsFrameMeta ( void *  data = nullptr)

Constructor for AnalyticsFrameMeta.

Parameters
dataOptional pointer to data. Defaults to nullptr.

◆ AnalyticsFrameMeta() [2/4]

deepstream::AnalyticsFrameMeta::AnalyticsFrameMeta ( const UserMetadata user_meta)

Copy constructor for AnalyticsFrameMeta.

◆ ~AnalyticsFrameMeta() [1/2]

virtual deepstream::AnalyticsFrameMeta::~AnalyticsFrameMeta ( )
virtual

◆ AnalyticsFrameMeta() [3/4]

deepstream::AnalyticsFrameMeta::AnalyticsFrameMeta ( void *  data = nullptr)

Constructor for AnalyticsFrameMeta.

Parameters
dataOptional pointer to data. Defaults to nullptr.

◆ AnalyticsFrameMeta() [4/4]

deepstream::AnalyticsFrameMeta::AnalyticsFrameMeta ( const UserMetadata user_meta)

Copy constructor for AnalyticsFrameMeta.

◆ ~AnalyticsFrameMeta() [2/2]

virtual deepstream::AnalyticsFrameMeta::~AnalyticsFrameMeta ( )
virtual

Member Function Documentation

◆ get_() [1/2]

◆ get_() [2/2]

void deepstream::UserMetadata::get_ ( void *&  )
protectedinherited

◆ getObjCnt() [1/2]

std::unordered_map<int, uint32_t> deepstream::AnalyticsFrameMeta::getObjCnt ( ) const

Map of total count of objects for each class ID, which can be accessed using key, value pair; where key is class ID.

◆ getObjCnt() [2/2]

std::unordered_map<int, uint32_t> deepstream::AnalyticsFrameMeta::getObjCnt ( ) const

Map of total count of objects for each class ID, which can be accessed using key, value pair; where key is class ID.

◆ getObjInROIcnt() [1/2]

std::unordered_map<std::string, uint32_t> deepstream::AnalyticsFrameMeta::getObjInROIcnt ( ) const

Map of total count of valid objects in ROI for configured ROIs, which can be accessed using key, value pair; where key is the ROI label.

◆ getObjInROIcnt() [2/2]

std::unordered_map<std::string, uint32_t> deepstream::AnalyticsFrameMeta::getObjInROIcnt ( ) const

Map of total count of valid objects in ROI for configured ROIs, which can be accessed using key, value pair; where key is the ROI label.

◆ getObjLCCumCnt() [1/2]

std::unordered_map<std::string, uint64_t> deepstream::AnalyticsFrameMeta::getObjLCCumCnt ( ) const

Map of total cumulative count of Line crossing for configured lines, which can be accessed using key, value pair; where key is the ROI label.

◆ getObjLCCumCnt() [2/2]

std::unordered_map<std::string, uint64_t> deepstream::AnalyticsFrameMeta::getObjLCCumCnt ( ) const

Map of total cumulative count of Line crossing for configured lines, which can be accessed using key, value pair; where key is the ROI label.

◆ getObjLCCurrCnt() [1/2]

std::unordered_map<std::string, uint64_t> deepstream::AnalyticsFrameMeta::getObjLCCurrCnt ( ) const

Map of total count of Line crossing in current frame for configured lines, which can be accessed using key, value pair; where key is the ROI label.

◆ getObjLCCurrCnt() [2/2]

std::unordered_map<std::string, uint64_t> deepstream::AnalyticsFrameMeta::getObjLCCurrCnt ( ) const

Map of total count of Line crossing in current frame for configured lines, which can be accessed using key, value pair; where key is the ROI label.

◆ getOcStatus() [1/2]

std::unordered_map<std::string, bool> deepstream::AnalyticsFrameMeta::getOcStatus ( ) const

Map of boolean status of overcrowding for configured ROIs, which can be accessed using key, value pair; where key is the ROI label.

◆ getOcStatus() [2/2]

std::unordered_map<std::string, bool> deepstream::AnalyticsFrameMeta::getOcStatus ( ) const

Map of boolean status of overcrowding for configured ROIs, which can be accessed using key, value pair; where key is the ROI label.

◆ getUniqueId() [1/2]

unsigned int deepstream::AnalyticsFrameMeta::getUniqueId ( ) const

Get the unique identifier for this metadata.

◆ getUniqueId() [2/2]

unsigned int deepstream::AnalyticsFrameMeta::getUniqueId ( ) const

Get the unique identifier for this metadata.

◆ metaType() [1/2]

int deepstream::UserMetadata::metaType ( ) const
inherited

Get the meta type.

◆ metaType() [2/2]

int deepstream::UserMetadata::metaType ( ) const
inherited

Get the meta type.

◆ operator bool() [1/2]

virtual deepstream::UserMetadata::operator bool ( )
inlineoverridevirtualinherited

operator to check if a metadata is void

Reimplemented from deepstream::Metadata.

Definition at line 116 of file service-maker/includes/metadata.hpp.

References deepstream::Metadata::data_.

◆ operator bool() [2/2]

virtual deepstream::UserMetadata::operator bool ( )
inlineoverridevirtualinherited

operator to check if a metadata is void

Reimplemented from deepstream::Metadata.

Definition at line 116 of file 9.0/service-maker/includes/metadata.hpp.

References deepstream::Metadata::data_.

◆ setMetaType() [1/2]

void deepstream::UserMetadata::setMetaType ( int  type)
inherited

Set the meta type.

◆ setMetaType() [2/2]

void deepstream::UserMetadata::setMetaType ( int  type)
inherited

Set the meta type.

◆ setUserData() [1/2]

void deepstream::UserMetadata::setUserData ( void *  data,
void *(*)(void *, void *)  copy,
void(*)(void *, void *)  release 
)
inherited

Set user data with copy and release functions.

Parameters
dataPointer to user data
copyCopy function for the user data (can be NULL)
releaseRelease function for the user data (can be NULL)

◆ setUserData() [2/2]

void deepstream::UserMetadata::setUserData ( void *  data,
void *(*)(void *, void *)  copy,
void(*)(void *, void *)  release 
)
inherited

Set user data with copy and release functions.

Parameters
dataPointer to user data
copyCopy function for the user data (can be NULL)
releaseRelease function for the user data (can be NULL)

◆ userData() [1/2]

void* deepstream::UserMetadata::userData ( ) const
inherited

Get the user data pointer.

◆ userData() [2/2]

void* deepstream::UserMetadata::userData ( ) const
inherited

Get the user data pointer.

Field Documentation

◆ data_

void * deepstream::Metadata::data_
protectedinherited

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