Go to the documentation of this file.
20 #ifndef RTC_MANAGERCONFIG_H
21 #define RTC_MANAGERCONFIG_H
23 #include <coil/Properties.h>
209 void init(
int argc,
char** argv);
383 static bool fileExist(
const std::string& filename);
419 #endif // RTC_MANAGERCONFIG_H
static bool fileExist(const std::string &filename)
Check the file existence.
static void setSystemInformation(coil::Properties &prop)
Set system information.
void init(int argc, char **argv)
Initialization.
bool findConfigFile()
Find the configuration file.
static const char *const config_file_path[]
The default configuration file path for manager.
Definition: ManagerConfig.h:107
ManagerConfig()
Constructor.
bool m_isMaster
Manager master flag.
Definition: ManagerConfig.h:416
static const char * config_file_env
The environment variable to distinguish the default configuration file path.
Definition: ManagerConfig.h:119
Manager configuration class.
Definition: ManagerConfig.h:96
void configure(coil::Properties &prop)
Specify the configuration information to the Property.
virtual ~ManagerConfig()
Destructor.
coil::Properties Properties
Definition: RTC.h:72
coil::Properties m_argprop
configuration properties from arguments
Definition: ManagerConfig.h:392
std::string m_configFile
Manager's configuration file path.
Definition: ManagerConfig.h:401
coil::Properties getConfig() const
Get the configuration.
void parseArgs(int argc, char **argv)
Parse the command arguments.