|
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 | GetPubEndpoint () 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 std::optional< bool > | GetReplyOk (const std::string &name) const =0 |
| virtual std::optional< int > | GetReplyDelay (const std::string &name) const =0 |
| virtual std::optional< std::string > | GetReplyErrorMessage (const std::string &name) const =0 |
| virtual ReplyConfigData * | GetCmdReplyData (const std::string &name)=0 |
| virtual const unsigned int | GetCmdTout ()=0 |
| GetCmdTout. More... | |
| virtual const int | GetNumCommands ()=0 |
| 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... | |
| virtual void | SetReplyOk (const std::string &name, const bool &flag)=0 |
| virtual void | SetReplyDelay (const std::string &name, const int &delay)=0 |
| virtual void | SetReplyErrorMessage (const std::string &name, const std::string &msg)=0 |
|
pure virtual |
Implemented in sup::subsim::common::Config.
|
pure virtual |
|
pure virtual |
Get the actual configuration as a string.
Implemented in sup::subsim::common::Config.
|
pure virtual |
Implemented in sup::subsim::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::subsim::common::Config.
|
pure virtual |
Implemented in sup::subsim::common::Config.
|
pure virtual |
Implemented in sup::subsim::common::Config.
|
pure virtual |
Implemented in sup::subsim::common::Config.
|
pure virtual |
Implemented in sup::subsim::common::Config.
|
pure virtual |
Implemented in sup::subsim::common::Config.
|
pure virtual |
Implemented in sup::subsim::common::Config.
|
pure virtual |
Implemented in sup::subsim::common::Config.
|
pure virtual |
Implemented in sup::subsim::common::Config.
|
pure virtual |
Implemented in sup::subsim::common::Config.
|
pure virtual |
Implemented in sup::subsim::common::Config.
|
pure virtual |
Implemented in sup::subsim::common::Config.
|
pure virtual |
Implemented in sup::subsim::common::Config.
|
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::subsim::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::subsim::common::Config.
|
pure virtual |
Implemented in sup::subsim::common::Config.
|
pure virtual |
Implemented in sup::subsim::common::Config.
|
pure virtual |
Implemented in sup::subsim::common::Config.