|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
14 #ifndef YARP_THRIFT_GENERATOR_STRUCT_SENSORMEASUREMENT_H
15 #define YARP_THRIFT_GENERATOR_STRUCT_SENSORMEASUREMENT_H
86 #ifndef YARP_NO_DEPRECATED // Since YARP 3.2
92 #endif // YARP_NO_DEPRECATED
97 #ifndef YARP_NO_DEPRECATED // Since YARP 3.2
103 #endif // YARP_NO_DEPRECATED
134 bool is_dirty_measurement;
135 bool is_dirty_timestamp;
145 void mark_dirty_measurement();
146 void mark_dirty_timestamp();
149 void dirty_flags(
bool flag);
166 #endif // YARP_THRIFT_GENERATOR_STRUCT_SENSORMEASUREMENT_H
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool write(const yarp::os::idl::WireWriter &writer) const override
contains the definition of a Vector type
yarp::sig::Vector measurement
bool edit(SensorMeasurement &obj, bool dirty=true)
Editor(const Editor &rhs)=delete
Interface implemented by all objects that can write themselves to the network, such as Bottle objects...
double get_timestamp() const
Editor & operator=(Editor &&rhs)=delete
void set_measurement(const yarp::sig::Vector &measurement)
bool read(yarp::os::idl::WireReader &reader) override
IDL-friendly connection writer.
yarp::os::idl::Unwrapped< SensorMeasurement > unwrapped
Editor & operator=(const Editor &rhs)=delete
An interface for writing to a network connection.
Editor(Editor &&rhs)=delete
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
virtual bool did_set_measurement()
A "tamed" Portable, that promises to serialize itself in an IDL-friendly way.
Base class for IDL client/server.
IDL-friendly connection reader.
An interface for reading from a network connection.
#define YARP_DEPRECATED_MSG(MSG)
Expands to either the standard [[deprecated]] attribute or a compiler-specific decorator such as __at...
virtual bool will_set_measurement()
virtual bool will_set_timestamp()
std::string toString() const
virtual bool did_set_timestamp()
SensorMeasurement & state()
const yarp::sig::Vector & get_measurement() const
void set_timestamp(const double timestamp)