YARP
Yet Another Robot Platform
SensorRPCData::Editor Class Reference

#include <multipleAnalogSensorsMsgs/idl_generated_code/SensorRPCData.h>

+ Inheritance diagram for SensorRPCData::Editor:

Public Member Functions

 Editor ()
 
 Editor (SensorRPCData &obj)
 
 ~Editor () override
 
 Editor (const Editor &rhs)=delete
 
 Editor (Editor &&rhs)=delete
 
Editoroperator= (const Editor &rhs)=delete
 
Editoroperator= (Editor &&rhs)=delete
 
bool edit (SensorRPCData &obj, bool dirty=true)
 
bool isValid () const
 
SensorRPCDatastate ()
 
void start_editing ()
 
void begin ()
 
void stop_editing ()
 
void end ()
 
void set_ThreeAxisGyroscopes (const std::vector< SensorMetadata > &ThreeAxisGyroscopes)
 
void set_ThreeAxisGyroscopes (size_t index, const SensorMetadata &elem)
 
const std::vector< SensorMetadata > & get_ThreeAxisGyroscopes () const
 
virtual bool will_set_ThreeAxisGyroscopes ()
 
virtual bool did_set_ThreeAxisGyroscopes ()
 
void set_ThreeAxisLinearAccelerometers (const std::vector< SensorMetadata > &ThreeAxisLinearAccelerometers)
 
void set_ThreeAxisLinearAccelerometers (size_t index, const SensorMetadata &elem)
 
const std::vector< SensorMetadata > & get_ThreeAxisLinearAccelerometers () const
 
virtual bool will_set_ThreeAxisLinearAccelerometers ()
 
virtual bool did_set_ThreeAxisLinearAccelerometers ()
 
void set_ThreeAxisMagnetometers (const std::vector< SensorMetadata > &ThreeAxisMagnetometers)
 
void set_ThreeAxisMagnetometers (size_t index, const SensorMetadata &elem)
 
const std::vector< SensorMetadata > & get_ThreeAxisMagnetometers () const
 
virtual bool will_set_ThreeAxisMagnetometers ()
 
virtual bool did_set_ThreeAxisMagnetometers ()
 
void set_OrientationSensors (const std::vector< SensorMetadata > &OrientationSensors)
 
void set_OrientationSensors (size_t index, const SensorMetadata &elem)
 
const std::vector< SensorMetadata > & get_OrientationSensors () const
 
virtual bool will_set_OrientationSensors ()
 
virtual bool did_set_OrientationSensors ()
 
void set_TemperatureSensors (const std::vector< SensorMetadata > &TemperatureSensors)
 
void set_TemperatureSensors (size_t index, const SensorMetadata &elem)
 
const std::vector< SensorMetadata > & get_TemperatureSensors () const
 
virtual bool will_set_TemperatureSensors ()
 
virtual bool did_set_TemperatureSensors ()
 
void set_SixAxisForceTorqueSensors (const std::vector< SensorMetadata > &SixAxisForceTorqueSensors)
 
void set_SixAxisForceTorqueSensors (size_t index, const SensorMetadata &elem)
 
const std::vector< SensorMetadata > & get_SixAxisForceTorqueSensors () const
 
virtual bool will_set_SixAxisForceTorqueSensors ()
 
virtual bool did_set_SixAxisForceTorqueSensors ()
 
void set_ContactLoadCellArrays (const std::vector< SensorMetadata > &ContactLoadCellArrays)
 
void set_ContactLoadCellArrays (size_t index, const SensorMetadata &elem)
 
const std::vector< SensorMetadata > & get_ContactLoadCellArrays () const
 
virtual bool will_set_ContactLoadCellArrays ()
 
virtual bool did_set_ContactLoadCellArrays ()
 
void set_EncoderArrays (const std::vector< SensorMetadata > &EncoderArrays)
 
void set_EncoderArrays (size_t index, const SensorMetadata &elem)
 
const std::vector< SensorMetadata > & get_EncoderArrays () const
 
virtual bool will_set_EncoderArrays ()
 
virtual bool did_set_EncoderArrays ()
 
void set_SkinPatches (const std::vector< SensorMetadata > &SkinPatches)
 
void set_SkinPatches (size_t index, const SensorMetadata &elem)
 
const std::vector< SensorMetadata > & get_SkinPatches () const
 
virtual bool will_set_SkinPatches ()
 
virtual bool did_set_SkinPatches ()
 
void set_PositionSensors (const std::vector< SensorMetadata > &PositionSensors)
 
void set_PositionSensors (size_t index, const SensorMetadata &elem)
 
const std::vector< SensorMetadata > & get_PositionSensors () const
 
virtual bool will_set_PositionSensors ()
 
