AndroMeta  2.0.0
AndroMeta/include/AndroMeta/MRecMutex.h
Go to the documentation of this file.
00001 /*
00002  * Copyright 2009-2012 AndroMeta LLC. All rights reserved.
00003  *
00004  * AndroMeta LLC retains all intellectual property and proprietary 
00005  * rights to this software and related documentation and any modifications 
00006  * thereto.  Any use, reproduction, disclosure, or distribution of this 
00007  * software and related documentation without an express license agreement 
00008  * from AndroMeta LLC is strictly prohibited.
00009  * 
00010  */
00011 
00018 #ifndef ANDROMETA_M_REC_MUTEX_H
00019 #define ANDROMETA_M_REC_MUTEX_H
00020 
00021 namespace Meta{
00022   
00031   class MRecMutex{
00032   public:
00033     
00037     MRecMutex();
00038     
00042     ~MRecMutex();
00043     
00047     void lock();
00048     
00052     void unlock();
00053     
00054   private:  
00055     MRecMutex(const MRecMutex&);
00056     MRecMutex& operator=(const MRecMutex&);
00057     
00058     class MRecMutex_* x_;
00059   };
00060   
00061 } // end namespace Meta
00062 
00063 #endif // ANDROMETA_M_REC_MUTEX_H