OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TFunctorBase Class Reference

Base functor class holds all of the actual data. More...

#include <owl/functor.h>

Inheritance diagram for owl::TFunctorBase:
owl::TFunctor0< owl::TColor & > owl::TFunctor0< owl::TColorScheme & > owl::TFunctor0< bool > owl::TFunctor0< owl::TIPtrArray & > owl::TFunctor0< T & > owl::TFunctor0< T > owl::TFunctor1< T &, int > owl::TFunctor1< T, int > owl::TFunctorV1< const owl::TColor & > owl::TFunctorV1< const owl::TColorScheme & > owl::TFunctorV1< owl::TPalette * > owl::TFunctorV1< owl::TWindow * > owl::TFunctorV1< owl::TTooltip * > owl::TFunctorV1< bool > owl::TFunctorV1< const T & > owl::TFunctorV1< T > owl::TFunctorV2< int, const T & > owl::TFunctorV2< int, T > owl::TFunctor0< R > owl::TFunctor1< R, P1 > owl::TFunctor2< R, P1, P2 > owl::TFunctor3< R, P1, P2, P3 > owl::TFunctor4< R, P1, P2, P3, P4 > owl::TFunctor5< R, P1, P2, P3, P4, P5 > owl::TFunctor6< R, P1, P2, P3, P4, P5, P6 > owl::TFunctorV0 owl::TFunctorV1< P1 > owl::TFunctorV2< P1, P2 > owl::TFunctorV3< P1, P2, P3 > owl::TFunctorV4< P1, P2, P3, P4 > owl::TFunctorV5< P1, P2, P3, P4, P5 > owl::TFunctorV6< P1, P2, P3, P4, P5, P6 >

Public Types

typedef void(TFunctorBase::* TMemberFunc) ()
 

Public Member Functions

 operator bool () const
 
 TFunctorBase ()
 
 TFunctorBase (const void *c, const void *f, size_t sz)
 

Public Attributes

union { 
 
   const void *   Func 
 
   char   MemberFunc [sizeof(TMemberFunc)] 
 ASSUMES this is always enough space. More...
 
};  
 
voidCallee
 

Detailed Description

Base functor class holds all of the actual data.

Definition at line 68 of file functor.h.

Member Typedef Documentation

◆ TMemberFunc

typedef void(TFunctorBase::* owl::TFunctorBase::TMemberFunc) ()

Definition at line 71 of file functor.h.

Constructor & Destructor Documentation

◆ TFunctorBase() [1/2]

owl::TFunctorBase::TFunctorBase ( )
inline

Definition at line 73 of file functor.h.

◆ TFunctorBase() [2/2]

owl::TFunctorBase::TFunctorBase ( const void * c,
const void * f,
size_t sz )

Definition at line 22 of file functor.cpp.

References Callee, Func, and MemberFunc.

Member Function Documentation

◆ operator bool()

owl::TFunctorBase::operator bool ( ) const
inline

Definition at line 70 of file functor.h.

Member Data Documentation

◆ [union]

union { ... } owl::TFunctorBase

◆ Callee

void* owl::TFunctorBase::Callee

Definition at line 81 of file functor.h.

◆ Func

const void* owl::TFunctorBase::Func

Definition at line 78 of file functor.h.

◆ MemberFunc

char owl::TFunctorBase::MemberFunc[sizeof(TMemberFunc)]

ASSUMES this is always enough space.

Definition at line 79 of file functor.h.


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