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

ACE_Future_Observer Class Template Reference

ACE_Future_Observer<T>. More...

#include <Future.h>

Inheritance diagram for ACE_Future_Observer:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual ~ACE_Future_Observer (void)
 Destructor. More...

virtual void update (const ACE_Future< T > &future)=0
 Called by the ACE_Future in which we are subscribed to when its value is written to. More...


Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks. More...


Protected Methods

 ACE_Future_Observer (void)
 Constructor. More...


Detailed Description

template<class T>
class ACE_Future_Observer< T >

ACE_Future_Observer<T>.

An ACE_Future_Observer object implements an object that is subscribed with an ACE_Future object so that it may be notified when the value of the ACE_Future object is written to by a writer thread. It uses the Observer pattern

Definition at line 69 of file Future.h.


Constructor & Destructor Documentation

template<class T>
ACE_Future_Observer< T >::~ACE_Future_Observer void    [virtual]
 

Destructor.

Definition at line 38 of file Future.cpp.

00039 {
00040 }

template<class T>
ACE_Future_Observer< T >::ACE_Future_Observer void    [protected]
 

Constructor.

Definition at line 33 of file Future.cpp.

00034 {
00035 }


Member Function Documentation

template<class T>
virtual void ACE_Future_Observer< T >::update const ACE_Future< T > &    future [pure virtual]
 

Called by the ACE_Future in which we are subscribed to when its value is written to.

Implemented in ACE_Future_Set.

Referenced by ACE_Future_Rep::attach, and ACE_Future_Rep::set.


Member Data Documentation

template<class T>
ACE_Future_Observer::ACE_ALLOC_HOOK_DECLARE
 

Declare the dynamic allocation hooks.

Reimplemented in ACE_Future_Set.

Definition at line 80 of file Future.h.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 12:48:11 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002