#include <callback.h>
Inheritance diagram for Monitor::Utility::FuncCallback:

Public Types | |
| typedef void(* | CallbackType )() |
| Type of function to be invoked by callback. More... | |
Public Methods | |
| FuncCallback (CallbackType newTargetFunction) | |
| Constructor. More... | |
| FuncCallback (const FuncCallback &other) | |
| Copy Constructor. More... | |
| virtual | ~FuncCallback () |
| Destructor. More... | |
| virtual CallbackBase * | clone () const |
| Produce a copy of callback. More... | |
| int | operator== (const FuncCallback &other) const |
| Equivalence operator. More... | |
| virtual int | isEqual (const CallbackBase &other) const |
| Override of generic equivalence test. More... | |
| virtual int | isTarget (const void *) const |
| Test if object is the target for this callback. More... | |
| virtual void | invoke (const void *) const |
| Invoke callback. More... | |
| virtual int | set () const |
| Test if callback is set, that is can it be invoked. More... | |
Protected Attributes | |
| CallbackType | targetFunction |
Definition at line 117 of file callback.h.
|
|
Type of function to be invoked by callback.
Definition at line 123 of file callback.h. Referenced by FuncCallback. |
|
|
Constructor.
Definition at line 129 of file callback.h. References Monitor::Utility::CallbackBase::CallbackBase, CallbackType, and targetFunction. Referenced by clone, FuncCallback, and operator==. |
|
|
Copy Constructor.
Definition at line 138 of file callback.h. References Monitor::Utility::CallbackBase::CallbackBase, FuncCallback, and targetFunction. |
|
|
Destructor.
Definition at line 147 of file callback.h. |
|
|
Produce a copy of callback.
Implements Monitor::Utility::CallbackBase. Definition at line 155 of file callback.h. References FuncCallback. |
|
|
Invoke callback.
Implements Monitor::Utility::CallbackBase. Definition at line 195 of file callback.h. |
|
|
Override of generic equivalence test.
Reimplemented from Monitor::Utility::CallbackBase. Definition at line 174 of file callback.h. References Monitor::Utility::CallbackBase::CallbackBase. |
|
|
Test if object is the target for this callback.
Implements Monitor::Utility::CallbackBase. Definition at line 185 of file callback.h. |
|
|
Equivalence operator.
Definition at line 163 of file callback.h. References FuncCallback, and targetFunction. |
|
|
Test if callback is set, that is can it be invoked.
Implements Monitor::Utility::CallbackBase. Definition at line 203 of file callback.h. References targetFunction. |
|
|
Definition at line 206 of file callback.h. Referenced by FuncCallback, operator==, and set. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002