virtual bool did_set_PositionSensors ()
 
void clean ()
 
bool read (yarp::os::ConnectionReader &connection) override
 Read this object from a network connection. More...
 
bool write (yarp::os::ConnectionWriter &connection) const override
 Write this object to a network connection. More...
 
- Public Member Functions inherited from yarp::os::Wire
yarp::os::WireLinkyarp ()
 Get YARP state associated with this object. More...
 
- Public Member Functions inherited from yarp::os::PortReader
virtual ~PortReader ()
 Destructor. More...
 
virtual Type getReadType () const
 
- Public Member Functions inherited from yarp::os::PortWriter
virtual ~PortWriter ()
 Destructor. More...
 
virtual void onCompletion () const
 This is called when the port has finished all writing operations. More...
 
virtual void onCommencement () const
 This is called when the port is about to begin writing operations. More...
 
virtual yarp::os::Type getWriteType () const
 

Detailed Description

Definition at line 70 of file SensorRPCData.h.

Constructor & Destructor Documentation

◆ Editor() [1/4]

SensorRPCData::Editor::Editor ( )

Definition at line 158 of file SensorRPCData.cpp.

◆ Editor() [2/4]

SensorRPCData::Editor::Editor ( SensorRPCData obj)

Definition at line 168 of file SensorRPCData.cpp.

◆ ~Editor()

SensorRPCData::Editor::~Editor ( )
override

Definition at line 177 of file SensorRPCData.cpp.

◆ Editor() [3/4]

SensorRPCData::Editor::Editor ( const Editor rhs)
delete

◆ Editor() [4/4]

SensorRPCData::Editor::Editor ( Editor &&  rhs)
delete

Member Function Documentation

◆ begin()

void SensorRPCData::Editor::begin ( )
inline

Definition at line 104 of file SensorRPCData.h.

◆ clean()

void SensorRPCData::Editor::clean ( )

Definition at line 603 of file SensorRPCData.cpp.

◆ did_set_ContactLoadCellArrays()

bool SensorRPCData::Editor::did_set_ContactLoadCellArrays ( )
virtual

Definition at line 483 of file SensorRPCData.cpp.

◆ did_set_EncoderArrays()

bool SensorRPCData::Editor::did_set_EncoderArrays ( )
virtual

Definition at line 521 of file SensorRPCData.cpp.

◆ did_set_OrientationSensors()

bool SensorRPCData::Editor::did_set_OrientationSensors ( )
virtual

Definition at line 369 of file SensorRPCData.cpp.

◆ did_set_PositionSensors()

bool SensorRPCData::Editor::did_set_PositionSensors ( )
virtual

Definition at line 597 of file SensorRPCData.cpp.

◆ did_set_SixAxisForceTorqueSensors()

bool SensorRPCData::Editor::did_set_SixAxisForceTorqueSensors ( )
virtual

Definition at line 445 of file SensorRPCData.cpp.

◆ did_set_SkinPatches()

bool SensorRPCData::Editor::did_set_SkinPatches ( )
virtual

Definition at line 559 of file SensorRPCData.cpp.

◆ did_set_TemperatureSensors()

bool SensorRPCData::Editor::did_set_TemperatureSensors ( )
virtual

Definition at line 407 of file SensorRPCData.cpp.

◆ did_set_ThreeAxisGyroscopes()

bool SensorRPCData::Editor::did_set_ThreeAxisGyroscopes ( )
virtual

Definition at line 255 of file SensorRPCData.cpp.

◆ did_set_ThreeAxisLinearAccelerometers()

bool SensorRPCData::Editor::did_set_ThreeAxisLinearAccelerometers ( )
virtual

Definition at line 293 of file SensorRPCData.cpp.

◆ did_set_ThreeAxisMagnetometers()

bool SensorRPCData::Editor::did_set_ThreeAxisMagnetometers ( )
virtual

Definition at line 331 of file SensorRPCData.cpp.

◆ edit()

bool SensorRPCData::Editor::edit ( SensorRPCData obj,
bool  dirty = true 
)

Definition at line 185 of file SensorRPCData.cpp.

◆ end()

void SensorRPCData::Editor::end ( )
inline

Definition at line 115 of file SensorRPCData.h.

◆ get_ContactLoadCellArrays()

const std::vector< SensorMetadata > & SensorRPCData::Editor::get_ContactLoadCellArrays ( ) const

Definition at line 471 of file SensorRPCData.cpp.

◆ get_EncoderArrays()

const std::vector< SensorMetadata > & SensorRPCData::Editor::get_EncoderArrays ( ) const

Definition at line 509 of file SensorRPCData.cpp.

◆ get_OrientationSensors()

const std::vector< SensorMetadata > & SensorRPCData::Editor::get_OrientationSensors ( ) const

