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

#include <Transformer.hpp>

Inheritance diagram for transformer::StaticTransformationElement:
transformer::TransformationElement

Public Member Functions

 StaticTransformationElement (const std::string &sourceFrame, const std::string &targetFrame, const TransformationType &transform)
 
virtual ~StaticTransformationElement ()
 
virtual bool getTransformation (const base::Time &atTime, bool doInterpolation, TransformationType &tr)
 
- 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
 

Detailed Description

This class represents a static transformation

Constructor & Destructor Documentation

transformer::StaticTransformationElement::StaticTransformationElement ( const std::string &  sourceFrame,
const std::string &  targetFrame,
const TransformationType transform 
)
inline
virtual transformer::StaticTransformationElement::~StaticTransformationElement ( )
inlinevirtual

Member Function Documentation

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

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.


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