OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TFunctor3< R, P1, P2, P3 > Class Template Reference

Functor with 3 parameters, return R. More...

#include <owl/functor.h>

Inheritance diagram for owl::TFunctor3< R, P1, P2, P3 >:
owl::TFunctorBase owl::TFunctionTranslator3< R, P1, P2, P3, Funct > owl::TMemberTranslator3< R, P1, P2, P3, TCallee, TMemFunc >

Public Member Functions

 TFunctor3 ()
 
R operator() (P1 p1, P2 p2, P3 p3) const
 
- Public Member Functions inherited from owl::TFunctorBase
 operator bool () const
 
 TFunctorBase ()
 
 TFunctorBase (const void *c, const void *f, size_t sz)
 

Protected Types

typedef R(* TThunk) (const TFunctorBase &, P1, P2, P3)
 

Protected Member Functions

 TFunctor3 (THUNKREF(TThunk) t, const void *c, const void *f, size_t sz)
 

Additional Inherited Members

- Public Types inherited from owl::TFunctorBase
typedef void(TFunctorBase::* TMemberFunc) ()
 
- Public Attributes inherited from owl::TFunctorBase
union { 
 
   const void *   Func 
 
   char   MemberFunc [sizeof(TMemberFunc)] 
 ASSUMES this is always enough space. More...
 
};  
 
voidCallee
 

Detailed Description

template<class R, class P1, class P2, class P3>
class owl::TFunctor3< R, P1, P2, P3 >

Functor with 3 parameters, return R.

Definition at line 589 of file functor.h.

Member Typedef Documentation

◆ TThunk

template<class R , class P1 , class P2 , class P3 >
typedef R(* owl::TFunctor3< R, P1, P2, P3 >::TThunk) (const TFunctorBase &, P1, P2, P3)
protected

Definition at line 599 of file functor.h.

Constructor & Destructor Documentation

◆ TFunctor3() [1/2]

template<class R , class P1 , class P2 , class P3 >
owl::TFunctor3< R, P1, P2, P3 >::TFunctor3 ( )
inline

Definition at line 591 of file functor.h.

◆ TFunctor3() [2/2]

template<class R , class P1 , class P2 , class P3 >
owl::TFunctor3< R, P1, P2, P3 >::TFunctor3 ( THUNKREF(TThunk) t,
const void * c,
const void * f,
size_t sz )
inlineprotected

Definition at line 600 of file functor.h.

Member Function Documentation

◆ operator()()

template<class R , class P1 , class P2 , class P3 >
R owl::TFunctor3< R, P1, P2, P3 >::operator() ( P1 p1,
P2 p2,
P3 p3 ) const
inline

Definition at line 593 of file functor.h.


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