LogService
libdadi: utility tools for distributed applications
|
Public Member Functions | |
ReadConfig (const char *configFilename, bool *success) | |
short | parse () |
unsigned int | getTracelevel () |
unsigned int | getPort () |
char * | getDynamicStartSuffix () |
char * | getDynamicStopSuffix () |
tag_list_t * | getDynamicTags () |
tag_list_t * | getStaticTags () |
tag_list_t * | getUniqueTags () |
tag_list_t * | getVolatileTags () |
tag_list_t * | getStateTags () |
tag_list_t * | getAllTags () |
tag_list_t* ReadConfig::getAllTags | ( | ) |
Get all the possible tags.
char* ReadConfig::getDynamicStartSuffix | ( | ) |
Get the dynamic start suffix, by default it's "START".
char* ReadConfig::getDynamicStopSuffix | ( | ) |
Get the dynamic stop suffix, by default it's "STOP".
tag_list_t* ReadConfig::getDynamicTags | ( | ) |
Get all dynamic system state tags. If a tag name is "TAG1" then a pair of tags is expected : TAG1_START and TAG1_STOP. START and STOP names are get from getDynamicStart-StopSuffix.
unsigned int ReadConfig::getPort | ( | ) |
Get the Port to use for CORBA communication.
tag_list_t* ReadConfig::getStateTags | ( | ) |
Get all the System state tags.
tag_list_t* ReadConfig::getStaticTags | ( | ) |
Get all static system state tags.
unsigned int ReadConfig::getTracelevel | ( | ) |
Get the tracelevel to use for CORBA communication.
tag_list_t* ReadConfig::getUniqueTags | ( | ) |
Get all unique system state tags. Only one information is keeped at a time. A new tag overwrite the previous.
tag_list_t* ReadConfig::getVolatileTags | ( | ) |
Get all other tags (volatile tags).
short ReadConfig::parse | ( | ) |
Parse the config file.