CLAM::FileSystem Class Reference

#include <FileSystem.hxx>

List of all members.


Detailed Description

Definition at line 31 of file 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 FileSystemGetInstance ()

Protected Types

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

Protected Member Functions

 FileSystem ()

Protected Attributes

FileStatusTable mLockedFiles
Mutex mFileLockingSemaphor

Member Typedef Documentation

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

Definition at line 47 of file FileSystem.hxx.


Constructor & Destructor Documentation

CLAM::FileSystem::~FileSystem (  ) 

Definition at line 31 of file FileSystem.cxx.

CLAM::FileSystem::FileSystem (  )  [protected]

Definition at line 27 of file FileSystem.cxx.


Member Function Documentation

FileSystem & CLAM::FileSystem::GetInstance (  )  [static]

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

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

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

Definition at line 57 of file FileSystem.cxx.

References mFileLockingSemaphor, and mLockedFiles.


Member Data Documentation

Definition at line 49 of file FileSystem.hxx.

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

Definition at line 50 of file FileSystem.hxx.

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


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

Generated on Tue Aug 12 22:33:50 2008 for CLAM by  doxygen 1.5.5