Provides access to the command line options and the configuration parameters stored in the configuration file.
More...
|
| | Config () |
| |
| virtual | ~Config () |
| |
| void | LoadConfig (const std::string &filename="", bool reset=false) |
| | See utils::bat::Config. More...
|
| |
| int16_t | GetNbOfProcThreads () |
| |
| std::string | GetProcThreadName (const uint16_t nb) |
| | Get the Processing Thread name from the number. More...
|
| |
| const std::vector< std::string > & | GetProcThreadNames () |
| | Get the Processing Thread names. More...
|
| |
| const PipelineInfo & | GetPipelineInfo (const std::string &proc_thread_name) |
| | Get pipeline (processing thread) info. More...
|
| |
| const std::map< std::string, RecipeInfo > & | GetRecipesForProcThread (const std::string &proc_thread_name) |
| | Get Recipes defined for a given Processing Trhead. More...
|
| |
| const std::map< std::string, PublisherInfo > & | GetPubsForProcThread (const std::string &proc_thread_name) |
| | Get the Processing Thread names. More...
|
| |
| const PublisherInfo & | GetPubInfo (const std::string &proc_thread_name, const std::string &pub_thread_name) |
| | Get the info about the Publisher from the Processing and Publisher Thread numbers. More...
|
| |
| | Config () |
| |
| | ~Config () |
| |
| bool | ParseOptions (int argc, char *argv[]) |
| | Parse command line options. More...
|
| |
| void | SetLogProperties (const std::string &filename) |
| | Set the log properties file. More...
|
| |
| void | LoadConfig (const std::string &filename="", bool reset=false) |
| | Load the configuration file. More...
|
| |
| elt::configng::CiiConfigInstanceNode & | GetNode (const std::vector< std::string > &names) |
| | Get the reference to a specific node in the CII Cfg Service namespace. More...
|
| |
| bool | HasNode (const std::vector< std::string > &names, elt::configng::CiiConfigInstanceNode &node) |
| | Probe if a given node is defined. If yes, return the reference to the node. More...
|
| |
| template<class TYPE > |
| bool | HasPar (const std::vector< std::string > &names, TYPE &value) |
| | Probe if a given key is defined. Set the value variable if found and return true. More...
|
| |
| bool | HasPar (const std::vector< std::string > &names) |
| | Probe if a given parameter is defined. Return true if found. More...
|
| |
| template<class TYPE > |
| TYPE | Get (const std::vector< std::string > &names) |
| | Get a parameter value from the configuration. More...
|
| |
| template<class TYPE > |
| void | Set (const std::vector< std::string > &names, TYPE &value) |
| | Set the value of a parameter in the CII Cfg Service namespace. More...
|
| |
| uint32_t | GetMaxFrameSize (const std::string &device="") |
| | Return the maximum frame size in bytes with the associated camera/configuration. More...
|
| |
| virtual uint32_t | GetMaxFrameSizeUser (const std::string &device="") |
| |
| const DeviceInfo & | GetDeviceInfo (const std::string &device="") const |
| | Return reference to Device Info structure. More...
|
| |
| void | GetDeviceProperties (std::map< std::string, DeviceProperty > &device_properties, const std::string &device="") const |
| | Get device properties. More...
|
| |
| template<class TYPE > |
| bool | HasDeviceProperty (const std::string &name, TYPE &value, const std::string &device="") |
| |
| const bpo::variables_map & | GetOptions () const |
| | Return map with command line options. More...
|
| |
| std::string | GetDeviceName (const std::string &device="") const |
| | Return name of a specific device. If "" is given the first (maybe only) device defined,. More...
|
| |
| | Base () |
| |
| | ~Base () |
| |
| const std::string & | GetClassName () const |
| | Return the allocated name of the class. More...
|
| |
| log4cplus::Logger & | Loggger () |
| | Return reference to logger used in this context. More...
|
| |
Provides access to the command line options and the configuration parameters stored in the configuration file.