Class Converter

Nested Relationships

Nested Types

Class Documentation

class Converter

Converter concept interface.

Note

this defines an private concept struct, which each instance has to implement

Note

a type erasure pattern in implemented here to avoid strict inheritance, thus each possible converter instance has to implement the virtual functions mentioned in the concept

Public Functions

template<typename T>
inline Converter(T conv)

Constructor for converter interface.

inline std::string name() const

getting the descriptive name for this converter instance

Returns:

string with the name

inline float frequency() const

getting the assigned frequency of this converter instance

Returns:

float value indicating the frequency

inline void reset()
inline void callAll(const std::vector<message_actions::MessageAction> &actions)

Friends

inline friend bool operator==(const Converter &lhs, const Converter &rhs)