ACE  6.0.6
Public Member Functions | Public Attributes | Protected Member Functions
ACE_Future_Observer Class Reference

ACE_Future_Observer<T> More...

#include <Future.h>

List of all members.

Public Member Functions

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

Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks.

Protected Member Functions

 ACE_Future_Observer (void)
 Constructor.

Detailed Description

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

virtual ACE_Future_Observer::~ACE_Future_Observer ( void  ) [virtual]

Destructor.

ACE_Future_Observer::ACE_Future_Observer ( void  ) [protected]

Constructor.


Member Function Documentation

virtual void ACE_Future_Observer::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.


Member Data Documentation

Declare the dynamic allocation hooks.

Reimplemented in ACE_Future_Set.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines