#include <iConfig.hpp>
The IConfig is the abstract Config class that descrive the behaviour of the Config class. It is the base class for any supervisor configuration class.
◆ GetConfigAsString()
virtual const std::string utils::bat::IConfig::GetConfigAsString |
( |
| ) |
const |
|
pure virtual |
◆ GetConfigFilename()
virtual const std::string utils::bat::IConfig::GetConfigFilename |
( |
| ) |
const |
|
pure virtual |
◆ GetDbConnTimeout()
virtual const unsigned int utils::bat::IConfig::GetDbConnTimeout |
( |
| ) |
const |
|
pure virtual |
- Returns
- The timeout used when communicating to the runtime DB.
Implemented in utils::bat::Config.
◆ GetDbTaskPeriod()
virtual const unsigned int utils::bat::IConfig::GetDbTaskPeriod |
( |
| ) |
const |
|
pure virtual |
◆ GetDbTimeout()
virtual const timeval utils::bat::IConfig::GetDbTimeout |
( |
| ) |
const |
|
pure virtual |
- Returns
- The timeout used when communicating to the runtime DB.
Implemented in utils::bat::Config.
◆ GetLogLevel()
virtual const std::string utils::bat::IConfig::GetLogLevel |
( |
| ) |
const |
|
pure virtual |
◆ GetLogProperties()
virtual const std::string utils::bat::IConfig::GetLogProperties |
( |
| ) |
const |
|
pure virtual |
◆ GetMonTout()
virtual const unsigned int utils::bat::IConfig::GetMonTout |
( |
| ) |
const |
|
pure virtual |
◆ GetMsgPubEndpoint()
virtual const std::string utils::bat::IConfig::GetMsgPubEndpoint |
( |
| ) |
const |
|
pure virtual |
- Returns
- The network endpoint to publish internally within this application.
Implemented in utils::bat::Config.
◆ GetMsgReplierEndpoint()
virtual const std::string utils::bat::IConfig::GetMsgReplierEndpoint |
( |
| ) |
const |
|
pure virtual |
- Returns
- The network endpoint to send request to this application.
Implemented in utils::bat::Config.
◆ GetReqTout()
virtual const unsigned int utils::bat::IConfig::GetReqTout |
( |
| ) |
const |
|
pure virtual |
◆ GetServerId()
virtual const std::string utils::bat::IConfig::GetServerId |
( |
| ) |
const |
|
pure virtual |
◆ GetSmScxmlFilename()
virtual const std::string utils::bat::IConfig::GetSmScxmlFilename |
( |
| ) |
const |
|
pure virtual |
- Returns
- The SCXML State Machine model filename used by the application.
Implemented in utils::bat::Config.
◆ LoadConfig()
virtual void utils::bat::IConfig::LoadConfig |
( |
const std::string & |
filename = "" , |
|
|
bool |
reset = false |
|
) |
| |
|
pure virtual |
This method load from a configuration file the application configuration overriding the initialization done in the constructor and the command line options.
- Parameters
-
[in] | filename | Application configuration filename. |
Implemented in utils::bat::Config.
◆ ParseOptions()
virtual bool utils::bat::IConfig::ParseOptions |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
|
pure virtual |
This method parses the command line parameters overriding the initialization done in the constructor.
- Parameters
-
[in] | argc | Number of command line options. |
[in] | argv | Pointer to the array of command line options. |
- Returns
- false if the help option has been invoked, true otherwise.
Implemented in utils::bat::Config.
◆ SetConfigAsString()
virtual void utils::bat::IConfig::SetConfigAsString |
( |
const std::string & |
config | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: