CMS 3D CMS Logo

lat::FileLock Class Reference

#include <Iguana/Utilities/classlib/iobase/FileLock.h>

List of all members.

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 &)
FileLockoperator= (const FileLock &)

Static Private Member Functions

static void unlock (File *file, IOOffset pos, IOOffset length)

Private Attributes

Filem_file
IOOffset m_length
IOOffset m_offset


Detailed Description

Definition at line 19 of file FileLock.h.


Constructor & Destructor Documentation

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]


Member Function Documentation

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]

FileLock& lat::FileLock::operator= ( const FileLock  )  [private]

static void lat::FileLock::unlock ( File file,
IOOffset  pos,
IOOffset  length 
) [static, private]

void lat::FileLock::unlock ( void   ) 


Member Data Documentation

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.


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:48:25 2009 for CMSSW by  doxygen 1.5.4