transformer
Public Member Functions | List of all members
transformer::NonAlignedDynamicTransformationElement Class Reference

#include <NonAligningTransformer.hpp>

Inheritance diagram for transformer::NonAlignedDynamicTransformationElement:
transformer::TransformationElement

Public Member Functions

 NonAlignedDynamicTransformationElement (const std::string &sourceFrame, const std::string &targetFrame)
 
virtual ~NonAlignedDynamicTransformationElement ()
 
virtual bool getTransformation (const base::Time &atTime, bool doInterpolation, TransformationType &result)
 
void setTransformation (const base::Time &atTime, const TransformationType &tr)
 
virtual void setTransformationChangedCallback (boost::function< void(const base::Time &ts)> callback)
 
- Public Member Functions inherited from transformer::TransformationElement
 TransformationElement (const std::string &sourceFrame, const std::string &targetFrame)
 
virtual ~TransformationElement ()
 
virtual void addTransformationChangedCallback (boost::function< void(const base::Time &ts)> callback)
 
virtual void clearTransformationChangedCallbacks ()
 
const std::string & getSourceFrame () const
 
const std::string & getTargetFrame () const
 

Additional Inherited Members

- Protected Attributes inherited from transformer::TransformationElement
std::vector< boost::function
< void(const base::Time &ts)> > 
elementChangedCallbacks
 

Constructor & Destructor Documentation

transformer::NonAlignedDynamicTransformationElement::NonAlignedDynamicTransformationElement ( const std::string &  sourceFrame,
const std::string &  targetFrame 
)
virtual transformer::NonAlignedDynamicTransformationElement::~NonAlignedDynamicTransformationElement ( )
inlinevirtual

Member Function Documentation

bool transformer::NonAlignedDynamicTransformationElement::getTransformation ( const base::Time &  atTime,
bool  doInterpolation,
TransformationType tr 
)
virtual

This method my be asked for a concrete transformation at a time X. On request this should should interpolate the transformation to match the given time better than the available data.

Note if no transformation is available getTransformation will return false

Implements transformer::TransformationElement.

void transformer::NonAlignedDynamicTransformationElement::setTransformation ( const base::Time &  atTime,
const TransformationType tr 
)
virtual void transformer::NonAlignedDynamicTransformationElement::setTransformationChangedCallback ( boost::function< void(const base::Time &ts)>  callback)
inlinevirtual

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