CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FenceGuard Class Reference

#include <fence.h>

Collaboration diagram for FenceGuard:

Public Member Functions

 FenceGuard (Fence *fence)
 
 ~FenceGuard ()
 

Private Attributes

Fencefence_
 

Detailed Description

RAII wrapper in case an entire function or code block should be protected by a fence.

Definition at line 82 of file fence.h.

Constructor & Destructor Documentation

FenceGuard::FenceGuard ( Fence fence)
inlineexplicit

Definition at line 84 of file fence.h.

FenceGuard::~FenceGuard ( )
inline

Definition at line 87 of file fence.h.

Member Data Documentation

Fence* FenceGuard::fence_
private

Definition at line 91 of file fence.h.


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