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...
 
const yarp::os::WireLinkyarp () const
 Get YARP state associated with this object (const version). More...
 
- Public Member Functions inherited from yarp::os::PortReader
virtual ~PortReader ()
 Destructor. More...
 
virtual Type getReadType () const
 

Detailed Description

Definition at line 17 of file FakeBatteryService.h.

Constructor & Destructor Documentation

◆ FakeBatteryService()

FakeBatteryService::FakeBatteryService ( )

Definition at line 459 of file FakeBatteryService.cpp.

Member Function Documentation

◆ getBatteryCharge()

double FakeBatteryService::getBatteryCharge ( )
virtual

Reimplemented in FakeBattery.

Definition at line 529 of file FakeBatteryService.cpp.

◆ getBatteryCurrent()

double FakeBatteryService::getBatteryCurrent ( )
virtual

Reimplemented in FakeBattery.

Definition at line 519 of file FakeBatteryService.cpp.

◆ getBatteryInfo()

std::string FakeBatteryService::getBatteryInfo ( )
virtual

Reimplemented in FakeBattery.

Definition at line 549 of file FakeBatteryService.cpp.

◆ getBatteryStatus()

std::string FakeBatteryService::getBatteryStatus ( )
virtual

Reimplemented in FakeBattery.

Definition at line 539 of file FakeBatteryService.cpp.

◆ getBatteryTemperature()

double FakeBatteryService::getBatteryTemperature ( )
virtual

Reimplemented in FakeBattery.

Definition at line 559 of file FakeBatteryService.cpp.

◆ getBatteryVoltage()

double FakeBatteryService::getBatteryVoltage ( )
virtual

Reimplemented in FakeBattery.

Definition at line 509 of file FakeBatteryService.cpp.

◆ help()

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

Definition at line 570 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 636 of file FakeBatteryService.cpp.

◆ setBatteryCharge()

void FakeBatteryService::setBatteryCharge ( const double  charge)
virtual

Reimplemented in FakeBattery.

Definition at line 482 of file FakeBatteryService.cpp.

◆ setBatteryCurrent()

void FakeBatteryService::setBatteryCurrent ( const double  current)
virtual

Reimplemented in FakeBattery.

Definition at line 473 of file FakeBatteryService.cpp.

◆ setBatteryInfo()

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

Reimplemented in FakeBattery.

Definition at line 491 of file FakeBatteryService.cpp.

◆ setBatteryTemperature()

void FakeBatteryService::setBatteryTemperature ( const double  temperature)
virtual

Reimplemented in FakeBattery.

Definition at line 500 of file FakeBatteryService.cpp.

◆ setBatteryVoltage()

void FakeBatteryService::setBatteryVoltage ( const double  voltage)
virtual

Reimplemented in FakeBattery.

Definition at line 464 of file FakeBatteryService.cpp.


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