tCallbackOr Class Reference

#include <tCallback.h>

Inheritance diagram for tCallbackOr:

Inheritance graph
[legend]
Collaboration diagram for tCallbackOr:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 tCallbackOr (tCallbackOr *&anchor, BOOLRETFUNC *f)

Static Public Member Functions

static bool Exec (tCallbackOr *anchor)

Private Attributes

BOOLRETFUNCfunc


Detailed Description

Definition at line 60 of file tCallback.h.


Constructor & Destructor Documentation

tCallbackOr::tCallbackOr ( tCallbackOr *&  anchor,
BOOLRETFUNC f 
)

Definition at line 80 of file tCallback.cpp.

References tASSERT.

00081         :tListItem<tCallbackOr>(anchor), func(f){
00082     tASSERT(f);
00083 }


Member Function Documentation

bool tCallbackOr::Exec ( tCallbackOr anchor  )  [static]

Definition at line 85 of file tCallback.cpp.

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

Referenced by rForceTextCallback::ForceText(), eTransferInhibitor::no_transfer(), rNoAutoDisplayAtNewlineCallback::NoAutoDisplayAtNewline(), and rSmallConsoleCallback::SmallColsole().

00085                                          {
00086     if (anchor)
00087         return (*anchor->func)() || Exec(anchor->Next());
00088     else
00089         return false;
00090 }

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

BOOLRETFUNC* tCallbackOr::func [private]

Definition at line 61 of file tCallback.h.

Referenced by Exec().


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