HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PDG_EventQueue::ScopedPause Class Reference

#include <PDG_EventQueue.h>

Public Member Functions

 ScopedPause (PDG_EventQueue *queue)
 
 ~ScopedPause ()
 

Detailed Description

Scoped object that pauses event handling. Pausing is implemented with an atomic counter on the queue, so nested ScopedPause objects work as expected. Each scoped pause increments the pause request counter, so event processing will only proceed once all ScopedPause objects are unwound.

Definition at line 43 of file PDG_EventQueue.h.

Constructor & Destructor Documentation

PDG_EventQueue::ScopedPause::ScopedPause ( PDG_EventQueue queue)
inline

Definition at line 46 of file PDG_EventQueue.h.

PDG_EventQueue::ScopedPause::~ScopedPause ( )
inline

Definition at line 52 of file PDG_EventQueue.h.


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