20 #ifndef RTC_MANAGERCONFIG_H 21 #define RTC_MANAGERCONFIG_H 23 #include <coil/Properties.h> 195 void init(
int argc,
char** argv);
367 bool fileExist(
const std::string& filename);
403 #endif // RTC_MANAGERCONFIG_H
std::string m_configFile
Manager's configuration file path.
virtual ~ManagerConfig(void)
Destructor.
bool fileExist(const std::string &filename)
Check the file existence.
coil::Properties getConfig() const
Get the configuration.
void configure(coil::Properties &prop)
Specify the configuration information to the Property.
void parseArgs(int argc, char **argv)
Parse the command arguments.
void init(int argc, char **argv)
Initialization.
prop
Organization::get_organization_property ();.
Class represents a set of properties.
static const char * config_file_path[]
The default configuration file path for manager.
ManagerConfig()
Constructor.
bool m_isMaster
Manager master flag.
static const char * config_file_env
The environment variable to distinguish the default configuration file path.
coil::Properties m_argprop
configuration properties from arguments
bool findConfigFile()
Find the configuration file.
void setSystemInformation(coil::Properties &prop)
Set system information.