79 template<
Field... field>
114 virtual
void result( const
CallbackData& data ) override;
115 virtual
void cleanup() override;
123 size_t m_elementSize{ 0u };
124 bool m_hasUnreadData{
false };
125 BinaryOutputBuffer m_output{};
133 ( this->
add( field ), ... );
141 OdometerOutputDistance();
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
Buffer used for sensor output of a wide range of output element types.
Common interface for sensor output data.
Odometer sensor output data where OdometerOutput::Field is used to define the data available.
static const char * getFieldName(Field field)
virtual const BinaryOutputBuffer & getData() override
virtual bool hasUnreadData(bool markAsRead=true) override
void build()
Add one or more fields, build a matching data structure.
std::vector< Field > FieldVector
static size_t sizeOf(Field field)
virtual size_t getElementSize() const override
"Element size" is the summed data size of the currently added fields.
OdometerOutput()=default
Default constructor.
@ DISTANCE_F64
1x 64-bit floating point odometer output distance.
OdometerOutput & add(Field field)
Add new field.
System node is a separate step/operation in an execution tree representing a sensor (or such) in a se...
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
The agxSensor namespace contains components to model real-time sensors connected to the physics of AG...