6 #ifndef RAWVALUESPUBLISHER_NETWORKCLIENT_H
7 #define RAWVALUESPUBLISHER_NETWORKCLIENT_H
9 #include <yarp/os/BufferedPort.h>
10 #include <yarp/dev/DeviceDriver.h>
18 public yarp::os::BufferedPort<rawValuesDataVectorsMap>
24 using yarp::os::BufferedPort<rawValuesDataVectorsMap>::onRead;
29 public yarp::dev::DeviceDriver,
35 yarp::os::Port m_rpcPort;
41 bool open(yarp::os::Searchable& config)
override;
42 bool close()
override;
45 virtual bool getRawDataMap(
std::map<std::string, std::vector<std::int32_t>> &
map)
override;
46 virtual bool getRawData(std::string key, std::vector<std::int32_t> &
data)
override;
47 virtual bool getKeys(std::vector<std::string> &keys)
override;
48 virtual int getNumberOfKeys()
override;
This class is the parameters parser for class RawValuesPublisherClient.
rawValuesDataVectorsMap IDL struct of a map of vectors to store the raw value data sent by the device
yarp::sig::Vector & map(yarp::sig::Vector &v, double(op)(double))
Performs a unary operator inplace on each element of a vector.
This file contains the definition of unique IDs for the body parts and the skin parts of the robot.