Class for parsing of Spot CSV data.
Definition at line 80 of file nv_spot_csvparser.hpp.
◆ ~SpotCSVParser()
nvspot_csv::SpotCSVParser::~SpotCSVParser |
( |
| ) |
|
◆ SpotCSVParser()
nvspot_csv::SpotCSVParser::SpotCSVParser |
( |
string |
CSVFileName | ) |
|
◆ 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 |
| ) |
|
◆ printSpotCSVFields()
Print all the values in "val".
The documentation for this class was generated from the following file: