SPH
Public Member Functions | List of all members
FileSystem::FileLock Class Reference

Locks a file. More...

#include <FileSystem.h>

Public Member Functions

 FileLock (const Path &path)
 
void lock ()
 
void unlock ()
 

Detailed Description

Locks a file.

Satisfies requirements of Lockable type, so it can be used with std::unique_lock, for example.

Todo:
UNFINISHED

Definition at line 189 of file FileSystem.h.

Constructor & Destructor Documentation

◆ FileLock()

FileSystem::FileLock::FileLock ( const Path path)
explicit

Definition at line 350 of file FileSystem.cpp.

Member Function Documentation

◆ lock()

void FileSystem::FileLock::lock ( )

Definition at line 355 of file FileSystem.cpp.

◆ unlock()

void FileSystem::FileLock::unlock ( )

Definition at line 359 of file FileSystem.cpp.


The documentation for this class was generated from the following files: