Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members  

Monitor::Utility::ClassCallback Class Template Reference

Callback specialised to an instance of target class. More...

#include <callback.h>

Inheritance diagram for Monitor::Utility::ClassCallback:

Monitor::Utility::CallbackBase Monitor::Utility::Callback Monitor::Utility::ConstCallback Monitor::Utility::DataCallback Monitor::Utility::InfoCallback List of all members.

Public Methods

 ClassCallback (TargetClass &newTargetObject)
 Constructor. More...

 ClassCallback (const ClassCallback &other)
 Copy Constructor. More...

virtual ~ClassCallback ()
 Destructor. More...

int operator== (const ClassCallback &other) const
 Equivalence operator. More...

virtual int isTarget (const void *testTarget) const
 Test if object is the target for this callback. More...


Protected Attributes

TargetClass & targetObject
 Object which is the target of this callback. More...


Detailed Description

template<class TargetClass>
class Monitor::Utility::ClassCallback< TargetClass >

Callback specialised to an instance of target class.

Definition at line 215 of file callback.h.


Constructor & Destructor Documentation

template<class TargetClass>
Monitor::Utility::ClassCallback< TargetClass >::ClassCallback TargetClass &    newTargetObject [inline]
 

Constructor.

Definition at line 221 of file callback.h.

Referenced by Monitor::Utility::Callback< const >::Callback, Monitor::Utility::ClassCallback< const >::ClassCallback, and Monitor::Utility::ClassCallback< const >::operator==.

template<class TargetClass>
Monitor::Utility::ClassCallback< TargetClass >::ClassCallback const ClassCallback< TargetClass > &    other [inline]
 

Copy Constructor.

Definition at line 230 of file callback.h.

template<class TargetClass>
virtual Monitor::Utility::ClassCallback< TargetClass >::~ClassCallback   [inline, virtual]
 

Destructor.

Definition at line 239 of file callback.h.


Member Function Documentation

template<class TargetClass>
virtual int Monitor::Utility::ClassCallback< TargetClass >::isTarget const void *    testTarget const [inline, virtual]
 

Test if object is the target for this callback.

Returns:
!0 if is target, otherwise 0.

Implements Monitor::Utility::CallbackBase.

Definition at line 258 of file callback.h.

template<class TargetClass>
int Monitor::Utility::ClassCallback< TargetClass >::operator== const ClassCallback< TargetClass > &    other const [inline]
 

Equivalence operator.

Parameters:
other  Instance to test for equivalence with.

Definition at line 247 of file callback.h.


Member Data Documentation

template<class TargetClass>
TargetClass& Monitor::Utility::ClassCallback::targetObject [protected]
 

Object which is the target of this callback.

Definition at line 267 of file callback.h.

Referenced by Monitor::Utility::ClassCallback< const >::ClassCallback, Monitor::Utility::InfoCallback::invoke, Monitor::Utility::DataCallback< const TargetClass, TargetData >::invoke, Monitor::Utility::ConstCallback::invoke, Monitor::Utility::Callback< const >::invoke, Monitor::Utility::ClassCallback< const >::isTarget, and Monitor::Utility::ClassCallback< const >::operator==.


Generated on Wed Oct 29 21:30:12 2003 for Utility C++ by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002