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

#include <owl/functor.h>

Inheritance diagram for owl::TFunctionTranslator1< R, P1, Funct >:
owl::TFunctor1< R, P1 > owl::TFunctorBase

Public Member Functions

 TFunctionTranslator1 (Funct f)
 
- Public Member Functions inherited from owl::TFunctor1< R, P1 >
 TFunctor1 ()
 
R operator() (P1 p1) 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)
 

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

Detailed Description

template<class R, class P1, class Funct>
class owl::TFunctionTranslator1< R, P1, Funct >

Definition at line 313 of file functor.h.

Constructor & Destructor Documentation

◆ TFunctionTranslator1()

template<class R , class P1 , class Funct >
owl::TFunctionTranslator1< R, P1, Funct >::TFunctionTranslator1 ( Funct f)
inline

Definition at line 315 of file functor.h.

References owl::TFunctionTranslator1< R, P1, Funct >::Thunk().

Member Function Documentation

◆ Thunk()

template<class R , class P1 , class Funct >
static R owl::TFunctionTranslator1< R, P1, Funct >::Thunk ( const TFunctorBase & ftor,
P1 p1 )
inlinestatic

Definition at line 317 of file functor.h.


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