tCallback Class Reference

#include <tCallback.h>

Inheritance diagram for tCallback:

Inheritance graph
[legend]
Collaboration diagram for tCallback:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 tCallback (tCallback *&anchor, AA_VOIDFUNC *f)

Static Public Member Functions

static void Exec (tCallback *anchor)

Private Attributes

AA_VOIDFUNCfunc


Detailed Description

Definition at line 35 of file tCallback.h.


Constructor & Destructor Documentation

tCallback::tCallback ( tCallback *&  anchor,
AA_VOIDFUNC f 
)

Definition at line 32 of file tCallback.cpp.

References NULL, and tASSERT.

00033         :tListItem<tCallback>(anchor), func(f){
00034     tASSERT(f != NULL);
00035 }


Member Function Documentation

void tCallback::Exec ( tCallback anchor  )  [static]

Definition at line 37 of file tCallback.cpp.

References func, and tListItem< T >::Next().

Referenced by rCenterDisplayCallback::CenterDisplay(), rCallbackAfterScreenModeChange::Exec(), and rCallbackBeforeScreenModeChange::Exec().

00037                                      {
00038     if (anchor){
00039         (*anchor->func)();
00040         Exec(anchor->Next());
00041     }
00042 }

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

AA_VOIDFUNC* tCallback::func [private]

Definition at line 36 of file tCallback.h.

Referenced by Exec().


The documentation for this class was generated from the following files:
Generated on Sat Mar 15 23:54:58 2008 for Armagetron Advanced by  doxygen 1.5.4