YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
FakeBatteryService Class Reference

#include <fake/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 setBatteryStatus (const yarp::dev::IBattery::Battery_status status)
 
virtual void setBatteryInfo (const std::string &info)
 
virtual void setBatteryTemperature (const double temperature)
 
virtual double getBatteryVoltage ()
 
virtual double getBatteryCurrent ()
 
virtual double getBatteryCharge ()
 
virtual yarp::dev::IBattery::Battery_status getBatteryStatus ()
 
virtual std::string getBatteryStatusString ()
 
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.
 
- Public Member Functions inherited from yarp::os::Wire
yarp::os::WireLinkyarp ()
 Get YARP state associated with this object.
 
const yarp::os::WireLinkyarp () const
 Get YARP state associated with this object (const version).
 
- Public Member Functions inherited from yarp::os::PortReader
virtual ~PortReader ()
 Destructor.
 
virtual Type getReadType () const
 

Detailed Description

Definition at line 18 of file FakeBatteryService.h.

Constructor & Destructor Documentation

◆ FakeBatteryService()

FakeBatteryService::FakeBatteryService ( )

Definition at line 2565 of file FakeBatteryService.cpp.

Member Function Documentation

◆ getBatteryCharge()

double FakeBatteryService::getBatteryCharge ( )
virtual

Reimplemented in FakeBattery.

Definition at line 2644 of file FakeBatteryService.cpp.

◆ getBatteryCurrent()

double FakeBatteryService::getBatteryCurrent ( )
virtual

Reimplemented in FakeBattery.

Definition at line 2634 of file FakeBatteryService.cpp.

◆ getBatteryInfo()

std::string FakeBatteryService::getBatteryInfo ( )
virtual

Reimplemented in FakeBattery.

Definition at line 2674 of file FakeBatteryService.cpp.

◆ getBatteryStatus()

yarp::dev::IBattery::Battery_status FakeBatteryService::getBatteryStatus ( )
virtual

Reimplemented in FakeBattery.

Definition at line 2654 of file FakeBatteryService.cpp.

◆ getBatteryStatusString()

std::string FakeBatteryService::getBatteryStatusString ( )
virtual

Reimplemented in FakeBattery.

Definition at line 2664 of file FakeBatteryService.cpp.

◆ getBatteryTemperature()

double FakeBatteryService::getBatteryTemperature ( )
virtual

Reimplemented in FakeBattery.

Definition at line 2684 of file FakeBatteryService.cpp.

◆ getBatteryVoltage()

double FakeBatteryService::getBatteryVoltage ( )
virtual

Reimplemented in FakeBattery.

Definition at line 2624 of file FakeBatteryService.cpp.

◆ help()

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

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

◆ setBatteryCharge()

void FakeBatteryService::setBatteryCharge ( const double  charge)
virtual

Reimplemented in FakeBattery.

Definition at line 2588 of file FakeBatteryService.cpp.

◆ setBatteryCurrent()

void FakeBatteryService::setBatteryCurrent ( const double  current)
virtual

Reimplemented in FakeBattery.

Definition at line 2579 of file FakeBatteryService.cpp.

◆ setBatteryInfo()

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

Reimplemented in FakeBattery.

Definition at line 2606 of file FakeBatteryService.cpp.

◆ setBatteryStatus()

void FakeBatteryService::setBatteryStatus ( const yarp::dev::IBattery::Battery_status  status)
virtual

Reimplemented in FakeBattery.

Definition at line 2597 of file FakeBatteryService.cpp.

◆ setBatteryTemperature()

void FakeBatteryService::setBatteryTemperature ( const double  temperature)
virtual

Reimplemented in FakeBattery.

Definition at line 2615 of file FakeBatteryService.cpp.

◆ setBatteryVoltage()

void FakeBatteryService::setBatteryVoltage ( const double  voltage)
virtual

Reimplemented in FakeBattery.

Definition at line 2570 of file FakeBatteryService.cpp.


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