11 #ifndef YARP_THRIFT_GENERATOR_STRUCT_RAWVALUESDATAVECTORSMAP_H
12 #define YARP_THRIFT_GENERATOR_STRUCT_RAWVALUESDATAVECTORSMAP_H
14 #include <yarp/os/Wire.h>
15 #include <yarp/os/idl/WireTypes.h>
24 public yarp::os::idl::WirePortable
32 std::map<std::string, std::vector<std::int32_t>>
vectorsMap{};
41 bool read(yarp::os::idl::WireReader& reader)
override;
44 bool read(yarp::os::ConnectionReader& connection)
override;
47 bool write(
const yarp::os::idl::WireWriter& writer)
const override;
50 bool write(yarp::os::ConnectionWriter& connection)
const override;
56 typedef yarp::os::idl::Unwrapped<rawValuesDataVectorsMap>
unwrapped;
60 bool read_vectorsMap(yarp::os::idl::WireReader& reader);
61 bool write_vectorsMap(
const yarp::os::idl::WireWriter& writer)
const;
62 bool nested_read_vectorsMap(yarp::os::idl::WireReader& reader);
63 bool nested_write_vectorsMap(
const yarp::os::idl::WireWriter& writer)
const;
rawValuesDataVectorsMap IDL struct of a map of vectors to store the raw value data sent by the device
bool write(const yarp::os::idl::WireWriter &writer) const override
std::string toString() const
bool read(yarp::os::idl::WireReader &reader) override
rawValuesDataVectorsMap()=default
std::map< std::string, std::vector< std::int32_t > > vectorsMap
contain a map of vectors of the raw data as <string, vector> the user wanna send from low to higher l...
yarp::os::idl::Unwrapped< rawValuesDataVectorsMap > unwrapped
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.