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:

Public Member Functions

 PauseThenWake (ProxyPushSupplierManager *p)
 
 ~PauseThenWake ()
 

Private Member Functions

 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

◆ PauseThenWake() [1/3]

OmniEvents::ProxyPushSupplierManager::PauseThenWake::PauseThenWake ( const PauseThenWake )
private

Dummy, no implementation.

◆ PauseThenWake() [2/3]

OmniEvents::ProxyPushSupplierManager::PauseThenWake::PauseThenWake ( )
private

Dummy, no implementation.

◆ PauseThenWake() [3/3]

OmniEvents::ProxyPushSupplierManager::PauseThenWake::PauseThenWake ( ProxyPushSupplierManager p)
inline

Definition at line 134 of file ProxyPushSupplier.h.

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

◆ ~PauseThenWake()

OmniEvents::ProxyPushSupplierManager::PauseThenWake::~PauseThenWake ( )
inline

Definition at line 142 of file ProxyPushSupplier.h.

Member Data Documentation

◆ _p

ProxyPushSupplierManager* OmniEvents::ProxyPushSupplierManager::PauseThenWake::_p
private

Definition at line 87 of file ProxyPushSupplier.h.

Referenced by PauseThenWake().


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