golib  0.5
goFunction2< void, Targ0, Targ1 > Class Template Reference

Specialisation for void functions. More...

#include <gofunctor2.h>

Public Types

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

Public Member Functions

 goFunction2 (function_t function)
 
virtual void operator() (Targ0 arg0, Targ1 arg1)
 Calls the function set to this functor. More...
 
virtual void operator() (Targ0 arg0, Targ1 arg1) const
 
virtual goFunctorBase2< void, Targ0, Targ1 > * createCopy () const
 
 goFunction2 (function_t function)
 
virtual void operator() (Targ0 arg0, Targ1 arg1)
 Calls the function set to this functor. More...
 
virtual void operator() (Targ0 arg0, Targ1 arg1) const
 

Detailed Description

template<class Targ0, class Targ1>
class goFunction2< void, Targ0, Targ1 >

Specialisation for void functions.

Member Function Documentation

◆ operator()() [1/2]

template<class Targ0 , class Targ1 >
virtual void goFunction2< void, Targ0, Targ1 >::operator() ( Targ0  arg0,
Targ1  arg1 
)
inlinevirtual

Calls the function set to this functor.

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

Implements goFunctorBase2< void, Targ0, Targ1 >.

◆ operator()() [2/2]

template<class Targ0 , class Targ1 >
virtual void goFunction2< void, Targ0, Targ1 >::operator() ( Targ0  arg0,
Targ1  arg1 
)
inlinevirtual

Calls the function set to this functor.

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

Implements goFunctorBase2< void, Targ0, Targ1 >.


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