#include "../Strings/Strings.hpp"
#include <windows.h>
Go to the source code of this file.
Namespaces | |
namespace | PlatformSpecific |
Classes | |
class | PlatformSpecific::FastLock |
Common inter-thread locking class This will wrap platform specific mutexes and/or critical sections. More... | |
class | PlatformSpecific::FileConvention |
Select the right convention for file naming in the current platform. More... | |
class | PlatformSpecific::LockingConstObjPtr< T > |
This template wraps a volatile object and give access to it while this object is alive This provides enormous advantages, as accessing the volatile object while protected will fail at compile time (and not runtime), so the binary is guaranteed to be thread-access safe. More... | |
class | PlatformSpecific::LockingObjPtr< T > |
This template wraps a volatile object and give access to it while this object is alive This provides enormous advantages, as accessing the volatile object while protected will fail at compile time (and not runtime), so the binary is guaranteed to be thread-access safe. More... | |
class | PlatformSpecific::LockingPtr< T > |
This template wraps a volatile object and give access to it while this object is alive This provides enormous advantages, as accessing the volatile object while protected will fail at compile time (and not runtime), so the binary is guaranteed to be thread-access safe. More... | |
class | PlatformSpecific::ScopeLock |
A simple scope monitoring locking object. More... | |
Typedefs | |
typedef Strings::FastString | PlatformSpecific::String |
Functions | |
template<class T> | |
LockingPtr< T > | PlatformSpecific::AccessProt (volatile T &obj, FastLock &lock) |
template<class T> | |
LockingConstObjPtr< T > | PlatformSpecific::AccessProt (const volatile T *obj) |
template<class T> | |
LockingObjPtr< T > | PlatformSpecific::AccessProt (volatile T &obj) |
Simple template based function to create an temporary object (way simpler than declaring a LockObjPtr instance. | |
const FileConvention & | PlatformSpecific::getCurrentFileConvention () |