#include <Iguana/Utilities/classlib/iobase/FileLock.h>
Public Member Functions | |
FileLock (File *file, IOOffset pos, IOOffset len, bool write=true, bool wait=false) | |
FileLock (void) | |
void | lock (File *file, IOOffset pos, IOOffset length, bool write=true, bool wait=false) |
void | unlock (void) |
~FileLock (void) | |
Static Public Member Functions | |
static bool | locked (File *file, IOOffset pos, IOOffset length, bool write=true) |
Private Member Functions | |
FileLock (const FileLock &) | |
FileLock & | operator= (const FileLock &) |
Static Private Member Functions | |
static void | unlock (File *file, IOOffset pos, IOOffset length) |
Private Attributes | |
File * | m_file |
IOOffset | m_length |
IOOffset | m_offset |
Definition at line 19 of file FileLock.h.
lat::FileLock::FileLock | ( | void | ) |
lat::FileLock::FileLock | ( | File * | file, | |
IOOffset | pos, | |||
IOOffset | len, | |||
bool | write = true , |
|||
bool | wait = false | |||
) |
lat::FileLock::~FileLock | ( | void | ) |
lat::FileLock::FileLock | ( | const FileLock & | ) | [private] |
void lat::FileLock::lock | ( | File * | file, | |
IOOffset | pos, | |||
IOOffset | length, | |||
bool | write = true , |
|||
bool | wait = false | |||
) |
static bool lat::FileLock::locked | ( | File * | file, | |
IOOffset | pos, | |||
IOOffset | length, | |||
bool | write = true | |||
) | [static] |
File* lat::FileLock::m_file [private] |
Definition at line 41 of file FileLock.h.
IOOffset lat::FileLock::m_length [private] |
Definition at line 43 of file FileLock.h.
IOOffset lat::FileLock::m_offset [private] |
Definition at line 42 of file FileLock.h.