Definition at line 357 of file SensorRPCData.cpp.

◆ get_PositionSensors()

const std::vector< SensorMetadata > & SensorRPCData::Editor::get_PositionSensors ( ) const

Definition at line 585 of file SensorRPCData.cpp.

◆ get_SixAxisForceTorqueSensors()

const std::vector< SensorMetadata > & SensorRPCData::Editor::get_SixAxisForceTorqueSensors ( ) const

Definition at line 433 of file SensorRPCData.cpp.

◆ get_SkinPatches()

const std::vector< SensorMetadata > & SensorRPCData::Editor::get_SkinPatches ( ) const

Definition at line 547 of file SensorRPCData.cpp.

◆ get_TemperatureSensors()

const std::vector< SensorMetadata > & SensorRPCData::Editor::get_TemperatureSensors ( ) const

Definition at line 395 of file SensorRPCData.cpp.

◆ get_ThreeAxisGyroscopes()

const std::vector< SensorMetadata > & SensorRPCData::Editor::get_ThreeAxisGyroscopes ( ) const

Definition at line 243 of file SensorRPCData.cpp.

◆ get_ThreeAxisLinearAccelerometers()

const std::vector< SensorMetadata > & SensorRPCData::Editor::get_ThreeAxisLinearAccelerometers ( ) const

Definition at line 281 of file SensorRPCData.cpp.

◆ get_ThreeAxisMagnetometers()

const std::vector< SensorMetadata > & SensorRPCData::Editor::get_ThreeAxisMagnetometers ( ) const

Definition at line 319 of file SensorRPCData.cpp.

◆ isValid()

bool SensorRPCData::Editor::isValid ( ) const

Definition at line 197 of file SensorRPCData.cpp.

◆ operator=() [1/2]

Editor& SensorRPCData::Editor::operator= ( const Editor rhs)
delete

◆ operator=() [2/2]

Editor& SensorRPCData::Editor::operator= ( Editor &&  rhs)
delete

◆ read()

bool SensorRPCData::Editor::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::PortReader.

Definition at line 609 of file SensorRPCData.cpp.

◆ set_ContactLoadCellArrays() [1/2]

void SensorRPCData::Editor::set_ContactLoadCellArrays ( const std::vector< SensorMetadata > &  ContactLoadCellArrays)

Definition at line 451 of file SensorRPCData.cpp.

◆ set_ContactLoadCellArrays() [2/2]

void SensorRPCData::Editor::set_ContactLoadCellArrays ( size_t  index,
const SensorMetadata elem 
)

Definition at line 461 of file SensorRPCData.cpp.

◆ set_EncoderArrays() [1/2]

void SensorRPCData::Editor::set_EncoderArrays ( const std::vector< SensorMetadata > &  EncoderArrays)

Definition at line 489 of file SensorRPCData.cpp.

◆ set_EncoderArrays() [2/2]

void SensorRPCData::Editor::set_EncoderArrays ( size_t  index,
const SensorMetadata elem 
)

Definition at line 499 of file SensorRPCData.cpp.

◆ set_OrientationSensors() [1/2]

void SensorRPCData::Editor::set_OrientationSensors ( const std::vector< SensorMetadata > &  OrientationSensors)

Definition at line 337 of file SensorRPCData.cpp.

◆ set_OrientationSensors() [2/2]

void SensorRPCData::Editor::set_OrientationSensors ( size_t  index,
const SensorMetadata elem 
)

Definition at line 347 of file SensorRPCData.cpp.

◆ set_PositionSensors() [1/2]

void SensorRPCData::Editor::set_PositionSensors ( const std::vector< SensorMetadata > &  PositionSensors)

Definition at line 565 of file SensorRPCData.cpp.

◆ set_PositionSensors() [2/2]

void SensorRPCData::Editor::set_PositionSensors ( size_t  index,
const SensorMetadata elem 
)

Definition at line 575 of file SensorRPCData.cpp.

◆ set_SixAxisForceTorqueSensors() [1/2]

void SensorRPCData::Editor::set_SixAxisForceTorqueSensors ( const std::vector< SensorMetadata > &  SixAxisForceTorqueSensors)

Definition at line 413 of file SensorRPCData.cpp.

◆ set_SixAxisForceTorqueSensors() [2/2]

void SensorRPCData::Editor::set_SixAxisForceTorqueSensors ( size_t  index,
const SensorMetadata elem 
)

Definition at line 423 of file SensorRPCData.cpp.

◆ set_SkinPatches() [1/2]

void SensorRPCData::Editor::set_SkinPatches ( const std::vector< SensorMetadata > &  SkinPatches)

Definition at line 527 of file SensorRPCData.cpp.

◆ set_SkinPatches() [2/2]

