YARP
Yet Another Robot Platform
FakeBatteryService Class Reference

#include <fakeBattery/idl_generated_code/FakeBatteryService.h>

+ Inheritance diagram for FakeBatteryService:

Public Member Functions

 FakeBatteryService ()
 
virtual void setBatteryVoltage (const double voltage)
 
virtual void setBatteryCurrent (const double current)
 
virtual void setBatteryCharge (const double charge)
 
virtual void setBatteryInfo (const std::string &info)
 
virtual void setBatteryTemperature (const double temperature)
 
virtual double getBatteryVoltage ()
 
virtual double getBatteryCurrent ()
 
virtual double getBatteryCharge ()
 
virtual std::string getBatteryStatus ()
 
virtual std::string getBatteryInfo ()
 
virtual double getBatteryTemperature ()
 
virtual std::vector< std::string > help (const std::string &functionName="--all")
 
bool read (yarp::os::ConnectionReader &connection) override
 Read this object from a network connection. More...
 
- Public Member Functions inherited from yarp::os::Wire
yarp::os::WireLinkyarp ()
 Get YARP state associated with this object. More...
 
- Public Member Functions inherited from yarp::os::PortReader
virtual ~PortReader ()
 Destructor. More...
 
virtual Type getReadType () const
 

Detailed Description

Definition at line 20 of file FakeBatteryService.h.

Constructor & Destructor Documentation

◆ FakeBatteryService()

FakeBatteryService::FakeBatteryService ( )

Definition at line 462 of file FakeBatteryService.cpp.

Member Function Documentation

◆ getBatteryCharge()

double FakeBatteryService::getBatteryCharge ( )
virtual

Reimplemented in FakeBattery.

Definition at line 532 of file FakeBatteryService.cpp.

◆ getBatteryCurrent()

double FakeBatteryService::getBatteryCurrent ( )
virtual

Reimplemented in FakeBattery.

Definition at line 522 of file FakeBatteryService.cpp.

◆ getBatteryInfo()

std::string FakeBatteryService::getBatteryInfo ( )
virtual

Reimplemented in FakeBattery.

Definition at line 552 of file FakeBatteryService.cpp.

◆ getBatteryStatus()

std::string FakeBatteryService::getBatteryStatus ( )
virtual

Reimplemented in FakeBattery.

Definition at line 542 of file FakeBatteryService.cpp.

◆ getBatteryTemperature()

double FakeBatteryService::getBatteryTemperature ( )
virtual

Reimplemented in FakeBattery.

Definition at line 562 of file FakeBatteryService.cpp.

◆ getBatteryVoltage()

double FakeBatteryService::getBatteryVoltage ( )
virtual

Reimplemented in FakeBattery.

Definition at line 512 of file FakeBatteryService.cpp.

◆ help()

std::vector< std::string > FakeBatteryService::help ( const std::string &  functionName = "--all")
virtual

Definition at line 573 of file FakeBatteryService.cpp.

◆ read()

bool FakeBatteryService::read ( yarp::os::ConnectionReader reader)
overridevirtual

Read this object from a network connection.

Override this for your particular class.

Parameters
readeran interface to the network connection for reading
Returns
true iff the object is successfully read

Implements yarp::os::PortReader.

Definition at line 639 of file FakeBatteryService.cpp.

◆ setBatteryCharge()

void FakeBatteryService::setBatteryCharge ( const double  charge)
virtual

Reimplemented in FakeBattery.

Definition at line 485 of file FakeBatteryService.cpp.

◆ setBatteryCurrent()

void FakeBatteryService::setBatteryCurrent ( const double  current)
virtual

Reimplemented in FakeBattery.

Definition at line 476 of file FakeBatteryService.cpp.

◆ setBatteryInfo()

void FakeBatteryService::setBatteryInfo ( const std::string &  info)
virtual

Reimplemented in FakeBattery.

Definition at line 494 of file FakeBatteryService.cpp.

◆ setBatteryTemperature()

void FakeBatteryService::setBatteryTemperature ( const double  temperature)
virtual

Reimplemented in FakeBattery.

Definition at line 503 of file FakeBatteryService.cpp.

◆ setBatteryVoltage()

void FakeBatteryService::setBatteryVoltage ( const double  voltage)
virtual

Reimplemented in FakeBattery.

Definition at line 467 of file FakeBatteryService.cpp.


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