A multiplexer which forwards the input of one IFrameTransformStorageSet interfaces to many. More...
#include <frameTransformSet/FrameTransformSetMultiplexer.h>
Public Member Functions | |
FrameTransformSetMultiplexer ()=default | |
FrameTransformSetMultiplexer (const FrameTransformSetMultiplexer &)=delete | |
FrameTransformSetMultiplexer (FrameTransformSetMultiplexer &&)=delete | |
FrameTransformSetMultiplexer & | operator= (const FrameTransformSetMultiplexer &)=delete |
FrameTransformSetMultiplexer & | operator= (FrameTransformSetMultiplexer &&)=delete |
bool | open (yarp::os::Searchable &config) override |
Device driver interface. | |
bool | close () override |
Close the DeviceDriver. | |
bool | attachAll (const yarp::dev::PolyDriverList &devices2attach) override |
Attach to a list of objects. | |
bool | detachAll () override |
Detach the object (you must have first called attach). | |
bool | setTransform (const yarp::math::FrameTransform &transform) override |
Save a frame transform in a storage. | |
bool | setTransforms (const std::vector< yarp::math::FrameTransform > &transforms) override |
Save some frame transforms in a storage. | |
virtual bool | deleteTransform (std::string t1, std::string t2) override |
Delete a single transform in the storage. | |
virtual bool | clearAll () override |
Delete all transforms in a storage. | |
void | startThreads () |
void | stopThreads () |
Public Member Functions inherited from yarp::dev::DeviceDriver | |
DeviceDriver () | |
DeviceDriver (const DeviceDriver &other)=delete | |
DeviceDriver (DeviceDriver &&other) noexcept=delete | |
DeviceDriver & | operator= (const DeviceDriver &other)=delete |
DeviceDriver & | operator= (DeviceDriver &&other) noexcept=delete |
~DeviceDriver () override | |
virtual std::string | id () const |
Return the id assigned to the PolyDriver. | |
virtual void | setId (const std::string &id) |
Set the id for this device. | |
template<class T > | |
bool | view (T *&x) |
Get an interface to the device driver. | |
virtual DeviceDriver * | getImplementation () |
Some drivers are bureaucrats, pointing at others. | |
Public Member Functions inherited from yarp::os::IConfig | |
virtual | ~IConfig () |
Destructor. | |
virtual bool | configure (Searchable &config) |
Change online parameters. | |
Public Member Functions inherited from yarp::dev::IFrameTransformStorageSet | |
virtual | ~IFrameTransformStorageSet () |
Public Member Functions inherited from yarp::dev::WrapperMultiple | |
~WrapperMultiple () override | |
Destructor. | |
bool | attach (PolyDriver *driver) final |
Attach to another object. | |
bool | detach () final |
Detach the object (you must have first called attach). | |
Public Member Functions inherited from yarp::dev::IWrapper | |
virtual | ~IWrapper () |
Destructor. | |
Public Member Functions inherited from yarp::dev::IMultipleWrapper | |
virtual | ~IMultipleWrapper () |
Destructor. | |
A multiplexer which forwards the input of one IFrameTransformStorageSet interfaces to many.
This device is a simple multiplexer of devices that implements the IFrameTransformStorageSet interface. It can be attached to multiple devices and when the functions setTransform or setTransforms are called they are forwarded to all the devices attached.
For further information see FrameTransform: start all the required devices needed for transforming frames.
Definition at line 23 of file FrameTransformSetMultiplexer.h.
|
default |
|
delete |
|
delete |
|
overridevirtual |
Attach to a list of objects.
drivers | the polydriver list that you want to attach to. |
Implements yarp::dev::IMultipleWrapper.
Definition at line 45 of file FrameTransformSetMultiplexer.cpp.
|
overridevirtual |
Delete all transforms in a storage.
Implements yarp::dev::IFrameTransformStorageSet.
Definition at line 135 of file FrameTransformSetMultiplexer.cpp.
|
overridevirtual |
Close the DeviceDriver.
Reimplemented from yarp::dev::DeviceDriver.
Definition at line 37 of file FrameTransformSetMultiplexer.cpp.
|
overridevirtual |
Delete a single transform in the storage.
src | the source of frame transform to delete |
dst | the destination of frame transform to delete |
Implements yarp::dev::IFrameTransformStorageSet.
Definition at line 112 of file FrameTransformSetMultiplexer.cpp.
|
overridevirtual |
Detach the object (you must have first called attach).
Implements yarp::dev::IMultipleWrapper.
Definition at line 30 of file FrameTransformSetMultiplexer.cpp.
|
overridevirtual |
Device driver interface.
Reimplemented from yarp::dev::DeviceDriver.
Definition at line 19 of file FrameTransformSetMultiplexer.cpp.
|
delete |
|
delete |
|
overridevirtual |
Save a frame transform in a storage.
transforms | the transform to be stored |
Implements yarp::dev::IFrameTransformStorageSet.
Definition at line 97 of file FrameTransformSetMultiplexer.cpp.
|
overridevirtual |
Save some frame transforms in a storage.
transforms | the list of transforms to be stored |
Implements yarp::dev::IFrameTransformStorageSet.
Definition at line 81 of file FrameTransformSetMultiplexer.cpp.
void FrameTransformSetMultiplexer::startThreads | ( | ) |
Definition at line 165 of file FrameTransformSetMultiplexer.cpp.
void FrameTransformSetMultiplexer::stopThreads | ( | ) |
Definition at line 155 of file FrameTransformSetMultiplexer.cpp.