15 const double min_stiffness,
16 const double max_stiffness,
17 const double min_damping,
18 const double max_damping) :
21 min_stiffness(min_stiffness),
22 max_stiffness(max_stiffness),
23 min_damping(min_damping),
24 max_damping(max_damping)
31 if (!nested_read_ret(reader)) {
34 if (!read_min_stiffness(reader)) {
37 if (!read_max_stiffness(reader)) {
40 if (!read_min_damping(reader)) {
43 if (!read_max_damping(reader)) {
68 if (!nested_write_ret(writer)) {
71 if (!write_min_stiffness(writer)) {
74 if (!write_max_stiffness(writer)) {
77 if (!write_min_damping(writer)) {
80 if (!write_max_damping(writer)) {
std::string toString() const
bool read(yarp::os::idl::WireReader &reader) override
return_getCurrentImpedanceLimit()=default
bool write(const yarp::os::idl::WireWriter &writer) const override
yarp::dev::ReturnValue ret
A simple collection of objects that can be described and transmitted in a portable way.
std::string toString() const override
Gives a human-readable textual representation of the bottle.
An interface for reading from a network connection.
An interface for writing to a network connection.
static bool copyPortable(const PortWriter &writer, PortReader &reader)
Copy one portable to another, via writing and reading.
IDL-friendly connection reader.
bool readNested(WirePortable &obj)
bool read(WirePortable &obj)
bool readFloat64(yarp::conf::float64_t &x)
IDL-friendly connection writer.
bool write(const WirePortable &obj) const
bool writeListHeader(int len) const
bool writeFloat64(yarp::conf::float64_t x, bool skip_tag=false) const
bool writeNested(const WirePortable &obj) const