User metadata for preprocess batch.
This user metadata object is associated with a preprocess batch structure
Definition at line 512 of file metadata.hpp.
Public Types | |
typedef std::unique_ptr< AbstractIterator< UserMetadata > > | Iterator |
Public Member Functions | |
PreprocessBatchUserMetadata (void *data=nullptr) | |
PreprocessBatchUserMetadata (const UserMetadata &) | |
virtual | ~PreprocessBatchUserMetadata () |
std::vector< unsigned int > | getTargetUniqueIds () const |
@Brief Get the target unique ids More... | |
std::vector< RoiMetadata > | getRois () const |
Get the roi list. More... | |
PreprocessTensorMetadata | getPreprocessTensorMetadata () const |
Get the preprocess tensor metadata. More... | |
bool | initPreprocessTensorMetadata (const std::string &name, unsigned int meta_id, unsigned int unique_id, Tensor *tensor) |
Initialize a preprocess tensor metadata. More... | |
virtual | operator bool () override |
operator to check if a metadata is void More... | |
Protected Member Functions | |
void | get_ (void *&) |
Protected Attributes | |
void * | data_ |
|
inherited |
Definition at line 103 of file metadata.hpp.
deepstream::PreprocessBatchUserMetadata::PreprocessBatchUserMetadata | ( | void * | data = nullptr | ) |
deepstream::PreprocessBatchUserMetadata::PreprocessBatchUserMetadata | ( | const UserMetadata & | ) |
|
virtual |
|
protectedinherited |
PreprocessTensorMetadata deepstream::PreprocessBatchUserMetadata::getPreprocessTensorMetadata | ( | ) | const |
Get the preprocess tensor metadata.
std::vector<RoiMetadata> deepstream::PreprocessBatchUserMetadata::getRois | ( | ) | const |
Get the roi list.
std::vector<unsigned int> deepstream::PreprocessBatchUserMetadata::getTargetUniqueIds | ( | ) | const |
@Brief Get the target unique ids
bool deepstream::PreprocessBatchUserMetadata::initPreprocessTensorMetadata | ( | const std::string & | name, |
unsigned int | meta_id, | ||
unsigned int | unique_id, | ||
Tensor * | tensor | ||
) |
Initialize a preprocess tensor metadata.
|
inlineoverridevirtualinherited |
operator to check if a metadata is void
Reimplemented from deepstream::Metadata.
Definition at line 116 of file metadata.hpp.
References deepstream::Metadata::data_.
|
protectedinherited |
Definition at line 54 of file metadata.hpp.
Referenced by deepstream::Metadata::operator bool(), and deepstream::UserMetadata::operator bool().