golib  0.5
goFunction1< void, Targ0 > Class Template Reference

Specialisation for void functions. More...

#include <gofunctor2.h>

Public Types

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

Public Member Functions

 goFunction1 (function_t function)
 
virtual void operator() (Targ0 arg0)
 Calls the function set to this functor. More...
 
virtual void operator() (Targ0 arg0) const
 
virtual goFunctorBase1< void, Targ0 > * createCopy () const
 
 goFunction1 (function_t function)
 
virtual void operator() (Targ0 arg0)
 Calls the function set to this functor. More...
 
virtual void operator() (Targ0 arg0) const
 

Detailed Description

template<class Targ0>
class goFunction1< void, Targ0 >

Specialisation for void functions.

Member Function Documentation

◆ operator()() [1/2]

template<class Targ0 >
virtual void goFunction1< void, Targ0 >::operator() ( Targ0  arg0)
inlinevirtual

Calls the function set to this functor.

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

Implements goFunctorBase1< void, Targ0 >.

◆ operator()() [2/2]

template<class Targ0 >
virtual void goFunction1< void, Targ0 >::operator() ( Targ0  arg0)
inlinevirtual

Calls the function set to this functor.

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

Implements goFunctorBase1< void, Targ0 >.


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