All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Attributes
castor::SystemConfig Class Reference

#include <SystemConfig.h>

List of all members.

Public Member Functions

std::string getConfigPath ()
std::string getLibPath ()
std::string getLogPath ()
std::string getRootPath ()
Configurationoperator[] (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

Detailed Description

Definition at line 34 of file SystemConfig.h.


Constructor & Destructor Documentation

castor::SystemConfig::SystemConfig ( ) [inline, protected]

Definition at line 38 of file SystemConfig.h.


Member Function Documentation

Definition at line 172 of file SystemConfig.cpp.

std::string castor::SystemConfig::getHostname ( ) [static]

Definition at line 176 of file SystemConfig.cpp.

Definition at line 47 of file SystemConfig.cpp.

Definition at line 164 of file SystemConfig.cpp.

Definition at line 168 of file SystemConfig.cpp.

Definition at line 153 of file SystemConfig.cpp.

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.


Member Data Documentation

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.

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Castor
Author(s): Carpe Noctem
autogenerated on Fri Nov 8 2013 11:05:41