Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Examples

SPARK::TFreeFunctionWrapper< FreeFuncPtrType > Class Template Reference

Wrapper class for any free function that is invoked as an atomic class callback. More...

#include <callback.h>

Inheritance diagram for SPARK::TFreeFunctionWrapper< FreeFuncPtrType >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 TFreeFunctionWrapper ()
 Default constructor.

 TFreeFunctionWrapper (const TFreeFunctionWrapper &w)
 Copy constructor.

 TFreeFunctionWrapper (const char *name, FreeFuncPtrType t)
 Constructor.

 ~TFreeFunctionWrapper () throw ()
 Destructor.

TFreeFunctionWrapperoperator= (const TFreeFunctionWrapper &w)
 Assignment operator.

const char * GetName () const
 Returns name of the callback function as const char*.

 operator bool () const
 Returns true if wrapper contains a valid callback function.


Detailed Description

template<typename FreeFuncPtrType>
class SPARK::TFreeFunctionWrapper< FreeFuncPtrType >

Wrapper class for any free function that is invoked as an atomic class callback.


Constructor & Destructor Documentation

template<typename FreeFuncPtrType>
SPARK::TFreeFunctionWrapper< FreeFuncPtrType >::TFreeFunctionWrapper  )  [inline]
 

Default constructor.

template<typename FreeFuncPtrType>
SPARK::TFreeFunctionWrapper< FreeFuncPtrType >::TFreeFunctionWrapper const TFreeFunctionWrapper< FreeFuncPtrType > &  w  )  [inline]
 

Copy constructor.

template<typename FreeFuncPtrType>
SPARK::TFreeFunctionWrapper< FreeFuncPtrType >::TFreeFunctionWrapper const char *  name,
FreeFuncPtrType  t
[inline]
 

Constructor.

template<typename FreeFuncPtrType>
SPARK::TFreeFunctionWrapper< FreeFuncPtrType >::~TFreeFunctionWrapper  )  throw () [inline]
 

Destructor.


Member Function Documentation

template<typename FreeFuncPtrType>
TFreeFunctionWrapper& SPARK::TFreeFunctionWrapper< FreeFuncPtrType >::operator= const TFreeFunctionWrapper< FreeFuncPtrType > &  w  )  [inline]
 

Assignment operator.

template<typename FreeFuncPtrType>
const char* SPARK::TFreeFunctionWrapper< FreeFuncPtrType >::GetName  )  const [inline]
 

Returns name of the callback function as const char*.

template<typename FreeFuncPtrType>
SPARK::TFreeFunctionWrapper< FreeFuncPtrType >::operator bool  )  const [inline]
 

Returns true if wrapper contains a valid callback function.


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

Generated on 5 Nov 2003 for VisualSPARK 2.01