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

Public Types | |
| typedef void(TargetClass::* | CallbackType )() |
| Type of target class method to be invoked by callback. More... | |
Public Methods | |
| Callback (TargetClass &newTargetObject, CallbackType newTargetFunction) | |
| Constructor. More... | |
| Callback (const Callback &other) | |
| Copy Constructor. More... | |
| virtual | ~Callback () |
| Destructor. More... | |
| virtual CallbackBase * | clone () const |
| Produce a copy of callback. More... | |
| int | operator== (const Callback &other) const |
| Equivalence operator. More... | |
| virtual int | isEqual (const CallbackBase &other) const |
| Override of generic equivalence test. 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 277 of file callback.h.
|
|||||
|
Type of target class method to be invoked by callback.
Reimplemented in Monitor::Utility::ConstCallback. Definition at line 283 of file callback.h. Referenced by Monitor::Utility::Callback< const >::Callback. |
|
||||||||||||||||
|
||||||||||
|
Copy Constructor.
Definition at line 299 of file callback.h. |
|
|||||||||
|
Destructor.
Definition at line 308 of file callback.h. |
|
|||||||||
|
Produce a copy of callback.
Implements Monitor::Utility::CallbackBase. Reimplemented in Monitor::Utility::ConstCallback. Definition at line 316 of file callback.h. |
|
||||||||||
|
Invoke callback.
Implements Monitor::Utility::CallbackBase. Reimplemented in Monitor::Utility::ConstCallback. Definition at line 346 of file callback.h. |
|
||||||||||
|
Override of generic equivalence test.
Reimplemented from Monitor::Utility::CallbackBase. Reimplemented in Monitor::Utility::DataCallback. Definition at line 336 of file callback.h. |
|
||||||||||
|
Equivalence operator.
Definition at line 324 of file callback.h. |
|
|||||||||
|
Test if callback is set, that is can it be invoked.
Implements Monitor::Utility::CallbackBase. Definition at line 354 of file callback.h. |
|
|||||
|
Definition at line 357 of file callback.h. Referenced by Monitor::Utility::Callback< const >::Callback, Monitor::Utility::Callback< const >::invoke, Monitor::Utility::Callback< const >::operator==, and Monitor::Utility::Callback< const >::set. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002