|
ifw-sup
1.0.0
|
#include <iConfig.hpp>
Public Member Functions | |
| virtual bool | ParseOptions (int argc, char *argv[])=0 |
| virtual void | LoadConfig (const std::string &filename="")=0 |
| virtual const std::string | GetServerId () const =0 |
| virtual const std::string | GetMsgReplierEndpoint () const =0 |
| virtual const std::string | GetDbEndpoint () const =0 |
| virtual const std::string | GetMsgPubEndpoint () const =0 |
| virtual const timeval | GetDbTimeout () const =0 |
| virtual const std::string | GetSmScxmlFilename () const =0 |
| virtual const std::string | GetConfigFilename () const =0 |
| virtual const std::string | GetProcName () const =0 |
| virtual const std::string | GetLogLevel () const =0 |
| virtual const int | GetNumSubsystems ()=0 |
| GetNumSubsyss. More... | |
| virtual const std::string | GetSubsysName (const int &subsysIndex)=0 |
| GetSubsysName. More... | |
| virtual const std::string | GetSubsysType (const std::string &name)=0 |
| GetSubsysType. More... | |
| virtual std::optional< ScopeEnum > | GetSubsysScope (const std::string &name)=0 |
| GetSubsysScope. More... | |
| virtual bool | GetSubsysAccess (const std::string &name)=0 |
| GetSubsysAccess. More... | |
| virtual const unsigned int | GetWaitTout ()=0 |
| GetWaitTout. More... | |
| virtual const unsigned int | GetCmdTout ()=0 |
| GetCmdTout. More... | |
| virtual void | GetConfigList (std::vector< std::string > &cfg_list)=0 |
| Get configuration list. More... | |
| virtual const std::string | GetConfigAsString () const =0 |
| Get the actual configuration as a string. More... | |
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.
|
pure virtual |
|
pure virtual |
Get the actual configuration as a string.
Implemented in sup::syssup::common::Config.
|
pure virtual |
Implemented in sup::syssup::common::Config.
|
pure virtual |
Get configuration list.
| cfg_list | List of all configuration parameters. |
This method returs the complete of configuration parameters handled by this class. This method is used to dump the list into the DB.
Implemented in sup::syssup::common::Config.
|
pure virtual |
Implemented in sup::syssup::common::Config.
|
pure virtual |
Implemented in sup::syssup::common::Config.
|
pure virtual |
Implemented in sup::syssup::common::Config.
|
pure virtual |
Implemented in sup::syssup::common::Config.
|
pure virtual |
Implemented in sup::syssup::common::Config.
|
pure virtual |
|
pure virtual |
Implemented in sup::syssup::common::Config.
|
pure virtual |
Implemented in sup::syssup::common::Config.
|
pure virtual |
Implemented in sup::syssup::common::Config.
|
pure virtual |
|
pure virtual |
|
pure virtual |
GetSubsysScope.
| name | Name of the subsystem |
Implemented in sup::syssup::common::Config.
|
pure virtual |
|
pure virtual |
|
pure virtual |
This method load from a configuration file the application configuration overriding the initialization done in the constructor and the command line options.
| [in] | filename | Application configuration filename. |
Implemented in sup::syssup::common::Config.
|
pure virtual |
This method parses the command line parameters overriding the initialization done in the constructor.
| [in] | argc | Number of command line options. |
| [in] | argv | Pointer to the array of command line options. |
Implemented in sup::syssup::common::Config.