Definition at line 56 of file service-maker/includes/source_config.hpp.
Public Member Functions | |
| SourceConfig (const std::string &config_file) | |
| Create a source config from a yaml config file. More... | |
| uint32_t | nSources () const |
| Get the number of the sources. More... | |
| uint32_t | nCameraSources () const |
| Get the number of the camera sources. More... | |
| std::string | listSensorIds () const |
| List sensor ids in a string, separated by ';'. More... | |
| std::string | listSensorNames () const |
| List sensor names in a string, separated by ';'. More... | |
| std::string | listUris () const |
| List sensor uris in a string, separated by ';'. More... | |
| SensorInfo | getSensorInfo (uint32_t index) const |
| Get sensor information for a specific source. More... | |
| CameraInfo | getCameraInfo (uint32_t index) const |
| Get information for a specific camera source. More... | |
| const YAML::Node & | getProperties () const |
| Get properties for setting the source bin(s) More... | |
| bool | useMultiUriSrcBin () const |
| If using the nvmultiurisrcbin. More... | |
| bool | useUriSrcBin () const |
| If using the nvurisrcbin. More... | |
| bool | useCameraBin () const |
| If using the nvv4l2srcbin. More... | |
| SourceConfig (const std::string &config_file) | |
| Create a source config from a yaml config file. More... | |
| uint32_t | nSources () const |
| Get the number of the sources. More... | |
| uint32_t | nCameraSources () const |
| Get the number of the camera sources. More... | |
| std::string | listSensorIds () const |
| List sensor ids in a string, separated by ';'. More... | |
| std::string | listSensorNames () const |
| List sensor names in a string, separated by ';'. More... | |
| std::string | listUris () const |
| List sensor uris in a string, separated by ';'. More... | |
| SensorInfo | getSensorInfo (uint32_t index) const |
| Get sensor information for a specific source. More... | |
| CameraInfo | getCameraInfo (uint32_t index) const |
| Get information for a specific camera source. More... | |
| const YAML::Node & | getProperties () const |
| Get properties for setting the source bin(s) More... | |
| bool | useMultiUriSrcBin () const |
| If using the nvmultiurisrcbin. More... | |
| bool | useUriSrcBin () const |
| If using the nvurisrcbin. More... | |
| bool | useCameraBin () const |
| If using the nvv4l2srcbin. More... | |
Protected Attributes | |
| std::vector< SensorInfo > | sensor_info_ |
| std::vector< CameraInfo > | camera_info_ |
| YAML::Node | properties_ |
| bool | use_nvmultiurisrcbin_ = false |
| bool | use_nvurisrcbin_ = false |
| bool | use_camerabin_ = false |
| deepstream::SourceConfig::SourceConfig | ( | const std::string & | config_file | ) |
Create a source config from a yaml config file.
| deepstream::SourceConfig::SourceConfig | ( | const std::string & | config_file | ) |
Create a source config from a yaml config file.
| CameraInfo deepstream::SourceConfig::getCameraInfo | ( | uint32_t | index | ) | const |
Get information for a specific camera source.
| CameraInfo deepstream::SourceConfig::getCameraInfo | ( | uint32_t | index | ) | const |
Get information for a specific camera source.
| const YAML::Node& deepstream::SourceConfig::getProperties | ( | ) | const |
Get properties for setting the source bin(s)
| const YAML::Node& deepstream::SourceConfig::getProperties | ( | ) | const |
Get properties for setting the source bin(s)
| SensorInfo deepstream::SourceConfig::getSensorInfo | ( | uint32_t | index | ) | const |
Get sensor information for a specific source.
| SensorInfo deepstream::SourceConfig::getSensorInfo | ( | uint32_t | index | ) | const |
Get sensor information for a specific source.
Referenced by deepstream::MsgMetaGenerator::handleData().
| std::string deepstream::SourceConfig::listSensorIds | ( | ) | const |
List sensor ids in a string, separated by ';'.
| std::string deepstream::SourceConfig::listSensorIds | ( | ) | const |
List sensor ids in a string, separated by ';'.
| std::string deepstream::SourceConfig::listSensorNames | ( | ) | const |
List sensor names in a string, separated by ';'.
| std::string deepstream::SourceConfig::listSensorNames | ( | ) | const |
List sensor names in a string, separated by ';'.
| std::string deepstream::SourceConfig::listUris | ( | ) | const |
List sensor uris in a string, separated by ';'.
| std::string deepstream::SourceConfig::listUris | ( | ) | const |
List sensor uris in a string, separated by ';'.
| uint32_t deepstream::SourceConfig::nCameraSources | ( | ) | const |
Get the number of the camera sources.
| uint32_t deepstream::SourceConfig::nCameraSources | ( | ) | const |
Get the number of the camera sources.
| uint32_t deepstream::SourceConfig::nSources | ( | ) | const |
Get the number of the sources.
| uint32_t deepstream::SourceConfig::nSources | ( | ) | const |
Get the number of the sources.
Referenced by deepstream::MsgMetaGenerator::handleData().
| bool deepstream::SourceConfig::useCameraBin | ( | ) | const |
If using the nvv4l2srcbin.
| bool deepstream::SourceConfig::useCameraBin | ( | ) | const |
If using the nvv4l2srcbin.
| bool deepstream::SourceConfig::useMultiUriSrcBin | ( | ) | const |
If using the nvmultiurisrcbin.
| bool deepstream::SourceConfig::useMultiUriSrcBin | ( | ) | const |
If using the nvmultiurisrcbin.
| bool deepstream::SourceConfig::useUriSrcBin | ( | ) | const |
If using the nvurisrcbin.
| bool deepstream::SourceConfig::useUriSrcBin | ( | ) | const |
If using the nvurisrcbin.
|
protected |
Definition at line 120 of file service-maker/includes/source_config.hpp.
|
protected |
Definition at line 121 of file service-maker/includes/source_config.hpp.
|
protected |
Definition at line 119 of file service-maker/includes/source_config.hpp.
|
protected |
Definition at line 124 of file service-maker/includes/source_config.hpp.
|
protected |
Definition at line 122 of file service-maker/includes/source_config.hpp.
|
protected |
Definition at line 123 of file service-maker/includes/source_config.hpp.