A multiplexer which collapses the output of many IFrameTransformStorageGet interfaces into one. More...
#include <frameTransformGet/FrameTransformGetMultiplexer.h>
Public Member Functions | |
FrameTransformGetMultiplexer ()=default | |
FrameTransformGetMultiplexer (const FrameTransformGetMultiplexer &)=delete | |
FrameTransformGetMultiplexer (FrameTransformGetMultiplexer &&)=delete | |
FrameTransformGetMultiplexer & | operator= (const FrameTransformGetMultiplexer &)=delete |
FrameTransformGetMultiplexer & | operator= (FrameTransformGetMultiplexer &&)=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 | getTransforms (std::vector< yarp::math::FrameTransform > &transforms) const override |
Obtains all frame transforms saved in a storage. | |
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::IFrameTransformStorageGet | |
virtual | ~IFrameTransformStorageGet () |
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 collapses the output of many IFrameTransformStorageGet interfaces into one.
This device is a multiplexer of devices that implements the IFrameTransformStorageGet interface. It can be attached to multiple devices. When the function getTransforms is called, it returns a vector containing all the transforms taken from the attached devices. For further information see FrameTransform: start all the required devices needed for transforming frames.
Definition at line 23 of file FrameTransformGetMultiplexer.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 50 of file FrameTransformGetMultiplexer.cpp.
|
overridevirtual |
Close the DeviceDriver.
Reimplemented from yarp::dev::DeviceDriver.
Definition at line 42 of file FrameTransformGetMultiplexer.cpp.
|
overridevirtual |
Detach the object (you must have first called attach).
Implements yarp::dev::IMultipleWrapper.
Definition at line 35 of file FrameTransformGetMultiplexer.cpp.
|
overridevirtual |
Obtains all frame transforms saved in a storage.
transforms | the returned list of frame transforms |
Implements yarp::dev::IFrameTransformStorageGet.
Definition at line 78 of file FrameTransformGetMultiplexer.cpp.
|
overridevirtual |
Device driver interface.
Reimplemented from yarp::dev::DeviceDriver.
Definition at line 24 of file FrameTransformGetMultiplexer.cpp.
|
delete |
|
delete |