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

#include <NonAligningTransformer.hpp>

Inheritance diagram for transformer::NonAligningTransformer:
transformer::Transformer

Public Member Functions

 NonAligningTransformer ()
 
virtual ~NonAligningTransformer ()
 
virtual void clear ()
 
virtual void pushDynamicTransformation (const TransformationType &tr)
 
- Public Member Functions inherited from transformer::Transformer
 Transformer (int priority=-10)
 
void addTransformationChain (std::string from, std::string to, const std::vector< TransformationElement *> &chain)
 
TransformationregisterTransformation (std::string sourceFrame, std::string targetFrame)
 
const std::vector< Transformation * > & getRegisteredTransformations ()
 
void unregisterTransformation (Transformation *transformation)
 
void registerTransformCallback (Transformation &transform, boost::function< void(const base::Time &ts, const Transformation &t)> callback)
 
template<class T >
int registerDataStream (base::Time dataPeriod, boost::function< void(const base::Time &ts, const T &value)> callback, int priority=-1, const std::string &name=std::string())
 
template<class T >
int registerDataStreamWithTransform (base::Time dataPeriod, Transformation &transformation, boost::function< void(const base::Time &ts, const T &value, const Transformation &t)> callback, int priority=- 1, const std::string &name=std::string())
 
void unregisterDataStream (int idx)
 
void disableStream (int idx)
 
void enableStream (int idx)
 
bool isStreamActive (int idx) const
 
void requestTransformationAtTime (int idx, base::Time ts)
 
template<class T >
void pushData (int idx, const base::Time &ts, const T &data)
 
int step ()
 
const aggregator::StreamAlignerStatus & getStreamAlignerStatus ()
 
void setTimeout (const base::Time &t)
 
void pushStaticTransformation (const TransformationType &tr)
 
void setFrameMapping (const std::string &frameName, const std::string &newName)
 
const aggregator::StreamAlignerStatus & getStatus ()
 
const TransformerStatusgetTransformerStatus ()
 
virtual ~Transformer ()
 

Additional Inherited Members

- Protected Member Functions inherited from transformer::Transformer
void recomputeAvailableTransformations ()
 
- Protected Attributes inherited from transformer::Transformer
aggregator::StreamAligner aggregator
 
std::map< std::pair< std::string, std::string >, int > transformToStreamIndex
 
std::vector< Transformation * > transformations
 
TransformationTree transformationTree
 
int priority
 
TransformerStatus transformerStatus
 

Constructor & Destructor Documentation

◆ NonAligningTransformer()

transformer::NonAligningTransformer::NonAligningTransformer ( )

◆ ~NonAligningTransformer()

virtual transformer::NonAligningTransformer::~NonAligningTransformer ( )
inlinevirtual

Member Function Documentation

◆ clear()

void transformer::NonAligningTransformer::clear ( )
virtual

Deletes all dynamic and static transformations that are known to the transformer.

Also deletes all samples in the data streams

Callbacks and setups for the data streams are NOT deleted by this method.

Reimplemented from transformer::Transformer.

◆ pushDynamicTransformation()

void transformer::NonAligningTransformer::pushDynamicTransformation ( const TransformationType tr)
virtual

Function for adding new Transformation samples.

This function will interally keep track of available transformations and register streams for 'new' transformations.

Reimplemented from transformer::Transformer.


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