11#ifndef YARP_THRIFT_GENERATOR_STRUCT_POINTREQ_H
12#define YARP_THRIFT_GENERATOR_STRUCT_POINTREQ_H
14#include <yarp/os/Wire.h>
15#include <yarp/os/idl/WireTypes.h>
22 public yarp::os::idl::WirePortable
53 bool read(yarp::os::idl::WireReader& reader)
override;
56 bool read(yarp::os::ConnectionReader& connection)
override;
59 bool write(
const yarp::os::idl::WireWriter& writer)
const override;
62 bool write(yarp::os::ConnectionWriter& connection)
const override;
68 typedef yarp::os::idl::Unwrapped<PointReq>
unwrapped;
71 public yarp::os::Wire,
72 public yarp::os::PortWriter
102#ifndef YARP_NO_DEPRECATED
103 YARP_DEPRECATED_MSG(
"Use start_editing() instead")
113#ifndef YARP_NO_DEPRECATED
114 YARP_DEPRECATED_MSG(
"Use stop_editing() instead")
149 bool read(yarp::os::ConnectionReader& connection)
override;
152 bool write(yarp::os::ConnectionWriter& connection)
const override;
162 bool is_dirty_result;
175 void mark_dirty_result();
181 void dirty_flags(
bool flag);
186 bool read_result(yarp::os::idl::WireReader& reader);
187 bool write_result(
const yarp::os::idl::WireWriter& writer)
const;
188 bool nested_read_result(yarp::os::idl::WireReader& reader);
189 bool nested_write_result(
const yarp::os::idl::WireWriter& writer)
const;
192 bool read_x(yarp::os::idl::WireReader& reader);
193 bool write_x(
const yarp::os::idl::WireWriter& writer)
const;
194 bool nested_read_x(yarp::os::idl::WireReader& reader);
195 bool nested_write_x(
const yarp::os::idl::WireWriter& writer)
const;
198 bool read_y(yarp::os::idl::WireReader& reader);
199 bool write_y(
const yarp::os::idl::WireWriter& writer)
const;
200 bool nested_read_y(yarp::os::idl::WireReader& reader);
201 bool nested_write_y(
const yarp::os::idl::WireWriter& writer)
const;
204 bool read_z(yarp::os::idl::WireReader& reader);
205 bool write_z(
const yarp::os::idl::WireWriter& writer)
const;
206 bool nested_read_z(yarp::os::idl::WireReader& reader);
207 bool nested_write_z(
const yarp::os::idl::WireWriter& writer)
const;
void set_y(const double y)
Editor & operator=(Editor &&rhs)=delete
virtual bool did_set_result()
const std::string & get_result() const
bool read(yarp::os::ConnectionReader &connection) override
bool write(yarp::os::ConnectionWriter &connection) const override
Editor(const Editor &rhs)=delete
void set_z(const double z)
virtual bool will_set_y()
virtual bool will_set_result()
void set_x(const double x)
virtual bool will_set_z()
Editor(Editor &&rhs)=delete
Editor & operator=(const Editor &rhs)=delete
void set_result(const std::string &result)
virtual bool will_set_x()
bool edit(PointReq &obj, bool dirty=true)
PointReq IDL structure to send/receive points.
double y
the y-coordinate.
bool read(yarp::os::ConnectionReader &connection) override
bool write(yarp::os::ConnectionWriter &connection) const override
PointReq(const std::string &result, const double x, const double y, const double z)
std::string toString() const
yarp::os::idl::Unwrapped< PointReq > unwrapped
bool read(yarp::os::idl::WireReader &reader) override
std::string result
contain [ok]/[fail] on success/failure.
double x
the x-coordinate.
bool write(const yarp::os::idl::WireWriter &writer) const override
double z
the z-coordinate.