Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound 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 Methods

 PauseThenWake (ProxyPushSupplierManager *p)
 ~PauseThenWake ()

Private Methods

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

 PauseThenWake ()
 Dummy, no implementation. More...


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 133 of file ProxyPushSupplier.h.

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

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

Definition at line 141 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 Nov 19 17:42:37 2004 for OmniEvents by doxygen1.2.15