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

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

#include <owl/functor.h>

Inheritance diagram for owl::TFunctor4< R, P1, P2, P3, P4 >:
owl::TFunctorBase owl::TFunctionTranslator4< R, P1, P2, P3, P4, Funct > owl::TMemberTranslator4< R, P1, P2, P3, P4, TCallee, TMemFunc >

Public Member Functions

 TFunctor4 ()
 
R operator() (P1 p1, P2 p2, P3 p3, P4 p4) 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, P4)
 

Protected Member Functions

 TFunctor4 (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 P4>
class owl::TFunctor4< R, P1, P2, P3, P4 >

Functor with 4 parameters, return R.

Definition at line 739 of file functor.h.

Member Typedef Documentation

◆ TThunk

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

Definition at line 749 of file functor.h.

Constructor & Destructor Documentation

◆ TFunctor4() [1/2]

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

Definition at line 741 of file functor.h.

◆ TFunctor4() [2/2]

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

Definition at line 750 of file functor.h.

Member Function Documentation

◆ operator()()

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

Definition at line 743 of file functor.h.


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