golib  0.5
goFunctor0< void, Tclass > Class Template Reference

Specialisation for void member functions. More...

#include <gofunctor2.h>

Public Types

typedef void(Tclass::* function_t) ()
 Function type represented by this class.
 
typedef void(Tclass::* function_t) ()
 Function type represented by this class.
 

Public Member Functions

 goFunctor0 (Tclass *object, function_t function)
 
virtual void operator() ()
 Calls the function set to this functor. More...
 
virtual void operator() () const
 
virtual goFunctorBase0< void > * createCopy () const
 
 goFunctor0 (Tclass *object, function_t function)
 
virtual void operator() ()
 Calls the function set to this functor. More...
 
virtual void operator() () const
 

Detailed Description

template<class Tclass>
class goFunctor0< void, Tclass >

Specialisation for void member functions.

Member Function Documentation

◆ operator()() [1/2]

template<class Tclass >
virtual void goFunctor0< void, Tclass >::operator() ( )
inlinevirtual

Calls the function set to this functor.

Parameters
pWhatever parameter the represented function takes.
Returns
Whatever the set function returns.

Implements goFunctorBase0< void >.

◆ operator()() [2/2]

template<class Tclass >
virtual void goFunctor0< void, Tclass >::operator() ( )
inlinevirtual

Calls the function set to this functor.

Parameters
pWhatever parameter the represented function takes.
Returns
Whatever the set function returns.

Implements goFunctorBase0< void >.


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