OmniEvents
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:

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.


Member Data Documentation


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