NVIDIA DeepStream SDK API Reference

8.0 Release
deepstream::PreprocessBatchUserMetadata Class Reference

Detailed Description

User metadata for preprocess batch.

This user metadata object is associated with a preprocess batch structure

Definition at line 512 of file metadata.hpp.

Inheritance diagram for deepstream::PreprocessBatchUserMetadata:
Collaboration diagram for deepstream::PreprocessBatchUserMetadata:

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< RoiMetadatagetRois () 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_
 

Member Typedef Documentation

◆ Iterator

Definition at line 103 of file metadata.hpp.

Constructor & Destructor Documentation

◆ PreprocessBatchUserMetadata() [1/2]

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

◆ PreprocessBatchUserMetadata() [2/2]

deepstream::PreprocessBatchUserMetadata::PreprocessBatchUserMetadata ( const UserMetadata )

◆ ~PreprocessBatchUserMetadata()

virtual deepstream::PreprocessBatchUserMetadata::~PreprocessBatchUserMetadata ( )
virtual

Member Function Documentation

◆ get_()

◆ getPreprocessTensorMetadata()

PreprocessTensorMetadata deepstream::PreprocessBatchUserMetadata::getPreprocessTensorMetadata ( ) const

Get the preprocess tensor metadata.

◆ getRois()

std::vector<RoiMetadata> deepstream::PreprocessBatchUserMetadata::getRois ( ) const

Get the roi list.

◆ getTargetUniqueIds()

std::vector<unsigned int> deepstream::PreprocessBatchUserMetadata::getTargetUniqueIds ( ) const

@Brief Get the target unique ids

◆ initPreprocessTensorMetadata()

bool deepstream::PreprocessBatchUserMetadata::initPreprocessTensorMetadata ( const std::string &  name,
unsigned int  meta_id,
unsigned int  unique_id,
Tensor tensor 
)

Initialize a preprocess tensor metadata.

◆ operator bool()

virtual deepstream::UserMetadata::operator bool ( )
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_.

Field Documentation

◆ data_

void* deepstream::Metadata::data_
protectedinherited

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