#include <FileSystem.hxx>
Public Member Functions | |
~FileSystem () | |
void | UnlockFile (std::string filename) |
void | LockFile (std::string filename) |
bool | IsFileLocked (std::string filename) |
Static Public Member Functions | |
static FileSystem & | GetInstance () |
Protected Types | |
typedef std::map< std::string, bool > | FileStatusTable |
Protected Member Functions | |
FileSystem () | |
Protected Attributes | |
FileStatusTable | mLockedFiles |
Mutex | mFileLockingSemaphor |
Definition at line 31 of file FileSystem.hxx.
typedef std::map< std::string, bool > CLAM::FileSystem::FileStatusTable [protected] |
Definition at line 47 of file FileSystem.hxx.
CLAM::FileSystem::~FileSystem | ( | ) |
Definition at line 28 of file FileSystem.cxx.
CLAM::FileSystem::FileSystem | ( | ) | [protected] |
Definition at line 24 of file FileSystem.cxx.
FileSystem & CLAM::FileSystem::GetInstance | ( | ) | [static] |
Definition at line 32 of file FileSystem.cxx.
bool CLAM::FileSystem::IsFileLocked | ( | std::string | filename | ) |
Definition at line 54 of file FileSystem.cxx.
void CLAM::FileSystem::LockFile | ( | std::string | filename | ) |
Definition at line 47 of file FileSystem.cxx.
void CLAM::FileSystem::UnlockFile | ( | std::string | filename | ) |
Definition at line 40 of file FileSystem.cxx.
Mutex CLAM::FileSystem::mFileLockingSemaphor [protected] |
Definition at line 50 of file FileSystem.hxx.
FileStatusTable CLAM::FileSystem::mLockedFiles [protected] |
Definition at line 49 of file FileSystem.hxx.