VR-Vantage 3.0 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtLockfile.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <map>
12 #include <boost/thread.hpp>
13 #include <vrvUtil/vrvUtil.h>
14 
15 namespace makVrv
16 {
17 
18  //TODO MOVE to VRVUtil
22  {
23  public:
25  DtLockfile();
26 
28  virtual ~DtLockfile();
29 
31  typedef std::map<std::string, boost::recursive_mutex*> fileMapType;
32 
35  virtual boost::recursive_mutex* getFileMutex(const std::string& theFile);
36 
38  mutable boost::mutex myFilesMapMutex;
39 
42 
43  protected:
45  virtual void deleteFileMutex();
46 
47  };
48 }


Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)