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

Functor with 2 parameters, void return. More...

#include <owl/functor.h>

Inheritance diagram for owl::TFunctorV2< P1, P2 >:
owl::TFunctorBase owl::TFunctionTranslatorV2< P1, P2, Funct > owl::TMemberTranslatorV2< P1, P2, TCallee, TMemFunc >

Public Member Functions

 TFunctorV2 ()
 
void operator() (P1 p1, P2 p2) 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 void(* TThunk) (const TFunctorBase &, P1, P2)
 

Protected Member Functions

 TFunctorV2 (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 P1, class P2>
class owl::TFunctorV2< P1, P2 >

Functor with 2 parameters, void return.

Definition at line 364 of file functor.h.

Member Typedef Documentation

◆ TThunk

template<class P1 , class P2 >
typedef void(* owl::TFunctorV2< P1, P2 >::TThunk) (const TFunctorBase &, P1, P2)
protected

Definition at line 374 of file functor.h.

Constructor & Destructor Documentation

◆ TFunctorV2() [1/2]

template<class P1 , class P2 >
owl::TFunctorV2< P1, P2 >::TFunctorV2 ( )
inline

Definition at line 366 of file functor.h.

◆ TFunctorV2() [2/2]

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

Definition at line 375 of file functor.h.

Member Function Documentation

◆ operator()()

template<class P1 , class P2 >
void owl::TFunctorV2< P1, P2 >::operator() ( P1 p1,
P2 p2 ) const
inline

Definition at line 368 of file functor.h.


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