cvedia::rt::FileMutex¶
Public Functions¶
| Name | |
|---|---|
| FileMutex(std::string const & lockFile) | |
| ~FileMutex() | |
| FileMutex(FileMutex const & ) =delete | |
| FileMutex & | operator=(FileMutex const & ) =delete |
| FileMutex(FileMutex && other) | |
| FileMutex & | operator=(FileMutex && other) |
| void | lock() |
| bool | try_lock() |
| void | unlock() |
| bool | try_lock_for(std::chrono::milliseconds const & timeout) |
| bool | isLocked() const |
| std::string const & | getLockFile() const |
Public Functions Documentation¶
function FileMutex¶
explicit FileMutex(
std::string const & lockFile
)
function ~FileMutex¶
~FileMutex()
function FileMutex¶
FileMutex(
FileMutex const &
) =delete
function operator=¶
FileMutex & operator=(
FileMutex const &
) =delete
function FileMutex¶
FileMutex(
FileMutex && other
)
function operator=¶
FileMutex & operator=(
FileMutex && other
)
function lock¶
void lock()
function try_lock¶
bool try_lock()
function unlock¶
void unlock()
function try_lock_for¶
bool try_lock_for(
std::chrono::milliseconds const & timeout
)
function isLocked¶
bool isLocked() const
function getLockFile¶
std::string const & getLockFile() const
Updated on 2025-10-21 at 08:11:05 +0000