14 #ifndef YARP_THRIFT_GENERATOR_STRUCT_CALIBPOINTREQ_H
15 #define YARP_THRIFT_GENERATOR_STRUCT_CALIBPOINTREQ_H
17 #include <yarp/os/Wire.h>
18 #include <yarp/os/idl/WireTypes.h>
25 public yarp::os::idl::WirePortable
56 bool read(yarp::os::idl::WireReader& reader)
override;
59 bool read(yarp::os::ConnectionReader& connection)
override;
62 bool write(
const yarp::os::idl::WireWriter& writer)
const override;
65 bool write(yarp::os::ConnectionWriter& connection)
const override;
68 std::string toString()
const;
71 typedef yarp::os::idl::Unwrapped<CalibPointReq> unwrapped;
74 public yarp::os::Wire,
75 public yarp::os::PortWriter
88 Editor(
const Editor& rhs) =
delete;
89 Editor(Editor&& rhs) =
delete;
90 Editor& operator=(
const Editor& rhs) =
delete;
91 Editor& operator=(Editor&& rhs) =
delete;
103 void start_editing();
105 #ifndef YARP_NO_DEPRECATED
106 YARP_DEPRECATED_MSG(
"Use start_editing() instead")
116 #ifndef YARP_NO_DEPRECATED
117 YARP_DEPRECATED_MSG(
"Use stop_editing() instead")
125 void set_result(
const std::string&
result);
126 const std::string& get_result()
const;
127 virtual bool will_set_result();
128 virtual bool did_set_result();
131 void set_x(
const double x);
132 double get_x()
const;
133 virtual bool will_set_x();
134 virtual bool did_set_x();
137 void set_y(
const double y);
138 double get_y()
const;
139 virtual bool will_set_y();
140 virtual bool did_set_y();
143 void set_z(
const double z);
144 double get_z()
const;
145 virtual bool will_set_z();
146 virtual bool did_set_z();
152 bool read(yarp::os::ConnectionReader& connection)
override;
155 bool write(yarp::os::ConnectionWriter& connection)
const override;
165 bool is_dirty_result;
178 void mark_dirty_result();
184 void dirty_flags(
bool flag);
189 bool read_result(yarp::os::idl::WireReader& reader);
190 bool write_result(
const yarp::os::idl::WireWriter& writer)
const;
191 bool nested_read_result(yarp::os::idl::WireReader& reader);
192 bool nested_write_result(
const yarp::os::idl::WireWriter& writer)
const;
195 bool read_x(yarp::os::idl::WireReader& reader);
196 bool write_x(
const yarp::os::idl::WireWriter& writer)
const;
197 bool nested_read_x(yarp::os::idl::WireReader& reader);
198 bool nested_write_x(
const yarp::os::idl::WireWriter& writer)
const;
201 bool read_y(yarp::os::idl::WireReader& reader);
202 bool write_y(
const yarp::os::idl::WireWriter& writer)
const;
203 bool nested_read_y(yarp::os::idl::WireReader& reader);
204 bool nested_write_y(
const yarp::os::idl::WireWriter& writer)
const;
207 bool read_z(yarp::os::idl::WireReader& reader);
208 bool write_z(
const yarp::os::idl::WireWriter& writer)
const;
209 bool nested_read_z(yarp::os::idl::WireReader& reader);
210 bool nested_write_z(
const yarp::os::idl::WireWriter& writer)
const;
CalibPointReq IDL structure to send/receive points.
std::string result
contain [ok]/[fail] on success/failure.
double z
the z-coordinate.
double x
the x-coordinate.
double y
the y-coordinate.