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

#include <mutex.h>

Public Types

enum  T { None, ReadLock, WriteLock }
 

Detailed Description

This file is part of the CernVM File System. Used to allow for static polymorphism in the RAII template to statically decide which 'lock' functions to use, if we have more than one possibility. (I.e. Read/Write locks) Note: Static Polymorphism - Strategy Pattern

TODO(jblomer): eventually replace this by C++11 typed enum

Definition at line 24 of file mutex.h.

Member Enumeration Documentation

Enumerator
None 
ReadLock 
WriteLock 

Definition at line 25 of file mutex.h.


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