#include <BridgeConf.h>
Public Types | |
typedef std::map< std::string, DataTypeId > | LabelToDataTypeIdMap |
Public Member Functions | |
const char * | getControllerName () |
const char * | getOpenHRPNameServerIdentifier () |
const char * | getVirtualRobotRtcTypeName () |
bool | isReady () |
void | setupModules () |
~BridgeConf () | |
Static Public Member Functions | |
static BridgeConf * | initialize (int argc, char *argv[]) |
static BridgeConf * | instance () |
Public Attributes | |
PortInfoMap | inPortInfos |
LabelToDataTypeIdMap | labelToDataTypeIdMap |
ModuleInfoList | moduleInfoList |
PortInfoMap | outPortInfos |
PortConnectionList | portConnections |
TimeRateMap | timeRateMap |
Private Member Functions | |
void | addModuleInfo (const std::string &value) |
void | addPortConnection (const std::string &value) |
void | addTimeRateInfo (const std::string &value) |
BridgeConf (int argc, char *argv[]) | |
std::string | expandEnvironmentVariables (std::string str) |
std::vector< std::string > | extractParameters (const std::string &str, const char delimiter=':') |
void | initLabelToDataTypeMap () |
void | initOptionsDescription () |
void | parseCommandLineOptions (int argc, char *argv[]) |
void | parseOptions () |
void | setPortInfos (const char *optionLabel, PortInfoMap &portInfos) |
void | setPreLoadModuleInfo () |
Private Attributes | |
boost::program_options::options_description | commandLineOptions |
std::string | controllerName |
bool | isProcessingConfigFile |
bool | isReady_ |
std::string | nameServerIdentifier |
boost::program_options::options_description | options |
std::string | virtualRobotRtcTypeName |
boost::program_options::variables_map | vmap |
Definition at line 87 of file BridgeConf.h.
typedef std::map<std::string, DataTypeId> BridgeConf::LabelToDataTypeIdMap |
Definition at line 106 of file BridgeConf.h.
|
private |
Definition at line 52 of file BridgeConf.cpp.
BridgeConf::~BridgeConf | ( | ) |
Definition at line 65 of file BridgeConf.cpp.
Definition at line 320 of file BridgeConf.cpp.
Definition at line 283 of file BridgeConf.cpp.
Definition at line 341 of file BridgeConf.cpp.
|
private |
Definition at line 405 of file BridgeConf.cpp.
|
private |
Definition at line 383 of file BridgeConf.cpp.
const char * BridgeConf::getControllerName | ( | ) |
Definition at line 372 of file BridgeConf.cpp.
const char * BridgeConf::getOpenHRPNameServerIdentifier | ( | ) |
Definition at line 366 of file BridgeConf.cpp.
const char * BridgeConf::getVirtualRobotRtcTypeName | ( | ) |
Definition at line 378 of file BridgeConf.cpp.
|
static |
Definition at line 39 of file BridgeConf.cpp.
|
private |
Definition at line 117 of file BridgeConf.cpp.
|
private |
Definition at line 71 of file BridgeConf.cpp.
|
static |
Definition at line 46 of file BridgeConf.cpp.
|
inline |
Definition at line 98 of file BridgeConf.h.
Definition at line 143 of file BridgeConf.cpp.
|
private |
Definition at line 175 of file BridgeConf.cpp.
|
private |
Definition at line 224 of file BridgeConf.cpp.
|
private |
Definition at line 305 of file BridgeConf.cpp.
void BridgeConf::setupModules | ( | ) |
Definition at line 351 of file BridgeConf.cpp.
|
private |
Definition at line 122 of file BridgeConf.h.
|
private |
Definition at line 128 of file BridgeConf.h.
PortInfoMap BridgeConf::inPortInfos |
Definition at line 110 of file BridgeConf.h.
|
private |
Definition at line 125 of file BridgeConf.h.
|
private |
Definition at line 124 of file BridgeConf.h.
LabelToDataTypeIdMap BridgeConf::labelToDataTypeIdMap |
Definition at line 107 of file BridgeConf.h.
ModuleInfoList BridgeConf::moduleInfoList |
Definition at line 112 of file BridgeConf.h.
|
private |
Definition at line 129 of file BridgeConf.h.
|
private |
Definition at line 121 of file BridgeConf.h.
PortInfoMap BridgeConf::outPortInfos |
Definition at line 109 of file BridgeConf.h.
PortConnectionList BridgeConf::portConnections |
Definition at line 114 of file BridgeConf.h.
TimeRateMap BridgeConf::timeRateMap |
Definition at line 116 of file BridgeConf.h.
|
private |
Definition at line 127 of file BridgeConf.h.
|
private |
Definition at line 120 of file BridgeConf.h.