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

#include <repository_util.h>

Inheritance diagram for publish::ServerLockFileGuard:
Collaboration diagram for publish::ServerLockFileGuard:

Public Member Functions

 ServerLockFileGuard (ServerLockFile &lock)
 
 ~ServerLockFileGuard ()
 

Private Attributes

ServerLockFilelock_
 

Additional Inherited Members

- Private Member Functions inherited from SingleCopy
 SingleCopy ()
 

Detailed Description

RAII lock owner for ServerLockFile

TODO(mcb30): C++11 - replace by std::lock_guard<ServerLockFile>

Definition at line 94 of file repository_util.h.

Constructor & Destructor Documentation

publish::ServerLockFileGuard::ServerLockFileGuard ( ServerLockFile lock)
inlineexplicit

Definition at line 96 of file repository_util.h.

Here is the call graph for this function:

publish::ServerLockFileGuard::~ServerLockFileGuard ( )
inline

Definition at line 99 of file repository_util.h.

Here is the call graph for this function:

Member Data Documentation

ServerLockFile& publish::ServerLockFileGuard::lock_
private

Definition at line 104 of file repository_util.h.

Referenced by ServerLockFileGuard(), and ~ServerLockFileGuard().


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