NVIDIA DeepStream SDK API Reference

6.4 Release
nvspot_csv::SpotCSVParser Class Reference

Detailed Description

Class for parsing of Spot CSV data.

Definition at line 80 of file nv_spot_csvparser.hpp.

Public Member Functions

 ~SpotCSVParser ()
 
int getNvSpotCSVFields (uint32_t cam_id, uint32_t surface_id, uint32_t spot_id, NvSpotCsvFields *fields)
 Get all the fields for a particular "cam_id", "surface_id" and "spot_id" in "fields". More...
 
uint32_t getNvSpotCSVMaxViews (uint32_t cam_id, vector< int > *array_surface_index)
 Function to get all the spot views for a "cam_id" in "array_surface_index"*. More...
 
void getNvSpotCSVData (std::vector< NvSpotCsvFields > &csvSpotData)
 Get all the parsed data in "csvSpotData". More...
 
void printNvSpotCSVData (void)
 Print all the data. More...
 
void printNvSpotCSVData (uint32_t cam_id, uint32_t surface_id, uint32_t spot_id)
 Print all the data for a particular "cam_id", "surface_id" and "spot_id". More...
 
void printSpotCSVFields (NvSpotCsvFields val)
 Print all the values in "val". More...
 
 SpotCSVParser (string CSVFileName)
 

Constructor & Destructor Documentation

◆ ~SpotCSVParser()

nvspot_csv::SpotCSVParser::~SpotCSVParser ( )

◆ SpotCSVParser()

nvspot_csv::SpotCSVParser::SpotCSVParser ( string  CSVFileName)

Member Function Documentation

◆ getNvSpotCSVData()

void nvspot_csv::SpotCSVParser::getNvSpotCSVData ( std::vector< NvSpotCsvFields > &  csvSpotData)

Get all the parsed data in "csvSpotData".

◆ getNvSpotCSVFields()

int nvspot_csv::SpotCSVParser::getNvSpotCSVFields ( uint32_t  cam_id,
uint32_t  surface_id,
uint32_t  spot_id,
NvSpotCsvFields fields 
)

Get all the fields for a particular "cam_id", "surface_id" and "spot_id" in "fields".

Returns
0 if successful. -1 if failed.

◆ getNvSpotCSVMaxViews()

uint32_t nvspot_csv::SpotCSVParser::getNvSpotCSVMaxViews ( uint32_t  cam_id,
vector< int > *  array_surface_index 
)

Function to get all the spot views for a "cam_id" in "array_surface_index"*.

Returns
Number of spot views

◆ printNvSpotCSVData() [1/2]

void nvspot_csv::SpotCSVParser::printNvSpotCSVData ( uint32_t  cam_id,
uint32_t  surface_id,
uint32_t  spot_id 
)

Print all the data for a particular "cam_id", "surface_id" and "spot_id".

◆ printNvSpotCSVData() [2/2]

void nvspot_csv::SpotCSVParser::printNvSpotCSVData ( void  )

Print all the data.

◆ printSpotCSVFields()

void nvspot_csv::SpotCSVParser::printSpotCSVFields ( NvSpotCsvFields  val)

Print all the values in "val".


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