Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
BridgeConf Class Reference

#include <BridgeConf.h>

List of all members.

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 BridgeConfinitialize (int argc, char *argv[])
static BridgeConfinstance ()

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

Detailed Description

Definition at line 87 of file BridgeConf.h.


Member Typedef Documentation

typedef std::map<std::string, DataTypeId> BridgeConf::LabelToDataTypeIdMap

Definition at line 106 of file BridgeConf.h.


Constructor & Destructor Documentation

BridgeConf::BridgeConf ( int  argc,
char *  argv[] 
) [private]

Definition at line 52 of file BridgeConf.cpp.

Definition at line 65 of file BridgeConf.cpp.


Member Function Documentation

void BridgeConf::addModuleInfo ( const std::string &  value) [private]

Definition at line 320 of file BridgeConf.cpp.

void BridgeConf::addPortConnection ( const std::string &  value) [private]

Definition at line 283 of file BridgeConf.cpp.

void BridgeConf::addTimeRateInfo ( const std::string &  value) [private]

Definition at line 341 of file BridgeConf.cpp.

std::string BridgeConf::expandEnvironmentVariables ( std::string  str) [private]

Definition at line 405 of file BridgeConf.cpp.

std::vector< std::string > BridgeConf::extractParameters ( const std::string &  str,
const char  delimiter = ':' 
) [private]

Definition at line 383 of file BridgeConf.cpp.

Definition at line 372 of file BridgeConf.cpp.

Definition at line 366 of file BridgeConf.cpp.

Definition at line 378 of file BridgeConf.cpp.

BridgeConf * BridgeConf::initialize ( int  argc,
char *  argv[] 
) [static]

Definition at line 39 of file BridgeConf.cpp.

Definition at line 117 of file BridgeConf.cpp.

Definition at line 71 of file BridgeConf.cpp.

Definition at line 46 of file BridgeConf.cpp.

bool BridgeConf::isReady ( ) [inline]

Definition at line 98 of file BridgeConf.h.

void BridgeConf::parseCommandLineOptions ( int  argc,
char *  argv[] 
) [private]

Definition at line 143 of file BridgeConf.cpp.

Definition at line 175 of file BridgeConf.cpp.

void BridgeConf::setPortInfos ( const char *  optionLabel,
PortInfoMap portInfos 
) [private]

Definition at line 224 of file BridgeConf.cpp.

Definition at line 305 of file BridgeConf.cpp.

Definition at line 351 of file BridgeConf.cpp.


Member Data Documentation

boost::program_options::options_description BridgeConf::commandLineOptions [private]

Definition at line 122 of file BridgeConf.h.

std::string BridgeConf::controllerName [private]

Definition at line 128 of file BridgeConf.h.

Definition at line 110 of file BridgeConf.h.

Definition at line 125 of file BridgeConf.h.

bool BridgeConf::isReady_ [private]

Definition at line 124 of file BridgeConf.h.

Definition at line 107 of file BridgeConf.h.

Definition at line 112 of file BridgeConf.h.

std::string BridgeConf::nameServerIdentifier [private]

Definition at line 129 of file BridgeConf.h.

boost::program_options::options_description BridgeConf::options [private]

Definition at line 121 of file BridgeConf.h.

Definition at line 109 of file BridgeConf.h.

Definition at line 114 of file BridgeConf.h.

Definition at line 116 of file BridgeConf.h.

std::string BridgeConf::virtualRobotRtcTypeName [private]

Definition at line 127 of file BridgeConf.h.

boost::program_options::variables_map BridgeConf::vmap [private]

Definition at line 120 of file BridgeConf.h.


The documentation for this class was generated from the following files:


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sun Apr 2 2017 03:43:59