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

SPARK::TNonModifierCallback Class Reference

Function wrapper class for non-modifier callbacks. More...

#include <callback.h>

Inheritance diagram for SPARK::TNonModifierCallback:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

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

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


Detailed Description

Function wrapper class for non-modifier callbacks.


Constructor & Destructor Documentation

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

Constructor for a non-defined callback.

SPARK::TNonModifierCallback::TNonModifierCallback enum_policiy_type::enum_type  code,
const char *  name,
function_type  ptr
[inline]
 

Constructor for a defined callback.


Member Function Documentation

void SPARK::TNonModifierCallback::operator() TObject object,
ArgList  args
const [inline]
 

Fires the underlying C function that implements the non-modifier callback.

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


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

Generated on 5 Nov 2003 for VisualSPARK 2.01