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

#include <owl/functor.h>

Inheritance diagram for owl::TFunctionTranslator0< R, Funct >:
owl::TFunctor0< R > owl::TFunctorBase

Public Member Functions

 TFunctionTranslator0 (Funct f)
 
- Public Member Functions inherited from owl::TFunctor0< R >
 TFunctor0 ()
 
R operator() () 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)
 

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

Detailed Description

template<class R, class Funct>
class owl::TFunctionTranslator0< R, Funct >

Definition at line 173 of file functor.h.

Constructor & Destructor Documentation

◆ TFunctionTranslator0()

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

Definition at line 175 of file functor.h.

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

Member Function Documentation

◆ Thunk()

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

Definition at line 177 of file functor.h.


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