#include <SystemConfig.h>
Public Member Functions | |
std::string | getConfigPath () |
std::string | getLibPath () |
std::string | getLogPath () |
std::string | getRootPath () |
Configuration * | operator[] (const std::string s) |
Static Public Member Functions | |
static std::string | getHostname () |
static SystemConfigPtr | getInstance () |
static int | GetOwnRobotID () |
static std::string | robotNodeName (const std::string &nodeName) |
Protected Member Functions | |
SystemConfig () | |
Static Protected Attributes | |
static boost::filesystem::path | configPath |
static std::map< std::string, boost::shared_ptr < Configuration > > | configs |
static std::string | hostname |
static bool | initialized = false |
static SystemConfigPtr | instance |
static boost::filesystem::path | libPath |
static boost::filesystem::path | logPath |
static boost::mutex | mutex |
static const char | NODE_NAME_SEPERATOR = '_' |
static int | ownRobotID |
static boost::filesystem::path | rootPath |
Definition at line 34 of file SystemConfig.h.
castor::SystemConfig::SystemConfig | ( | ) | [inline, protected] |
Definition at line 38 of file SystemConfig.h.
std::string castor::SystemConfig::getConfigPath | ( | ) |
Definition at line 172 of file SystemConfig.cpp.
std::string castor::SystemConfig::getHostname | ( | ) | [static] |
Definition at line 176 of file SystemConfig.cpp.
SystemConfigPtr castor::SystemConfig::getInstance | ( | ) | [static] |
Definition at line 47 of file SystemConfig.cpp.
std::string castor::SystemConfig::getLibPath | ( | ) |
Definition at line 164 of file SystemConfig.cpp.
std::string castor::SystemConfig::getLogPath | ( | ) |
Definition at line 168 of file SystemConfig.cpp.
int castor::SystemConfig::GetOwnRobotID | ( | ) | [static] |
Definition at line 153 of file SystemConfig.cpp.
std::string castor::SystemConfig::getRootPath | ( | ) |
Definition at line 160 of file SystemConfig.cpp.
Configuration * castor::SystemConfig::operator[] | ( | const std::string | s | ) |
Definition at line 98 of file SystemConfig.cpp.
std::string castor::SystemConfig::robotNodeName | ( | const std::string & | nodeName | ) | [static] |
Definition at line 181 of file SystemConfig.cpp.
boost::filesystem::path castor::SystemConfig::configPath [static, protected] |
Definition at line 49 of file SystemConfig.h.
std::map< std::string, boost::shared_ptr< Configuration > > castor::SystemConfig::configs [static, protected] |
Definition at line 53 of file SystemConfig.h.
std::string castor::SystemConfig::hostname [static, protected] |
Definition at line 51 of file SystemConfig.h.
bool castor::SystemConfig::initialized = false [static, protected] |
Definition at line 40 of file SystemConfig.h.
SystemConfigPtr castor::SystemConfig::instance [static, protected] |
Definition at line 44 of file SystemConfig.h.
boost::filesystem::path castor::SystemConfig::libPath [static, protected] |
Definition at line 47 of file SystemConfig.h.
boost::filesystem::path castor::SystemConfig::logPath [static, protected] |
Definition at line 48 of file SystemConfig.h.
boost::mutex castor::SystemConfig::mutex [static, protected] |
Definition at line 42 of file SystemConfig.h.
const char castor::SystemConfig::NODE_NAME_SEPERATOR = '_' [static, protected] |
Definition at line 55 of file SystemConfig.h.
int castor::SystemConfig::ownRobotID [static, protected] |
Definition at line 56 of file SystemConfig.h.
boost::filesystem::path castor::SystemConfig::rootPath [static, protected] |
Definition at line 46 of file SystemConfig.h.