10 #ifndef SRC_INCLUDE_FILELOCK_H_    11 #define SRC_INCLUDE_FILELOCK_H_    13 #include <boost/filesystem.hpp>    39   explicit FileLock(
const bf::path& path);
    61 #endif  // SRC_INCLUDE_FILELOCK_H_ bool acquire()
Try to acquire the file lock. 
 
~FileLock()
Delete the lock file when the guard is destroyed. 
 
bool acquired_
Whether the lock has been acquired. 
 
bf::path path_
Path to the file lock. 
 
Guard to create a file lock. 
 
FileLock(const bf::path &path)
Construct a file lock guard with a lock file at the given path.