0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
Hypertable::Barrier::ScopedActivator Class Reference

A helper class to put up a barrier when entering a scope and take it down when leaving the scope. More...

#include <Barrier.h>

Collaboration diagram for Hypertable::Barrier::ScopedActivator:
Collaboration graph
[legend]

Public Member Functions

 ScopedActivator (Barrier &barrier)
 Constructor; "puts up" the barrier. More...
 
 ~ScopedActivator ()
 Destructor; "takes down" the barrier. More...
 

Private Attributes

Barrierm_barrier
 A reference to the Barrier. More...
 

Detailed Description

A helper class to put up a barrier when entering a scope and take it down when leaving the scope.

Definition at line 93 of file Barrier.h.

Constructor & Destructor Documentation

Hypertable::Barrier::ScopedActivator::ScopedActivator ( Barrier barrier)
inline

Constructor; "puts up" the barrier.

Parameters
barrierReference to the Barrier

Definition at line 99 of file Barrier.h.

Hypertable::Barrier::ScopedActivator::~ScopedActivator ( )
inline

Destructor; "takes down" the barrier.

Definition at line 104 of file Barrier.h.

Member Data Documentation

Barrier& Hypertable::Barrier::ScopedActivator::m_barrier
private

A reference to the Barrier.

Definition at line 110 of file Barrier.h.


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