Public Member Functions

CallBackSet Class Reference

TypeSet of CallBacks with a few extras. More...

Inheritance diagram for CallBackSet:
TypeSet< CallBack > OD::Set

List of all members.

Public Member Functions

void doCall (CallBacker *, const bool *enabledflag=0, CallBacker *exclude=0)
void removeWith (CallBacker *)
 Removes callbacks to this caller.

Detailed Description

TypeSet of CallBacks with a few extras.


Member Function Documentation

void CallBackSet::doCall ( CallBacker obj,
const bool *  enabledflag = 0,
CallBacker exclude = 0 
) [inline]
Parameters:
enabledflag If enabledflag points to a bool (i.e. is non-zero) that bool will be checked between each call. If the bool is false, the traverse will stop and the remaining cbs won't be called. This makes it possible to terminate a traverse during the traversal.
void CallBackSet::removeWith ( CallBacker cbrm  )  [inline]

Removes callbacks to this caller.