14 #ifndef YARP_THRIFT_GENERATOR_STRUCT_CALIBMATRIXREQ_H
15 #define YARP_THRIFT_GENERATOR_STRUCT_CALIBMATRIXREQ_H
17 #include <yarp/os/Wire.h>
18 #include <yarp/os/idl/WireTypes.h>
19 #include <yarp/sig/Matrix.h>
26 public yarp::os::idl::WirePortable
44 const yarp::sig::Matrix&
H);
47 bool read(yarp::os::idl::WireReader& reader)
override;
50 bool read(yarp::os::ConnectionReader& connection)
override;
53 bool write(
const yarp::os::idl::WireWriter& writer)
const override;
56 bool write(yarp::os::ConnectionWriter& connection)
const override;
59 std::string toString()
const;
62 typedef yarp::os::idl::Unwrapped<CalibMatrixReq> unwrapped;
65 public yarp::os::Wire,
66 public yarp::os::PortWriter
79 Editor(
const Editor& rhs) =
delete;
80 Editor(Editor&& rhs) =
delete;
81 Editor& operator=(
const Editor& rhs) =
delete;
82 Editor& operator=(Editor&& rhs) =
delete;
96 #ifndef YARP_NO_DEPRECATED
97 YARP_DEPRECATED_MSG(
"Use start_editing() instead")
107 #ifndef YARP_NO_DEPRECATED
108 YARP_DEPRECATED_MSG(
"Use stop_editing() instead")
116 void set_result(
const std::string&
result);
117 const std::string& get_result()
const;
118 virtual bool will_set_result();
119 virtual bool did_set_result();
122 void set_H(
const yarp::sig::Matrix&
H);
123 const yarp::sig::Matrix& get_H()
const;
124 virtual bool will_set_H();
125 virtual bool did_set_H();
131 bool read(yarp::os::ConnectionReader& connection)
override;
134 bool write(yarp::os::ConnectionWriter& connection)
const override;
144 bool is_dirty_result;
155 void mark_dirty_result();
159 void dirty_flags(
bool flag);
164 bool read_result(yarp::os::idl::WireReader& reader);
165 bool write_result(
const yarp::os::idl::WireWriter& writer)
const;
166 bool nested_read_result(yarp::os::idl::WireReader& reader);
167 bool nested_write_result(
const yarp::os::idl::WireWriter& writer)
const;
170 bool read_H(yarp::os::idl::WireReader& reader);
171 bool write_H(
const yarp::os::idl::WireWriter& writer)
const;
172 bool nested_read_H(yarp::os::idl::WireReader& reader);
173 bool nested_write_H(
const yarp::os::idl::WireWriter& writer)
const;
CalibMatrixReq IDL structure to ask for calibration matrix.
std::string result
contain [ok]/[fail] on success/failure.
yarp::sig::Matrix H
the calibration matrix.