FrameTransformContainer
: A class that contains a vector of frame transformations and exposes yarp::dev::IFrameTransformStorageSet and yarp::dev::IFrameTransformStorageGet interfaces in order to allow external access to it.
More...
#include <yarp/dev/FrameTransformContainer.h>
Classes | |
struct | Iterator |
Public Member Functions | |
Iterator | begin () |
Iterator | end () |
FrameTransformContainer () | |
~FrameTransformContainer () | |
bool | setTransforms (const std::vector< yarp::math::FrameTransform > &transforms) override |
Save some frame transforms in a storage. | |
bool | setTransform (const yarp::math::FrameTransform &transform) override |
Save a frame transform in a storage. | |
bool | getTransforms (std::vector< yarp::math::FrameTransform > &transforms) const override |
Obtains all frame transforms saved in a storage. | |
bool | deleteTransform (std::string t1, std::string t2) override |
Delete a single transform in the storage. | |
bool | clearAll () override |
Delete all transforms in a storage. | |
bool | size (size_t &size) const |
bool | checkAndRemoveExpired () |
bool | checkAndRemoveExpired () const |
Public Member Functions inherited from yarp::dev::IFrameTransformStorageSet | |
virtual | ~IFrameTransformStorageSet () |
Public Member Functions inherited from yarp::dev::IFrameTransformStorageGet | |
virtual | ~IFrameTransformStorageGet () |
Public Attributes | |
std::recursive_mutex | m_trf_mutex |
double | m_timeout = 0.2 |
bool | m_verbose_debug = false |
std::string | m_name |
Protected Member Functions | |
void | invalidateTransform (yarp::math::FrameTransform &trf) |
Protected Attributes | |
ContainerType | m_transforms |
FrameTransformContainer
: A class that contains a vector of frame transformations and exposes yarp::dev::IFrameTransformStorageSet and yarp::dev::IFrameTransformStorageGet interfaces in order to allow external access to it.
Definition at line 31 of file FrameTransformContainer.h.
|
inline |
Definition at line 104 of file FrameTransformContainer.h.
|
inline |
Definition at line 105 of file FrameTransformContainer.h.
|
inline |
Definition at line 80 of file FrameTransformContainer.h.
bool FrameTransformContainer::checkAndRemoveExpired | ( | ) |
Definition at line 160 of file FrameTransformContainer.cpp.
bool FrameTransformContainer::checkAndRemoveExpired | ( | ) | const |
Definition at line 186 of file FrameTransformContainer.cpp.
|
overridevirtual |
Delete all transforms in a storage.
Implements yarp::dev::IFrameTransformStorageSet.
Definition at line 150 of file FrameTransformContainer.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 92 of file FrameTransformContainer.cpp.
|
inline |
Definition at line 85 of file FrameTransformContainer.h.
|
overridevirtual |
Obtains all frame transforms saved in a storage.
transforms | the returned list of frame transforms |
Implements yarp::dev::IFrameTransformStorageGet.
Definition at line 38 of file FrameTransformContainer.cpp.
|
protected |
Definition at line 25 of file FrameTransformContainer.cpp.
|
overridevirtual |
Save a frame transform in a storage.
transforms | the transform to be stored |
Implements yarp::dev::IFrameTransformStorageSet.
Definition at line 54 of file FrameTransformContainer.cpp.
|
overridevirtual |
Save some frame transforms in a storage.
transforms | the list of transforms to be stored |
Implements yarp::dev::IFrameTransformStorageSet.
Definition at line 45 of file FrameTransformContainer.cpp.
Definition at line 191 of file FrameTransformContainer.cpp.
std::string yarp::dev::FrameTransformContainer::m_name |
Definition at line 101 of file FrameTransformContainer.h.
double yarp::dev::FrameTransformContainer::m_timeout = 0.2 |
Definition at line 99 of file FrameTransformContainer.h.
|
protected |
Definition at line 91 of file FrameTransformContainer.h.
|
mutable |
Definition at line 95 of file FrameTransformContainer.h.
bool yarp::dev::FrameTransformContainer::m_verbose_debug = false |
Definition at line 100 of file FrameTransformContainer.h.