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

SPARK::TModifierCallback Class Reference

Function wrapper class for modifier callbacks. More...

#include <callback.h>

Inheritance diagram for SPARK::TModifierCallback:

Inheritance graph
[legend]
Collaboration diagram for SPARK::TModifierCallback:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TModifierCallback (enum_policiy_type::enum_type code)
 Constructor for a non-defined callback.

 TModifierCallback (enum_policiy_type::enum_type code, const char *name, function_type ptr, ReturnTypes returnType)
 Constructor for a defined callback.

 TModifierCallback (const TModifierCallback &c)
 Copy constructor.

TModifierCallbackoperator= (const TModifierCallback &c)
 Assignment operator.

void operator() (TObject *object, ArgList args, TargetList targets) const
 Fires the underlying C function that implements the modifier callback.

ReturnTypes GetReturnType () const
 Returns the return type for the modifier callback as ReturnTypes.


Detailed Description

Function wrapper class for modifier callbacks.


Constructor & Destructor Documentation

SPARK::TModifierCallback::TModifierCallback enum_policiy_type::enum_type  code  )  [inline]
 

Constructor for a non-defined callback.

SPARK::TModifierCallback::TModifierCallback enum_policiy_type::enum_type  code,
const char *  name,
function_type  ptr,
ReturnTypes  returnType
[inline]
 

Constructor for a defined callback.

SPARK::TModifierCallback::TModifierCallback const TModifierCallback c  )  [inline]
 

Copy constructor.


Member Function Documentation

TModifierCallback& SPARK::TModifierCallback::operator= const TModifierCallback c  )  [inline]
 

Assignment operator.

void SPARK::TModifierCallback::operator() TObject object,
ArgList  args,
TargetList  targets
const [inline]
 

Fires the underlying C function that implements the modifier callback.

Parameters:
object is a pointer to the TObject instance the non-modifier callback belongs to
args is the list of argument variable as defined in the FUNCTIONS {} statement of the atomic class
targets is the list of target variable as defined in the FUNCTIONS {} statement of the atomic class

ReturnTypes SPARK::TModifierCallback::GetReturnType  )  const [inline]
 

Returns the return type for the modifier callback as ReturnTypes.


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

Generated on 5 Nov 2003 for VisualSPARK 2.01