YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
SensorStreamingData Class Reference

#include <messages/multipleAnalogSensorsMsgs/idl_generated_code/SensorStreamingData.h>

+ Inheritance diagram for SensorStreamingData:

Public Types

typedef yarp::os::idl::Unwrapped< SensorStreamingDataunwrapped
 

Public Member Functions

 SensorStreamingData ()=default
 
 SensorStreamingData (const SensorMeasurements &ThreeAxisGyroscopes, const SensorMeasurements &ThreeAxisLinearAccelerometers, const SensorMeasurements &ThreeAxisMagnetometers, const SensorMeasurements &OrientationSensors, const SensorMeasurements &TemperatureSensors, const SensorMeasurements &SixAxisForceTorqueSensors, const SensorMeasurements &ContactLoadCellArrays, const SensorMeasurements &EncoderArrays, const SensorMeasurements &SkinPatches, const SensorMeasurements &PositionSensors)
 
bool read (yarp::os::idl::WireReader &reader) override
 
bool read (yarp::os::ConnectionReader &connection) override
 Read this object from a network connection.
 
bool write (const yarp::os::idl::WireWriter &writer) const override
 
bool write (yarp::os::ConnectionWriter &connection) const override
 Write this object to a network connection.
 
std::string toString () const
 
- Public Member Functions inherited from yarp::os::idl::WirePortable
virtual bool readBare (yarp::os::ConnectionReader &reader)
 
virtual bool writeBare (yarp::os::ConnectionWriter &writer) const
 
virtual bool readBottle (yarp::os::ConnectionReader &reader)
 
virtual bool writeBottle (yarp::os::ConnectionWriter &writer) const
 
- Public Member Functions inherited from yarp::os::Portable
virtual Type getType () const
 
- Public Member Functions inherited from yarp::os::PortReader
virtual ~PortReader ()
 Destructor.
 
virtual Type getReadType () const
 
- Public Member Functions inherited from yarp::os::PortWriter
virtual ~PortWriter ()
 Destructor.
 
virtual void onCompletion () const
 This is called when the port has finished all writing operations.
 
virtual void onCommencement () const
 This is called when the port is about to begin writing operations.
 
virtual yarp::os::Type getWriteType () const
 

Public Attributes

SensorMeasurements ThreeAxisGyroscopes {}
 
SensorMeasurements ThreeAxisLinearAccelerometers {}
 
SensorMeasurements ThreeAxisMagnetometers {}
 
SensorMeasurements OrientationSensors {}
 
SensorMeasurements TemperatureSensors {}
 
SensorMeasurements SixAxisForceTorqueSensors {}
 
SensorMeasurements ContactLoadCellArrays {}
 
SensorMeasurements EncoderArrays {}
 
SensorMeasurements SkinPatches {}
 
SensorMeasurements PositionSensors {}
 

Additional Inherited Members

- Static Public Member Functions inherited from yarp::os::Portable
static bool copyPortable (const PortWriter &writer, PortReader &reader)
 Copy one portable to another, via writing and reading.
 

Detailed Description

Definition at line 18 of file SensorStreamingData.h.

Member Typedef Documentation

◆ unwrapped

Constructor & Destructor Documentation

◆ SensorStreamingData() [1/2]

SensorStreamingData::SensorStreamingData ( )
default

◆ SensorStreamingData() [2/2]

SensorStreamingData::SensorStreamingData ( const SensorMeasurements ThreeAxisGyroscopes,
const SensorMeasurements ThreeAxisLinearAccelerometers,
const SensorMeasurements ThreeAxisMagnetometers,
const SensorMeasurements OrientationSensors,
const SensorMeasurements TemperatureSensors,
const SensorMeasurements SixAxisForceTorqueSensors,
const SensorMeasurements ContactLoadCellArrays,
const SensorMeasurements EncoderArrays,
const SensorMeasurements SkinPatches,
const SensorMeasurements PositionSensors 
)

Definition at line 14 of file SensorStreamingData.cpp.

Member Function Documentation

◆ read() [1/2]

bool SensorStreamingData::read ( yarp::os::ConnectionReader reader)
overridevirtual

Read this object from a network connection.

Override this for your particular class.

Parameters
readeran interface to the network connection for reading
Returns
true iff the object is successfully read

Implements yarp::os::Portable.

Definition at line 78 of file SensorStreamingData.cpp.

◆ read() [2/2]

bool SensorStreamingData::read ( yarp::os::idl::WireReader reader)
overridevirtual

Reimplemented from yarp::os::idl::WirePortable.

Definition at line 39 of file SensorStreamingData.cpp.

◆ toString()

std::string SensorStreamingData::toString ( ) const

Definition at line 143 of file SensorStreamingData.cpp.

◆ write() [1/2]

bool SensorStreamingData::write ( const yarp::os::idl::WireWriter writer) const
overridevirtual

Reimplemented from yarp::os::idl::WirePortable.

Definition at line 91 of file SensorStreamingData.cpp.

◆ write() [2/2]

bool SensorStreamingData::write ( yarp::os::ConnectionWriter writer) const
overridevirtual

Write this object to a network connection.

Override this for your particular class. Be aware that depending on the nature of the connections a port has, and what protocol they use, and how efficient the YARP implementation is, this method may be called once, twice, or many times, as the result of a single call to Port::write

Parameters
writeran interface to the network connection for writing
Returns
true iff the object is successfully written

Implements yarp::os::Portable.

Definition at line 130 of file SensorStreamingData.cpp.

Member Data Documentation

◆ ContactLoadCellArrays

SensorMeasurements SensorStreamingData::ContactLoadCellArrays {}

Definition at line 29 of file SensorStreamingData.h.

◆ EncoderArrays

SensorMeasurements SensorStreamingData::EncoderArrays {}

Definition at line 30 of file SensorStreamingData.h.

◆ OrientationSensors

SensorMeasurements SensorStreamingData::OrientationSensors {}

Definition at line 26 of file SensorStreamingData.h.

◆ PositionSensors

SensorMeasurements SensorStreamingData::PositionSensors {}

Definition at line 32 of file SensorStreamingData.h.

◆ SixAxisForceTorqueSensors

SensorMeasurements SensorStreamingData::SixAxisForceTorqueSensors {}

Definition at line 28 of file SensorStreamingData.h.

◆ SkinPatches

SensorMeasurements SensorStreamingData::SkinPatches {}

Definition at line 31 of file SensorStreamingData.h.

◆ TemperatureSensors

SensorMeasurements SensorStreamingData::TemperatureSensors {}

Definition at line 27 of file SensorStreamingData.h.

◆ ThreeAxisGyroscopes

SensorMeasurements SensorStreamingData::ThreeAxisGyroscopes {}

Definition at line 23 of file SensorStreamingData.h.

◆ ThreeAxisLinearAccelerometers

SensorMeasurements SensorStreamingData::ThreeAxisLinearAccelerometers {}

Definition at line 24 of file SensorStreamingData.h.

◆ ThreeAxisMagnetometers

SensorMeasurements SensorStreamingData::ThreeAxisMagnetometers {}

Definition at line 25 of file SensorStreamingData.h.


The documentation for this class was generated from the following files: