Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

OmniEvents::ProxyPushSupplierManager::PauseThenWake Class Reference

Helper class that locks ProxyPushSupplier upon construction, and wakes it up on destruction. More...

#include <ProxyPushSupplier.h>

Collaboration diagram for OmniEvents::ProxyPushSupplierManager::PauseThenWake:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PauseThenWake (ProxyPushSupplierManager *p)
 ~PauseThenWake ()

Private Member Functions

 PauseThenWake (const PauseThenWake &)
 Dummy, no implementation.
 PauseThenWake ()
 Dummy, no implementation.

Private Attributes

ProxyPushSupplierManager_p

Detailed Description

Helper class that locks ProxyPushSupplier upon construction, and wakes it up on destruction.

By contrast, just locking & unlocking the mutex pauses the thread, but doesn't wake it up any faster than it would have woken anyway.

Definition at line 85 of file ProxyPushSupplier.h.


Constructor & Destructor Documentation

OmniEvents::ProxyPushSupplierManager::PauseThenWake::PauseThenWake const PauseThenWake  )  [private]
 

Dummy, no implementation.

OmniEvents::ProxyPushSupplierManager::PauseThenWake::PauseThenWake  )  [private]
 

Dummy, no implementation.

OmniEvents::ProxyPushSupplierManager::PauseThenWake::PauseThenWake ProxyPushSupplierManager p  )  [inline]
 

Definition at line 134 of file ProxyPushSupplier.h.

References OmniEvents::ProxyPushSupplierManager::_lock, and _p.

OmniEvents::ProxyPushSupplierManager::PauseThenWake::~PauseThenWake  )  [inline]
 

Definition at line 142 of file ProxyPushSupplier.h.

References OmniEvents::ProxyPushSupplierManager::_condition, OmniEvents::ProxyPushSupplierManager::_lock, and _p.


Member Data Documentation

ProxyPushSupplierManager* OmniEvents::ProxyPushSupplierManager::PauseThenWake::_p [private]
 

Definition at line 87 of file ProxyPushSupplier.h.

Referenced by PauseThenWake(), and ~PauseThenWake().


The documentation for this class was generated from the following file:
Generated on Fri Aug 26 20:56:17 2005 for OmniEvents by  doxygen 1.4.3-20050530