NVIDIA DeepStream SDK API Reference

8.0 Release
deepstream::AnalyticsObjInfo Class Reference

Detailed Description

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

Inheritance diagram for deepstream::AnalyticsObjInfo:
Collaboration diagram for deepstream::AnalyticsObjInfo:

Public Types

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

Public Member Functions

 AnalyticsObjInfo (void *data=nullptr)
 Constructor for AnalyticsObjInfo. More...
 
 AnalyticsObjInfo (const UserMetadata &user_meta)
 Copy constructor for AnalyticsObjInfo. More...
 
virtual ~AnalyticsObjInfo ()
 Destructor for AnalyticsObjInfo. More...
 
std::vector< std::string > getRoiStatus () const
 Get the ROI status. More...
 
std::vector< std::string > getOcStatus () const
 Get the overcrowding status. More...
 
std::vector< std::string > getLcStatus () const
 Get the line crossing status. More...
 
std::string getDirStatus () const
 Get the direction status. More...
 
unsigned int getUniqueId () const
 Get the unique identifier for this metadata. More...
 
std::string getObjStatus () const
 Get the object status. More...
 
 AnalyticsObjInfo (void *data=nullptr)
 Constructor for AnalyticsObjInfo. More...
 
 AnalyticsObjInfo (const UserMetadata &user_meta)
 Copy constructor for AnalyticsObjInfo. More...
 
virtual ~AnalyticsObjInfo ()
 Destructor for AnalyticsObjInfo. More...
 
std::vector< std::string > getRoiStatus () const
 Get the ROI status. More...
 
std::vector< std::string > getOcStatus () const
 Get the overcrowding status. More...
 
std::vector< std::string > getLcStatus () const
 Get the line crossing status. More...
 
std::string getDirStatus () const
 Get the direction status. More...
 
unsigned int getUniqueId () const
 Get the unique identifier for this metadata. More...
 
std::string getObjStatus () const
 Get the object status. 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

◆ AnalyticsObjInfo() [1/4]

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

Constructor for AnalyticsObjInfo.

Parameters
dataOptional pointer to data. Defaults to nullptr.

◆ AnalyticsObjInfo() [2/4]

deepstream::AnalyticsObjInfo::AnalyticsObjInfo ( const UserMetadata user_meta)

Copy constructor for AnalyticsObjInfo.

◆ ~AnalyticsObjInfo() [1/2]

virtual deepstream::AnalyticsObjInfo::~AnalyticsObjInfo ( )
virtual

Destructor for AnalyticsObjInfo.

◆ AnalyticsObjInfo() [3/4]

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

Constructor for AnalyticsObjInfo.

Parameters
dataOptional pointer to data. Defaults to nullptr.

◆ AnalyticsObjInfo() [4/4]

deepstream::AnalyticsObjInfo::AnalyticsObjInfo ( const UserMetadata user_meta)

Copy constructor for AnalyticsObjInfo.

◆ ~AnalyticsObjInfo() [2/2]

virtual deepstream::AnalyticsObjInfo::~AnalyticsObjInfo ( )
virtual

Destructor for AnalyticsObjInfo.

Member Function Documentation

◆ get_() [1/2]

◆ get_() [2/2]

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

◆ getDirStatus() [1/2]

std::string deepstream::AnalyticsObjInfo::getDirStatus ( ) const

Get the direction status.

◆ getDirStatus() [2/2]

std::string deepstream::AnalyticsObjInfo::getDirStatus ( ) const

Get the direction status.

◆ getLcStatus() [1/2]

std::vector<std::string> deepstream::AnalyticsObjInfo::getLcStatus ( ) const

Get the line crossing status.

◆ getLcStatus() [2/2]

std::vector<std::string> deepstream::AnalyticsObjInfo::getLcStatus ( ) const

Get the line crossing status.

◆ getObjStatus() [1/2]

std::string deepstream::AnalyticsObjInfo::getObjStatus ( ) const

Get the object status.

◆ getObjStatus() [2/2]

std::string deepstream::AnalyticsObjInfo::getObjStatus ( ) const

Get the object status.

◆ getOcStatus() [1/2]

std::vector<std::string> deepstream::AnalyticsObjInfo::getOcStatus ( ) const

Get the overcrowding status.

◆ getOcStatus() [2/2]

std::vector<std::string> deepstream::AnalyticsObjInfo::getOcStatus ( ) const

Get the overcrowding status.

◆ getRoiStatus() [1/2]

std::vector<std::string> deepstream::AnalyticsObjInfo::getRoiStatus ( ) const

Get the ROI status.

◆ getRoiStatus() [2/2]

std::vector<std::string> deepstream::AnalyticsObjInfo::getRoiStatus ( ) const

Get the ROI status.

◆ getUniqueId() [1/2]

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

Get the unique identifier for this metadata.

◆ getUniqueId() [2/2]

unsigned int deepstream::AnalyticsObjInfo::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: