User metadata for event message.
Objects can be attached to the event message meta for triggering an event in "nvmsgconv" element.
Definition at line 242 of file service-maker/includes/metadata.hpp.


Public Types | |
| typedef std::unique_ptr< AbstractIterator< UserMetadata > > | Iterator |
| typedef std::unique_ptr< AbstractIterator< UserMetadata > > | Iterator |
Public Member Functions | |
| EventMessageUserMetadata (void *data=nullptr) | |
| virtual | ~EventMessageUserMetadata () |
| void | generate (const ObjectMetadata &, const FrameMetadata &, const std::string sensor="N/A", const std::string uri="N/A", const std::vector< std::string >labels=std::vector< std::string >()) |
| generate an event by attaching an object More... | |
| EventMessageUserMetadata (void *data=nullptr) | |
| virtual | ~EventMessageUserMetadata () |
| void | generate (const ObjectMetadata &, const FrameMetadata &, const std::string sensor="N/A", const std::string uri="N/A", const std::vector< std::string >labels=std::vector< std::string >()) |
| generate an event by attaching an object 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_ |
|
inherited |
Definition at line 103 of file service-maker/includes/metadata.hpp.
|
inherited |
Definition at line 103 of file 9.0/service-maker/includes/metadata.hpp.
| deepstream::EventMessageUserMetadata::EventMessageUserMetadata | ( | void * | data = nullptr | ) |
|
virtual |
| deepstream::EventMessageUserMetadata::EventMessageUserMetadata | ( | void * | data = nullptr | ) |
|
virtual |
| void deepstream::EventMessageUserMetadata::generate | ( | const ObjectMetadata & | , |
| const FrameMetadata & | , | ||
| const std::string | sensor = "N/A", |
||
| const std::string | uri = "N/A", |
||
| const std::vector< std::string > | labels = std::vector< std::string >() |
||
| ) |
generate an event by attaching an object
Referenced by deepstream::MsgMetaGenerator::handleData().
| void deepstream::EventMessageUserMetadata::generate | ( | const ObjectMetadata & | , |
| const FrameMetadata & | , | ||
| const std::string | sensor = "N/A", |
||
| const std::string | uri = "N/A", |
||
| const std::vector< std::string > | labels = std::vector< std::string >() |
||
| ) |
generate an event by attaching an object
|
protectedinherited |
|
protectedinherited |
|
inherited |
Get the meta type.
|
inherited |
Get the meta type.
|
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_.
|
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_.
|
inherited |
Set the meta type.
|
inherited |
Set the meta type.
|
inherited |
Set user data with copy and release functions.
| data | Pointer to user data |
| copy | Copy function for the user data (can be NULL) |
| release | Release function for the user data (can be NULL) |
|
inherited |
Set user data with copy and release functions.
| data | Pointer to user data |
| copy | Copy function for the user data (can be NULL) |
| release | Release function for the user data (can be NULL) |
|
inherited |
Get the user data pointer.
|
inherited |
Get the user data pointer.
|
protectedinherited |
Definition at line 54 of file service-maker/includes/metadata.hpp.
Referenced by deepstream::Metadata::operator bool(), and deepstream::UserMetadata::operator bool().