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

#include <owl/functor.h>

Inheritance diagram for owl::TMemberTranslator2< R, P1, P2, TCallee, TMemFunc >:
owl::TFunctor2< R, P1, P2 > owl::TFunctorBase

Public Member Functions

 TMemberTranslator2 (TCallee &c, const TMemFunc &mf)
 
- Public Member Functions inherited from owl::TFunctor2< R, P1, P2 >
 TFunctor2 ()
 
R operator() (P1 p1, P2 p2) const
 
 operator bool () const
 
- Public Member Functions inherited from owl::TFunctorBase
 operator bool () const
 
 TFunctorBase ()
 
 TFunctorBase (const void *c, const void *f, size_t sz)
 

Static Public Member Functions

static R Thunk (const TFunctorBase &ftor, P1 p1, P2 p2)
 

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
 
- Protected Types inherited from owl::TFunctor2< R, P1, P2 >
typedef R(* TThunk) (const TFunctorBase &, P1, P2)
 
- Protected Member Functions inherited from owl::TFunctor2< R, P1, P2 >
 TFunctor2 (THUNKREF(TThunk) t, const void *c, const void *f, size_t sz)
 

Detailed Description

template<class R, class P1, class P2, class TCallee, class TMemFunc>
class owl::TMemberTranslator2< R, P1, P2, TCallee, TMemFunc >

Definition at line 470 of file functor.h.

Constructor & Destructor Documentation

◆ TMemberTranslator2()

template<class R , class P1 , class P2 , class TCallee , class TMemFunc >
owl::TMemberTranslator2< R, P1, P2, TCallee, TMemFunc >::TMemberTranslator2 ( TCallee & c,
const TMemFunc & mf )
inline

Member Function Documentation

◆ Thunk()

template<class R , class P1 , class P2 , class TCallee , class TMemFunc >
static R owl::TMemberTranslator2< R, P1, P2, TCallee, TMemFunc >::Thunk ( const TFunctorBase & ftor,
P1 p1,
P2 p2 )
inlinestatic

Definition at line 475 of file functor.h.


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