$search
#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 33 of file SystemConfig.h.
castor::SystemConfig::SystemConfig | ( | ) | [inline, protected] |
Definition at line 37 of file SystemConfig.h.
std::string castor::SystemConfig::getConfigPath | ( | ) |
Definition at line 169 of file SystemConfig.cpp.
std::string castor::SystemConfig::getHostname | ( | ) | [static] |
Definition at line 173 of file SystemConfig.cpp.
SystemConfigPtr castor::SystemConfig::getInstance | ( | ) | [static] |
Definition at line 44 of file SystemConfig.cpp.
std::string castor::SystemConfig::getLibPath | ( | ) |
Definition at line 161 of file SystemConfig.cpp.
std::string castor::SystemConfig::getLogPath | ( | ) |
Definition at line 165 of file SystemConfig.cpp.
int castor::SystemConfig::GetOwnRobotID | ( | ) | [static] |
Definition at line 150 of file SystemConfig.cpp.
std::string castor::SystemConfig::getRootPath | ( | ) |
Definition at line 157 of file SystemConfig.cpp.
Configuration * castor::SystemConfig::operator[] | ( | const std::string | s | ) |
Definition at line 95 of file SystemConfig.cpp.
std::string castor::SystemConfig::robotNodeName | ( | const std::string & | nodeName | ) | [static] |
Definition at line 178 of file SystemConfig.cpp.
boost::filesystem::path castor::SystemConfig::configPath [static, protected] |
Definition at line 48 of file SystemConfig.h.
std::map< std::string, boost::shared_ptr< Configuration > > castor::SystemConfig::configs [static, protected] |
Definition at line 52 of file SystemConfig.h.
std::string castor::SystemConfig::hostname [static, protected] |
Definition at line 50 of file SystemConfig.h.
bool castor::SystemConfig::initialized = false [static, protected] |
Definition at line 39 of file SystemConfig.h.
SystemConfigPtr castor::SystemConfig::instance [static, protected] |
Definition at line 43 of file SystemConfig.h.
boost::filesystem::path castor::SystemConfig::libPath [static, protected] |
Definition at line 46 of file SystemConfig.h.
boost::filesystem::path castor::SystemConfig::logPath [static, protected] |
Definition at line 47 of file SystemConfig.h.
boost::mutex castor::SystemConfig::mutex [static, protected] |
Definition at line 41 of file SystemConfig.h.
const char castor::SystemConfig::NODE_NAME_SEPERATOR = '_' [static, protected] |
Definition at line 54 of file SystemConfig.h.
int castor::SystemConfig::ownRobotID [static, protected] |
Definition at line 55 of file SystemConfig.h.
boost::filesystem::path castor::SystemConfig::rootPath [static, protected] |
Definition at line 45 of file SystemConfig.h.