tCallbackAnd Class Reference

#include <tCallback.h>

Inheritance diagram for tCallbackAnd:

Inheritance graph
[legend]
Collaboration diagram for tCallbackAnd:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 tCallbackAnd (tCallbackAnd *&anchor, BOOLRETFUNC *f)

Static Public Member Functions

static bool Exec (tCallbackAnd *anchor)

Private Attributes

BOOLRETFUNCfunc


Detailed Description

Definition at line 53 of file tCallback.h.


Constructor & Destructor Documentation

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

Definition at line 67 of file tCallback.cpp.

References tASSERT.

00068         :tListItem<tCallbackAnd>(anchor), func(f){
00069     tASSERT(f);
00070 }


Member Function Documentation

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

Definition at line 72 of file tCallback.cpp.

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

00072                                            {
00073     if (anchor)
00074         return (*anchor->func)() && Exec(anchor->Next());
00075     else
00076         return true;
00077 }

Here is the call graph for this function:


Member Data Documentation

BOOLRETFUNC* tCallbackAnd::func [private]

Definition at line 54 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:59 2008 for Armagetron Advanced by  doxygen 1.5.4