Muesli
 All Classes Namespaces Files Functions Typedefs Enumerations
Public Member Functions | List of all members
msl::FarmFunctor< T, R > Class Template Referenceabstract

Class FarmFunctor represents a functor for the farm skeleton. More...

#include <functors.h>

Inheritance diagram for msl::FarmFunctor< T, R >:
msl::detail::FarmFunctorBase

Public Member Functions

virtual MSL_USERFUNC R operator() (T value) const =0
 Function call operator has to be implemented by the user. Here, the actual function is implemented. More...
 
virtual ~FarmFunctor ()
 Destructor.
 
- Public Member Functions inherited from msl::detail::FarmFunctorBase
void notify ()
 Notifies all observed objects (additional arguments) to update.
 
void addArgument (ArgumentType *arg)
 Adds an additional argument to the functor. More...
 

Additional Inherited Members

- Protected Attributes inherited from msl::detail::FarmFunctorBase
std::vector< ArgumentType * > args
 

Detailed Description

template<typename T, typename R>
class msl::FarmFunctor< T, R >

Class FarmFunctor represents a functor for the farm skeleton.

Template Parameters
TInput data type.
ROutput data type.

Member Function Documentation

template<typename T , typename R >
virtual MSL_USERFUNC R msl::FarmFunctor< T, R >::operator() ( value) const
pure virtual

Function call operator has to be implemented by the user. Here, the actual function is implemented.

Parameters
valueInput value.
Returns
Output value..

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