iCub-main
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ServiceParserCanBattery Class Reference

#include <serviceParserCanBattery.h>

+ Inheritance diagram for ServiceParserCanBattery:

Public Member Functions

 ServiceParserCanBattery ()
 
bool parse (const yarp::os::Searchable &config)
 
bool toEomn (eOmn_serv_config_data_as_battery_t &out) const
 
BatteryInfogetBatteryInfo ()
 

Protected Member Functions

virtual bool checkPropertyCanBoards (const Bottle &bPropertiesCanBoards)
 
virtual bool checkPropertySensors (const Bottle &property)
 
virtual bool checkSettings (const Bottle &settings)
 
virtual bool checkServiceType (const Bottle &service)
 
virtual eObrd_type_t checkBoardType (const std::string &boardType)
 

Protected Attributes

BatteryInfo batteryInfo_
 

Detailed Description

Definition at line 25 of file serviceParserCanBattery.h.

Constructor & Destructor Documentation

◆ ServiceParserCanBattery()

ServiceParserCanBattery::ServiceParserCanBattery ( )

Definition at line 13 of file serviceParserCanBattery.cpp.

Member Function Documentation

◆ checkBoardType()

eObrd_type_t ServiceParserCanBattery::checkBoardType ( const std::string &  boardType)
protectedvirtual

Definition at line 333 of file serviceParserCanBattery.cpp.

◆ checkPropertyCanBoards()

bool ServiceParserCanBattery::checkPropertyCanBoards ( const Bottle &  bPropertiesCanBoards)
protectedvirtual

Definition at line 17 of file serviceParserCanBattery.cpp.

◆ checkPropertySensors()

bool ServiceParserCanBattery::checkPropertySensors ( const Bottle &  property)
protectedvirtual

Definition at line 137 of file serviceParserCanBattery.cpp.

◆ checkServiceType()

bool ServiceParserCanBattery::checkServiceType ( const Bottle &  service)
protectedvirtual

Definition at line 264 of file serviceParserCanBattery.cpp.

◆ checkSettings()

bool ServiceParserCanBattery::checkSettings ( const Bottle &  settings)
protectedvirtual

Definition at line 219 of file serviceParserCanBattery.cpp.

◆ getBatteryInfo()

BatteryInfo & ServiceParserCanBattery::getBatteryInfo ( )

Definition at line 328 of file serviceParserCanBattery.cpp.

◆ parse()

bool ServiceParserCanBattery::parse ( const yarp::os::Searchable &  config)

Definition at line 282 of file serviceParserCanBattery.cpp.

◆ toEomn()

bool ServiceParserCanBattery::toEomn ( eOmn_serv_config_data_as_battery_t &  out) const

Definition at line 313 of file serviceParserCanBattery.cpp.

Member Data Documentation

◆ batteryInfo_

BatteryInfo ServiceParserCanBattery::batteryInfo_
protected

Definition at line 40 of file serviceParserCanBattery.h.


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