golib  0.5
goFunction0< void > Class Template Reference

Specialisation for void functions. More...

#include <gofunctor2.h>

Public Types

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

Public Member Functions

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

Detailed Description

template<>
class goFunction0< void >

Specialisation for void functions.

Member Function Documentation

◆ operator()() [1/2]

virtual void goFunction0< void >::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]

virtual void goFunction0< void >::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: