A helper class to put up a barrier when entering a scope and take it down when leaving the scope. More...
#include <Barrier.h>
Public Member Functions | |
ScopedActivator (Barrier &barrier) | |
Constructor; "puts up" the barrier. More... | |
~ScopedActivator () | |
Destructor; "takes down" the barrier. More... | |
Private Attributes | |
Barrier & | m_barrier |
A reference to the Barrier. More... | |
A helper class to put up a barrier when entering a scope and take it down when leaving the scope.
|
inline |
|
inline |
|
private |