iCub-main
|
#include <serviceParser.h>
Public Member Functions | |
ServiceParser () | |
~ServiceParser () | |
bool | parseService (yarp::os::Searchable &config, servConfigMais_t &maisconfig) |
bool | parseService (yarp::os::Searchable &config, servConfigStrain_t &strainconfig) |
bool | parseService (yarp::os::Searchable &config, servConfigFTsensor_t &ftconfig) |
bool | parseService (yarp::os::Searchable &config, servConfigImu_t &imuconfig) |
bool | parseService (yarp::os::Searchable &config, servConfigSkin_t &skinconfig) |
bool | parseService (yarp::os::Searchable &config, servConfigPSC_t &pscconfig) |
bool | parseService (yarp::os::Searchable &config, servConfigPOS_t &pscconfig) |
bool | parseService (yarp::os::Searchable &config, servConfigMC_t &mcconfig) |
bool | parseService2 (yarp::os::Searchable &config, servConfigMC_t &mcconfig) |
bool | convert (std::string const &fromstring, eOmc_actuator_t &toactuatortype, bool &formaterror) |
bool | convert (std::string const &fromstring, eOmc_position_t &toposition, bool &formaterror) |
bool | convert (std::string const &fromstring, eOmc_encoder_t &toencodertype, bool &formaterror) |
bool | parse_connector (const std::string &fromstring, eObrd_connector_t &toconnector, bool &formaterror) |
bool | parse_mais (std::string const &fromstring, eObrd_portmais_t &pmais, bool &formaterror) |
bool | parse_port_conn (std::string const &fromstring, eObrd_type_t const board, uint8_t &toport, bool &formaterror) |
bool | parse_port_mais (std::string const &fromstring, uint8_t &toport, bool &formaterror) |
bool | parse_actuator_port (std::string const &fromstring, eObrd_ethtype_t const ethboard, eOmc_actuator_t const type, eOmc_actuator_descriptor_t &todes, bool &formaterror) |
bool | parse_encoder_port (std::string const &fromstring, eObrd_ethtype_t const ethboard, eOmc_encoder_t type, uint8_t &toport, bool &formaterror) |
bool | parse_psc (std::string const &fromstring, eObrd_portpsc_t &ppsc, bool &formaterror) |
bool | parse_port_psc (std::string const &fromstring, uint8_t &toport, bool &formaterror) |
bool | parse_POS_port (std::string const &fromstring, eObrd_portpos_t &ppos, bool &formaterror) |
bool | parse_port_pos (std::string const &fromstring, uint8_t &toport, bool &formaterror) |
bool | parse_POS_connector (std::string const &fromstring, const eObrd_type_t brd, eObrd_connector_t &conn, bool &formaterror) |
bool | parse_POS_CALIB_rotation (std::string const &fromstring, eoas_pos_ROT_t &rot, bool &formaterror) |
bool | parse_POS_CALIB_type (std::string const &fromstring, eoas_pos_TYPE_t &type, bool &formaterror) |
bool | convert (std::string const &fromstring, eOmn_serv_type_t &toservicetype, bool &formaterror) |
bool | convert (std::string const &fromstring, eOmn_serv_diagn_mode_t &todiagnmode, bool &formaterror) |
bool | convert (std::string const &fromstring, eObrd_type_t &tobrdtype, bool &formaterror) |
bool | convert (std::string const &fromstring, eObrd_cantype_t &tobrdcantype, bool &formaterror) |
bool | convert (std::string const &fromstring, eObrd_ethtype_t &tobrdethtype, bool &formaterror) |
bool | convert (std::string const &fromstring, bool &tobool, bool &formaterror) |
bool | convert (const int number, uint8_t &tou8, bool &formaterror) |
bool | convert (const int number, uint16_t &tou16, bool &formaterror) |
bool | convert (std::string const &fromstring, eOas_sensor_t &tosensortype, bool &formaterror) |
bool | convert (std::string const &fromstring, std::string &str, bool &formaterror) |
bool | convert (std::string const &fromstring, const uint8_t strsize, char *str, bool &formaterror) |
bool | convert (std::string const &fromstring, eObrd_location_t &location, bool &formaterror) |
bool | convert (std::string const &fromstring, eOlocation_t &location, bool &formaterror) |
bool | convert (eObrd_location_t const &loc, char *str, int len) |
bool | convert (eOlocation_t const &loc, char *str, int len) |
bool | convert (eObrd_canlocation_t const &canloc, char *str, int len) |
bool | convert (eObrd_protocolversion_t const &prot, char *str, int len) |
bool | convert (eObrd_firmwareversion_t const &firm, char *str, int len) |
bool | convert (std::string const &fromstring, eOmc_pidoutputtype_t &pidoutputtype, bool &formaterror) |
bool | convert (std::string const &fromstring, eOmc_jsetconstraint_t &jsetconstraint, bool &formaterror) |
servMC_encoder_t * | getEncoderAtMotor (int index) |
servMC_encoder_t * | getEncoderAtJoint (int index) |
bool | parse_debugEmbBoardsNotConnected (yarp::os::Searchable &config, bool &embBoardsConnected) |
Public Attributes | |
servAScollector_t | as_service |
servASstrainSettings_t | as_strain_settings |
servSKcollector_t | sk_service |
eOmn_serv_config_data_sk_skin_t | tmp |
servMCcollector_t | mc_service |
Definition at line 281 of file serviceParser.h.
ServiceParser::ServiceParser | ( | ) |
Definition at line 51 of file serviceParser.cpp.
|
inline |
Definition at line 286 of file serviceParser.h.
bool ServiceParser::convert | ( | const int | number, |
uint16_t & | tou16, | ||
bool & | formaterror | ||
) |
Definition at line 329 of file serviceParser.cpp.
bool ServiceParser::convert | ( | const int | number, |
uint8_t & | tou8, | ||
bool & | formaterror | ||
) |
Definition at line 312 of file serviceParser.cpp.
bool ServiceParser::convert | ( | eObrd_canlocation_t const & | canloc, |
char * | str, | ||
int | len | ||
) |
Definition at line 621 of file serviceParser.cpp.
bool ServiceParser::convert | ( | eObrd_firmwareversion_t const & | firm, |
char * | str, | ||
int | len | ||
) |
Definition at line 640 of file serviceParser.cpp.
bool ServiceParser::convert | ( | eObrd_location_t const & | loc, |
char * | str, | ||
int | len | ||
) |
Definition at line 484 of file serviceParser.cpp.
bool ServiceParser::convert | ( | eObrd_protocolversion_t const & | prot, |
char * | str, | ||
int | len | ||
) |
Definition at line 652 of file serviceParser.cpp.
bool ServiceParser::convert | ( | eOlocation_t const & | loc, |
char * | str, | ||
int | len | ||
) |
Definition at line 586 of file serviceParser.cpp.
bool ServiceParser::convert | ( | std::string const & | fromstring, |
bool & | tobool, | ||
bool & | formaterror | ||
) |
Definition at line 272 of file serviceParser.cpp.
bool ServiceParser::convert | ( | std::string const & | fromstring, |
const uint8_t | strsize, | ||
char * | str, | ||
bool & | formaterror | ||
) |
Definition at line 348 of file serviceParser.cpp.
bool ServiceParser::convert | ( | std::string const & | fromstring, |
eOas_sensor_t & | tosensortype, | ||
bool & | formaterror | ||
) |
Definition at line 122 of file serviceParser.cpp.
bool ServiceParser::convert | ( | std::string const & | fromstring, |
eObrd_cantype_t & | tobrdcantype, | ||
bool & | formaterror | ||
) |
Definition at line 209 of file serviceParser.cpp.
bool ServiceParser::convert | ( | std::string const & | fromstring, |
eObrd_ethtype_t & | tobrdethtype, | ||
bool & | formaterror | ||
) |
Definition at line 240 of file serviceParser.cpp.
bool ServiceParser::convert | ( | std::string const & | fromstring, |
eObrd_location_t & | location, | ||
bool & | formaterror | ||
) |
Definition at line 394 of file serviceParser.cpp.
bool ServiceParser::convert | ( | std::string const & | fromstring, |
eObrd_type_t & | tobrdtype, | ||
bool & | formaterror | ||
) |
Definition at line 139 of file serviceParser.cpp.
bool ServiceParser::convert | ( | std::string const & | fromstring, |
eOlocation_t & | location, | ||
bool & | formaterror | ||
) |
Definition at line 511 of file serviceParser.cpp.
bool ServiceParser::convert | ( | std::string const & | fromstring, |
eOmc_actuator_t & | toactuatortype, | ||
bool & | formaterror | ||
) |
bool ServiceParser::convert | ( | std::string const & | fromstring, |
eOmc_encoder_t & | toencodertype, | ||
bool & | formaterror | ||
) |
bool ServiceParser::convert | ( | std::string const & | fromstring, |
eOmc_jsetconstraint_t & | jsetconstraint, | ||
bool & | formaterror | ||
) |
Definition at line 186 of file serviceParser.cpp.
bool ServiceParser::convert | ( | std::string const & | fromstring, |
eOmc_pidoutputtype_t & | pidoutputtype, | ||
bool & | formaterror | ||
) |
Definition at line 163 of file serviceParser.cpp.
bool ServiceParser::convert | ( | std::string const & | fromstring, |
eOmc_position_t & | toposition, | ||
bool & | formaterror | ||
) |
bool ServiceParser::convert | ( | std::string const & | fromstring, |
eOmn_serv_diagn_mode_t & | todiagnmode, | ||
bool & | formaterror | ||
) |
Definition at line 82 of file serviceParser.cpp.
bool ServiceParser::convert | ( | std::string const & | fromstring, |
eOmn_serv_type_t & | toservicetype, | ||
bool & | formaterror | ||
) |
Definition at line 65 of file serviceParser.cpp.
bool ServiceParser::convert | ( | std::string const & | fromstring, |
std::string & | str, | ||
bool & | formaterror | ||
) |
Definition at line 374 of file serviceParser.cpp.
servMC_encoder_t * ServiceParser::getEncoderAtJoint | ( | int | index | ) |
servMC_encoder_t * ServiceParser::getEncoderAtMotor | ( | int | index | ) |
bool ServiceParser::parse_actuator_port | ( | std::string const & | fromstring, |
eObrd_ethtype_t const | ethboard, | ||
eOmc_actuator_t const | type, | ||
eOmc_actuator_descriptor_t & | todes, | ||
bool & | formaterror | ||
) |
bool ServiceParser::parse_connector | ( | const std::string & | fromstring, |
eObrd_connector_t & | toconnector, | ||
bool & | formaterror | ||
) |
bool ServiceParser::parse_debugEmbBoardsNotConnected | ( | yarp::os::Searchable & | config, |
bool & | embBoardsConnected | ||
) |
bool ServiceParser::parse_encoder_port | ( | std::string const & | fromstring, |
eObrd_ethtype_t const | ethboard, | ||
eOmc_encoder_t | type, | ||
uint8_t & | toport, | ||
bool & | formaterror | ||
) |
bool ServiceParser::parse_mais | ( | std::string const & | fromstring, |
eObrd_portmais_t & | pmais, | ||
bool & | formaterror | ||
) |
bool ServiceParser::parse_port_conn | ( | std::string const & | fromstring, |
eObrd_type_t const | board, | ||
uint8_t & | toport, | ||
bool & | formaterror | ||
) |
bool ServiceParser::parse_port_mais | ( | std::string const & | fromstring, |
uint8_t & | toport, | ||
bool & | formaterror | ||
) |
bool ServiceParser::parse_port_pos | ( | std::string const & | fromstring, |
uint8_t & | toport, | ||
bool & | formaterror | ||
) |
bool ServiceParser::parse_port_psc | ( | std::string const & | fromstring, |
uint8_t & | toport, | ||
bool & | formaterror | ||
) |
bool ServiceParser::parse_POS_CALIB_rotation | ( | std::string const & | fromstring, |
eoas_pos_ROT_t & | rot, | ||
bool & | formaterror | ||
) |
bool ServiceParser::parse_POS_CALIB_type | ( | std::string const & | fromstring, |
eoas_pos_TYPE_t & | type, | ||
bool & | formaterror | ||
) |
bool ServiceParser::parse_POS_connector | ( | std::string const & | fromstring, |
const eObrd_type_t | brd, | ||
eObrd_connector_t & | conn, | ||
bool & | formaterror | ||
) |
bool ServiceParser::parse_POS_port | ( | std::string const & | fromstring, |
eObrd_portpos_t & | ppos, | ||
bool & | formaterror | ||
) |
bool ServiceParser::parse_psc | ( | std::string const & | fromstring, |
eObrd_portpsc_t & | ppsc, | ||
bool & | formaterror | ||
) |
bool ServiceParser::parseService | ( | yarp::os::Searchable & | config, |
servConfigFTsensor_t & | ftconfig | ||
) |
bool ServiceParser::parseService | ( | yarp::os::Searchable & | config, |
servConfigImu_t & | imuconfig | ||
) |
bool ServiceParser::parseService | ( | yarp::os::Searchable & | config, |
servConfigMais_t & | maisconfig | ||
) |
bool ServiceParser::parseService | ( | yarp::os::Searchable & | config, |
servConfigMC_t & | mcconfig | ||
) |
bool ServiceParser::parseService | ( | yarp::os::Searchable & | config, |
servConfigPOS_t & | pscconfig | ||
) |
bool ServiceParser::parseService | ( | yarp::os::Searchable & | config, |
servConfigPSC_t & | pscconfig | ||
) |
bool ServiceParser::parseService | ( | yarp::os::Searchable & | config, |
servConfigSkin_t & | skinconfig | ||
) |
bool ServiceParser::parseService | ( | yarp::os::Searchable & | config, |
servConfigStrain_t & | strainconfig | ||
) |
bool ServiceParser::parseService2 | ( | yarp::os::Searchable & | config, |
servConfigMC_t & | mcconfig | ||
) |
servAScollector_t ServiceParser::as_service |
Definition at line 356 of file serviceParser.h.
servASstrainSettings_t ServiceParser::as_strain_settings |
Definition at line 357 of file serviceParser.h.
servMCcollector_t ServiceParser::mc_service |
Definition at line 363 of file serviceParser.h.
servSKcollector_t ServiceParser::sk_service |
Definition at line 359 of file serviceParser.h.
eOmn_serv_config_data_sk_skin_t ServiceParser::tmp |
Definition at line 360 of file serviceParser.h.