ACE  6.1.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
ACE_Future_Observer< T > Class Template Referenceabstract

ACE_Future_Observer<T> More...

#include <Future.h>

Inheritance diagram for ACE_Future_Observer< T >:
Inheritance graph

Public Member Functions

virtual ~ACE_Future_Observer (void)
 Destructor. More...
virtual void update (const ACE_Future< T > &future)=0

Public Attributes

 Declare the dynamic allocation hooks. More...

Protected Member Functions

 ACE_Future_Observer (void)
 Constructor. More...

Detailed Description

template<class T>
class 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<class T >
ACE_Future_Observer< T >::~ACE_Future_Observer ( void  )


template<class T >
ACE_Future_Observer< T >::ACE_Future_Observer ( void  )


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< T >.

Member Data Documentation

template<class T >

Declare the dynamic allocation hooks.

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