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

Monitor::Utility::DataConstCallback Class Template Reference

Callback specialised to a const function, taking data (held by callback), of an instance of target class. More...

#include <callback.h>

Inheritance diagram for Monitor::Utility::DataConstCallback:

Monitor::Utility::DataCallback< const TargetClass, TargetData > Monitor::Utility::Callback< const > Monitor::Utility::ClassCallback< const > Monitor::Utility::CallbackBase List of all members.

Public Types

typedef DataCallback< const
TargetClass, TargetData > 
ParentClass
typedef void(TargetClass::* CallbackType )(TargetData) const
 Type of target class method to be invoked by callback. More...


Public Methods

 DataConstCallback (TargetClass &newTargetObject, CallbackType newTargetFunction, const TargetData &newTargetData)
 Constructor. More...

 DataConstCallback (const ParentClass &other)
 Copy Constructor. More...

virtual ~DataConstCallback ()
 Destructor. More...

virtual CallbackBaseclone () const
 Produce a copy of callback. More...

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


Detailed Description

template<class TargetClass, typename TargetData>
class Monitor::Utility::DataConstCallback< TargetClass, TargetData >

Callback specialised to a const function, taking data (held by callback), of an instance of target class.

Definition at line 524 of file callback.h.


Member Typedef Documentation

template<class TargetClass, typename TargetData>
typedef void(TargetClass::* Monitor::Utility::DataConstCallback::CallbackType)(TargetData) const
 

Type of target class method to be invoked by callback.

Reimplemented from Monitor::Utility::DataCallback< const TargetClass, TargetData >.

Definition at line 531 of file callback.h.

Referenced by DataConstCallback.

template<class TargetClass, typename TargetData>
typedef DataCallback< const TargetClass, TargetData > Monitor::Utility::DataConstCallback::ParentClass
 

Definition at line 527 of file callback.h.


Constructor & Destructor Documentation

template<class TargetClass, typename TargetData>
Monitor::Utility::DataConstCallback< TargetClass, TargetData >::DataConstCallback TargetClass &    newTargetObject,
CallbackType    newTargetFunction,
const TargetData &    newTargetData
[inline]
 

Constructor.

Definition at line 537 of file callback.h.

References Monitor::Utility::Callback< const >::Callback, and CallbackType.

Referenced by clone, and operator==.

template<class TargetClass, typename TargetData>
Monitor::Utility::DataConstCallback< TargetClass, TargetData >::DataConstCallback const ParentClass   other [inline]
 

Copy Constructor.

Definition at line 552 of file callback.h.

References Monitor::Utility::Callback< const >::Callback.

template<class TargetClass, typename TargetData>
virtual Monitor::Utility::DataConstCallback< TargetClass, TargetData >::~DataConstCallback   [inline, virtual]
 

Destructor.

Definition at line 560 of file callback.h.


Member Function Documentation

template<class TargetClass, typename TargetData>
virtual CallbackBase* Monitor::Utility::DataConstCallback< TargetClass, TargetData >::clone   const [inline, virtual]
 

Produce a copy of callback.

Returns:
Pointer to new instance.

Reimplemented from Monitor::Utility::DataCallback< const TargetClass, TargetData >.

Definition at line 568 of file callback.h.

References DataConstCallback.

template<class TargetClass, typename TargetData>
int Monitor::Utility::DataConstCallback< TargetClass, TargetData >::operator== const DataConstCallback< TargetClass, TargetData > &    other const [inline]
 

Equivalence operator.

Parameters:
other  Instance to test for equivalence with.

Definition at line 576 of file callback.h.

References DataConstCallback.


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