Pothos  0.4.1-gb758ed46
The Pothos dataflow programming software suite
FileLock.hpp
Go to the documentation of this file.
1 
11 #pragma once
12 #include <Pothos/Config.hpp>
13 #include <string>
14 #include <memory>
15 
16 namespace Pothos {
17 namespace Util {
18 
25 {
26 public:
27 
32  FileLock(const std::string &filePath);
33 
38  ~FileLock(void);
39 
41  void lock(void);
42 
44  void unlock(void);
45 
46 private:
47  struct Impl;
48  Impl *_impl;
49 
50  FileLock(const FileLock&){}
51  void operator=(const FileLock&){}
52 };
53 
54 } //namespace Util
55 } //namespace Pothos
#define POTHOS_API
Definition: Config.hpp:41
Definition: Testing.hpp:134
Definition: FileLock.hpp:24