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

thread::CallBack::CBFunct Struct Template Reference

Abstract base class, that can be called as call back. More...

#include <thread_util.h>

Inheritance diagram for thread::CallBack::CBFunct:

VTQL::CModul VTQL::CEModul VTQL::CQModul VTQL::EM_PageAlevt VTQL::QM_PageAlevt VTQL::QM_PageL VTQL::QM_Stations List of all members.

Public Types

typedef T Arg

Public Methods

virtual ~CBFunct ()
virtual void operator() (const Arg &a)=0
 The callback function. More...


Detailed Description

template<typename T>
struct thread::CallBack< T >::CBFunct

Abstract base class, that can be called as call back.

You need to inherit your class form this to add it to a CallBack instance

See also:
CallBack


Member Function Documentation

template<typename T>
thread::CallBack< T >::CBFunct::operator() const Arg &    a [pure virtual]
 

The callback function.

This method gets called, if you are in the callback list and CallBack<T>::Run(const T&) is called.

Parameters:
a  The data you get form the calling class via Callback<T>::Run(const T&)

Implemented in VTQL::CModul.


The documentation for this struct was generated from the following file:
Generated on Sun Apr 14 17:37:03 2002 for libvtql by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002