CLAM-Development  1.1
Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
CLAM::FileSystem Class Reference

#include <FileSystem.hxx>

List of all members.

Public Member Functions

 ~FileSystem ()
void UnlockFile (std::string filename)
void LockFile (std::string filename)
bool IsFileLocked (std::string filename)

Static Public Member Functions

static FileSystemGetInstance ()

Protected Types

typedef std::map< std::string,
bool > 
FileStatusTable

Protected Member Functions

 FileSystem ()

Protected Attributes

FileStatusTable mLockedFiles
Mutex mFileLockingSemaphor

Detailed Description

Definition at line 31 of file FileSystem.hxx.


Member Typedef Documentation

typedef std::map< std::string, bool > CLAM::FileSystem::FileStatusTable [protected]

Definition at line 47 of file FileSystem.hxx.


Constructor & Destructor Documentation

Definition at line 31 of file FileSystem.cxx.

Definition at line 27 of file FileSystem.cxx.


Member Function Documentation

bool CLAM::FileSystem::IsFileLocked ( std::string  filename)

Definition at line 57 of file FileSystem.cxx.

References mFileLockingSemaphor, and mLockedFiles.

void CLAM::FileSystem::LockFile ( std::string  filename)
void CLAM::FileSystem::UnlockFile ( std::string  filename)

Member Data Documentation

Definition at line 50 of file FileSystem.hxx.

Referenced by IsFileLocked(), LockFile(), and UnlockFile().

Definition at line 49 of file FileSystem.hxx.

Referenced by IsFileLocked(), LockFile(), and UnlockFile().


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