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

Functor with 1 parameter, return R. More...

#include <owl/functor.h>

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

Public Member Functions

 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)
 

Protected Types

typedef R(* TThunk) (const TFunctorBase &, P1)
 

Protected Member Functions

 TFunctor1 (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 owl::TFunctor1< R, P1 >

Functor with 1 parameter, return R.

Definition at line 294 of file functor.h.

Member Typedef Documentation

◆ TThunk

template<class R , class P1 >
typedef R(* owl::TFunctor1< R, P1 >::TThunk) (const TFunctorBase &, P1)
protected

Definition at line 304 of file functor.h.

Constructor & Destructor Documentation

◆ TFunctor1() [1/2]

template<class R , class P1 >
owl::TFunctor1< R, P1 >::TFunctor1 ( )
inline

Definition at line 296 of file functor.h.

◆ TFunctor1() [2/2]

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

Definition at line 305 of file functor.h.

Member Function Documentation

◆ operator()()

template<class R , class P1 >
R owl::TFunctor1< R, P1 >::operator() ( P1 p1) const
inline

Definition at line 298 of file functor.h.


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