Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members
E:/Programming/MyProject/K_Game_hg/GameEngine/include/platform/Mutex.h
Go to the documentation of this file.
00001 // Copyright 2006-2011 by Kat'Oun
00002 
00003 #ifndef _MUTEX_H_
00004 #define _MUTEX_H_
00005 
00006 #include <EngineConfig.h>
00007 #include <core/Types.h>
00008 
00009 namespace platform
00010 {
00011 
00013 class ENGINE_PUBLIC_EXPORT Mutex
00014 {
00015 public:
00016 
00017         Mutex();
00018 
00019         ~Mutex();
00020 
00021 protected:
00022 
00023         virtual void lockImpl();
00024 
00025         virtual void unlockImpl();
00026 };
00027 
00029 class ENGINE_PUBLIC_EXPORT RecursiveMutex
00030 {
00031 public:
00032 
00033         RecursiveMutex();
00034 
00035         ~RecursiveMutex();
00036 
00037 protected:
00038 
00039         virtual void lockImpl();
00040 
00041         virtual void unlockImpl();
00042 };
00043 
00045 class ENGINE_PUBLIC_EXPORT ReadWriteMutex
00046 {
00047 public:
00048 
00049         ReadWriteMutex();
00050 
00051         ~ReadWriteMutex();
00052 
00053 protected:
00054 
00055         virtual void lockImpl();
00056 
00057         virtual void unlockImpl();
00058 };
00059 
00060 } // end namespace platform
00061 
00062 #endif

The KG Game Engine
The KG Game Engine Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:04 by Doxygen (1.7.4)