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. More... | |
bool | close () override |
Close the DeviceDriver. More... | |
bool | attachAll (const yarp::dev::PolyDriverList &devices2attach) override |
Attach to a list of objects. More... | |
bool | detachAll () override |
Detach the object (you must have first called attach). More... | |
bool | getTransforms (std::vector< yarp::math::FrameTransform > &transforms) const override |
Obtains all frame transforms saved in a storage. More... | |
![]() | |
~DeviceDriver () override=default | |
Destructor. More... | |
template<class T > | |
bool | view (T *&x) |
Get an interface to the device driver. More... | |
virtual DeviceDriver * | getImplementation () |
Some drivers are bureaucrats, pointing at others. More... | |
![]() | |
virtual | ~IConfig () |
Destructor. More... | |
virtual bool | configure (Searchable &config) |
Change online parameters. More... | |
![]() | |
virtual | ~IFrameTransformStorageGet () |
![]() | |
~WrapperMultiple () override | |
Destructor. More... | |
bool | attach (PolyDriver *driver) final |
Attach to another object. More... | |
bool | detach () final |
Detach the object (you must have first called attach). More... | |
![]() | |
virtual | ~IWrapper () |
Destructor. More... | |
![]() | |
virtual | ~IMultipleWrapper () |
Destructor. More... | |
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 |