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

[legend]
List of all members.

## Public Methods
virtual | ~ACE_Future_Observer (void)
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.
## Public Attributes
| ACE_ALLOC_HOOK_DECLARE
| Declare the dynamic allocation hooks.
## Protected Methods
| ACE_Future_Observer (void)

## Detailed Description

### template<class T> template class ACE_Future_Observer

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

## Constructor & Destructor Documentation

template<classT>
ACE_Future_Observer< T >::~ACE_Future_Observer<T> ( | void )`[virtual]`

template<classT>
ACE_Future_Observer< T >::ACE_Future_Observer<T> ( | void )`[protected]`

## Member Function Documentation

template<classT>
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. Reimplemented in ACE_Future_Set.

## Member Data Documentation

template<classT>
ACE_Future_Observer<T>::ACE_ALLOC_HOOK_DECLARE

| Declare the dynamic allocation hooks. Reimplemented in ACE_Future_Set.

The documentation for this class was generated from the following files:

- Future.h
- Future.cpp