VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ogrMutex.h
Go to the documentation of this file.
1 
2 
3 
4 
5 #pragma once
6 
8 
9 #include <vlutil/vlMutex.h>
10 #include <vlutil/vlScopedLock.h>
11 
12 #include <boost/noncopyable.hpp>
13 
14 #include <memory>
15 
16 namespace MAKVRinTerra
17 {
23 
24 DT_DLL_features DtMutex & getOgrMutex();
25 
26 DT_DLL_features void setOgrMutex(std::auto_ptr<DtMutex> mutex);
27 
28 typedef void (*OgrMutexLockFunction)();
29 
31 
32 class DT_DLL_features DtScopedOgrLock : private boost::noncopyable
33 {
34 public:
36 private:
37  DtScopedLock myLock;
38 };
39 
40 class DT_DLL_features DtCPLString : private boost::noncopyable
41 {
42 public:
43  explicit DtCPLString(char* cplstring = 0);
44  ~DtCPLString();
45 
46  char* c_str() const;
47  char** toCPL();
48 
49 private:
50  char* myCPLStr;
51 };
52 
53 }

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)