CCA
|
Generic NemoMath Transformation Component. More...
#include <NemoTransformation.h>
Public Member Functions | |
void | onProcess () |
Processing. | |
~NemoTransformation () | |
Static Public Member Functions | |
static NodePtr | create (const std::string &nodename, VectorMapping mapping) |
Constructing a Transformation component from a given nemo::Mapping. | |
Protected Member Functions | |
NemoTransformation (const std::string &nodename, VectorMapping mappng) | |
Private Attributes | |
VectorMapping | mapping |
Friends | |
std::ostream & | operator<< (std::ostream &os, const NemoTransformation< T > &node) |
Stream operator. |
Detailed Description
template<class T>
class cca::NemoTransformation< T >
Generic NemoMath Transformation Component.
- Todo:
Test if template type is a DataTransferObject/ContainingDoubles
Specify, how this transformation behaves with incoming data of wrong dimension.
Definition at line 51 of file NemoTransformation.h.
Constructor & Destructor Documentation
cca::NemoTransformation< T >::~NemoTransformation | ( | ) | [inline] |
Definition at line 97 of file NemoTransformation.h.
cca::NemoTransformation< T >::NemoTransformation | ( | const std::string & | nodename, |
VectorMapping | mappng | ||
) | [inline, protected] |
- Parameters:
-
nodename Name of this transformation component mapping Vector-to-Vector-Mapping to be processed on incoming data
Definition at line 106 of file NemoTransformation.h.
References cca::Node::setProcessingStrategy(), and cca::Moderate::timeout().
Member Function Documentation
static NodePtr cca::NemoTransformation< T >::create | ( | const std::string & | nodename, |
VectorMapping | mapping | ||
) | [inline, static] |
Constructing a Transformation component from a given nemo::Mapping.
- Parameters:
-
nodename Name of this transformation component mapping Vector-to-Vector-Mapping to be processed on incoming data
- Returns:
Definition at line 78 of file NemoTransformation.h.
void cca::NemoTransformation< T >::onProcess | ( | ) | [inline, virtual] |
Processing.
Takes the incoming DTO, extracts a nemo::RealVector, processes configured nemo::Mapping and publishes the resulting nemo::RealVector.
- Todo:
- Not too generic yet (e.g. make it dimension-independent.
Implements cca::Node.
Definition at line 60 of file NemoTransformation.h.
References cca::NemoTransformation< T >::mapping.
Friends And Related Function Documentation
std::ostream& operator<< | ( | std::ostream & | os, |
const NemoTransformation< T > & | node | ||
) | [friend] |
Member Data Documentation
VectorMapping cca::NemoTransformation< T >::mapping [private] |
Definition at line 117 of file NemoTransformation.h.
Referenced by cca::NemoTransformation< T >::onProcess().
The documentation for this class was generated from the following file:
- cca/nodes/NemoTransformation.h