#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 ifw::core::utils::bat::IConfig::GetConfigAsString |
( |
| ) |
const |
|
pure virtual |
◆ GetConfigFilename()
| virtual const std::string ifw::core::utils::bat::IConfig::GetConfigFilename |
( |
| ) |
const |
|
pure virtual |
◆ GetDbConnTimeout()
| virtual const unsigned int ifw::core::utils::bat::IConfig::GetDbConnTimeout |
( |
| ) |
const |
|
pure virtual |
◆ GetDbTaskPeriod()
| virtual const unsigned int ifw::core::utils::bat::IConfig::GetDbTaskPeriod |
( |
| ) |
const |
|
pure virtual |
◆ GetDbTimeout()
| virtual const timeval ifw::core::utils::bat::IConfig::GetDbTimeout |
( |
| ) |
const |
|
pure virtual |
◆ GetLogLevel()
| virtual const std::string ifw::core::utils::bat::IConfig::GetLogLevel |
( |
| ) |
const |
|
pure virtual |
◆ GetLogProperties()
| virtual const std::string ifw::core::utils::bat::IConfig::GetLogProperties |
( |
| ) |
const |
|
pure virtual |
◆ GetMonTout()
| virtual const unsigned int ifw::core::utils::bat::IConfig::GetMonTout |
( |
| ) |
const |
|
pure virtual |
◆ GetMsgPubEndpoint()
| virtual const std::string ifw::core::utils::bat::IConfig::GetMsgPubEndpoint |
( |
| ) |
const |
|
pure virtual |
◆ GetMsgReplierEndpoint()
| virtual const std::string ifw::core::utils::bat::IConfig::GetMsgReplierEndpoint |
( |
| ) |
const |
|
pure virtual |
◆ GetReqTout()
| virtual const unsigned int ifw::core::utils::bat::IConfig::GetReqTout |
( |
| ) |
const |
|
pure virtual |
◆ GetServerId()
| virtual const std::string ifw::core::utils::bat::IConfig::GetServerId |
( |
| ) |
const |
|
pure virtual |
◆ GetSmScxmlFilename()
| virtual const std::string ifw::core::utils::bat::IConfig::GetSmScxmlFilename |
( |
| ) |
const |
|
pure virtual |
◆ LoadConfig()
| virtual void ifw::core::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 ifw::core::utils::bat::Config.
◆ ParseOptions()
| virtual bool ifw::core::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 ifw::core::utils::bat::Config.
◆ SetConfigAsString()
| virtual void ifw::core::utils::bat::IConfig::SetConfigAsString |
( |
const std::string & | config | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: