KASKADE 7 development version
Public Types | Public Member Functions | List of all members
Kaskade::FunctorHandler< ParentFunctor, Fun, Arguments > Class Template Reference

Implementation of FunctorImpl. Allows the use of function pointers as well as functors. More...

#include <functor.hh>

Detailed Description

template<class ParentFunctor, typename Fun, typename... Arguments>
class Kaskade::FunctorHandler< ParentFunctor, Fun, Arguments >

Implementation of FunctorImpl. Allows the use of function pointers as well as functors.

Definition at line 52 of file functor.hh.

Inheritance diagram for Kaskade::FunctorHandler< ParentFunctor, Fun, Arguments >:
Kaskade::FunctorImpl< ParentFunctor::ReturnType, Arguments... >

Public Types

typedef ParentFunctor::ReturnType ReturnType
 

Public Member Functions

 FunctorHandler (const Fun &fun_)
 
FunctorHandlerclone () const
 
ReturnType operator() (Arguments... args)
 

Member Typedef Documentation

◆ ReturnType

template<class ParentFunctor , typename Fun , typename... Arguments>
typedef ParentFunctor::ReturnType Kaskade::FunctorHandler< ParentFunctor, Fun, Arguments >::ReturnType

Definition at line 55 of file functor.hh.

Constructor & Destructor Documentation

◆ FunctorHandler()

template<class ParentFunctor , typename Fun , typename... Arguments>
Kaskade::FunctorHandler< ParentFunctor, Fun, Arguments >::FunctorHandler ( const Fun &  fun_)
inline

Member Function Documentation

◆ clone()

template<class ParentFunctor , typename Fun , typename... Arguments>
FunctorHandler * Kaskade::FunctorHandler< ParentFunctor, Fun, Arguments >::clone ( ) const
inlinevirtual

◆ operator()()

template<class ParentFunctor , typename Fun , typename... Arguments>
ReturnType Kaskade::FunctorHandler< ParentFunctor, Fun, Arguments >::operator() ( Arguments...  args)
inlinevirtual

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