void SensorRPCData::Editor::set_SkinPatches ( size_t  index,
const SensorMetadata elem 
)

Definition at line 537 of file SensorRPCData.cpp.

◆ set_TemperatureSensors() [1/2]

void SensorRPCData::Editor::set_TemperatureSensors ( const std::vector< SensorMetadata > &  TemperatureSensors)

Definition at line 375 of file SensorRPCData.cpp.

◆ set_TemperatureSensors() [2/2]

void SensorRPCData::Editor::set_TemperatureSensors ( size_t  index,
const SensorMetadata elem 
)

Definition at line 385 of file SensorRPCData.cpp.

◆ set_ThreeAxisGyroscopes() [1/2]

void SensorRPCData::Editor::set_ThreeAxisGyroscopes ( const std::vector< SensorMetadata > &  ThreeAxisGyroscopes)

Definition at line 223 of file SensorRPCData.cpp.

◆ set_ThreeAxisGyroscopes() [2/2]

void SensorRPCData::Editor::set_ThreeAxisGyroscopes ( size_t  index,
const SensorMetadata elem 
)

Definition at line 233 of file SensorRPCData.cpp.

◆ set_ThreeAxisLinearAccelerometers() [1/2]

void SensorRPCData::Editor::set_ThreeAxisLinearAccelerometers ( const std::vector< SensorMetadata > &  ThreeAxisLinearAccelerometers)

Definition at line 261 of file SensorRPCData.cpp.

◆ set_ThreeAxisLinearAccelerometers() [2/2]

void SensorRPCData::Editor::set_ThreeAxisLinearAccelerometers ( size_t  index,
const SensorMetadata elem 
)

Definition at line 271 of file SensorRPCData.cpp.

◆ set_ThreeAxisMagnetometers() [1/2]

void SensorRPCData::Editor::set_ThreeAxisMagnetometers ( const std::vector< SensorMetadata > &  ThreeAxisMagnetometers)

Definition at line 299 of file SensorRPCData.cpp.

◆ set_ThreeAxisMagnetometers() [2/2]

void SensorRPCData::Editor::set_ThreeAxisMagnetometers ( size_t  index,
const SensorMetadata elem 
)

Definition at line 309 of file SensorRPCData.cpp.

◆ start_editing()

void SensorRPCData::Editor::start_editing ( )

Definition at line 209 of file SensorRPCData.cpp.

◆ state()

SensorRPCData & SensorRPCData::Editor::state ( )

Definition at line 203 of file SensorRPCData.cpp.

◆ stop_editing()

void SensorRPCData::Editor::stop_editing ( )

Definition at line 215 of file SensorRPCData.cpp.

◆ will_set_ContactLoadCellArrays()

bool SensorRPCData::Editor::will_set_ContactLoadCellArrays ( )
virtual

Definition at line 477 of file SensorRPCData.cpp.

◆ will_set_EncoderArrays()

bool SensorRPCData::Editor::will_set_EncoderArrays ( )
virtual

Definition at line 515 of file SensorRPCData.cpp.

◆ will_set_OrientationSensors()

bool SensorRPCData::Editor::will_set_OrientationSensors ( )
virtual

Definition at line 363 of file SensorRPCData.cpp.

◆ will_set_PositionSensors()

bool SensorRPCData::Editor::will_set_PositionSensors ( )
virtual

Definition at line 591 of file SensorRPCData.cpp.

◆ will_set_SixAxisForceTorqueSensors()

bool SensorRPCData::Editor::will_set_SixAxisForceTorqueSensors ( )
virtual

Definition at line 439 of file SensorRPCData.cpp.

◆ will_set_SkinPatches()

bool SensorRPCData::Editor::will_set_SkinPatches ( )
virtual

Definition at line 553 of file SensorRPCData.cpp.

◆ will_set_TemperatureSensors()

bool SensorRPCData::Editor::will_set_TemperatureSensors ( )
virtual

Definition at line 401 of file SensorRPCData.cpp.

◆ will_set_ThreeAxisGyroscopes()

bool SensorRPCData::Editor::will_set_ThreeAxisGyroscopes ( )
virtual

Definition at line 249 of file SensorRPCData.cpp.

◆ will_set_ThreeAxisLinearAccelerometers()

bool SensorRPCData::Editor::will_set_ThreeAxisLinearAccelerometers ( )
virtual

Definition at line 287 of file SensorRPCData.cpp.

◆ will_set_ThreeAxisMagnetometers()

bool SensorRPCData::Editor::will_set_ThreeAxisMagnetometers ( )
virtual

Definition at line 325 of file SensorRPCData.cpp.

◆ write()

bool SensorRPCData::Editor::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::PortWriter.

Definition at line 847 of file SensorRPCData.cpp.


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