6#ifndef YARP_DEV_BATTERYCLIENT_BATTERYCLIENT_H
7#define YARP_DEV_BATTERYCLIENT_BATTERYCLIENT_H
25#define DEFAULT_THREAD_PERIOD 20
29 const int BATTERY_TIMEOUT=100;
92 bool close()
override;
define control board standard interfaces
contains the definition of a Vector type
This class is the parameters parser for class Battery_nwc_yarp.
Battery_nwc_yarp: The client side of any IBattery capable device.
bool close() override
Close the DeviceDriver.
yarp::dev::ReturnValue getBatteryVoltage(double &voltage) override
Get the instantaneous voltage measurement.
yarp::os::Stamp getLastInputStamp() override
Get the time stamp for the last read data.
IBatteryMsgs m_battery_RPC
Battery_InputPortProcessor inputPort
yarp::dev::ReturnValue getBatteryCharge(double &charge) override
get the battery status of charge
yarp::dev::ReturnValue getBatteryStatus(yarp::dev::IBattery::Battery_status &status) override
get the battery status
yarp::dev::ReturnValue getBatteryTemperature(double &temperature) override
get the battery temperature
yarp::dev::ReturnValue getBatteryInfo(std::string &battery_info) override
get the battery hardware characteristics (e.g.
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
yarp::dev::ReturnValue getBatteryCurrent(double ¤t) override
Get the instantaneous current measurement.
Interface implemented by all device drivers.
A generic battery interface.
A mini-server for performing network communication in the background.
BufferedPort()
Constructor.
A mini-server for network communication.
A base class for nested structures that can be searched.
An abstraction for a time stamp and/or sequence number.