VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Public Attributes | Protected Member Functions
makVrv::DtLockfile Class Reference

Logic class for encrypting and decrypting MAK Encrypted Data Format files.

Public Types

typedef std::map< std::string,
boost::recursive_mutex * > 
fileMapType
 

Public Member Functions

 DtLockfile ()
 
virtual ~DtLockfile ()
 
virtual boost::recursive_mutex * getFileMutex (const std::string &theFile)
 

Public Attributes

boost::mutex myFilesMapMutex
 
fileMapType myFileMap
 

Protected Member Functions

virtual void deleteFileMutex ()
 

Member Typedef Documentation

typedef std::map<std::string, boost::recursive_mutex*> makVrv::DtLockfile::fileMapType

file map type

Constructor & Destructor Documentation

makVrv::DtLockfile::DtLockfile ( )

CTOR.

virtual makVrv::DtLockfile::~DtLockfile ( )
virtual

DTOR.

Member Function Documentation

virtual boost::recursive_mutex* makVrv::DtLockfile::getFileMutex ( const std::string &  theFile)
virtual

lock a image file so it cannot be read by a different thread when getting written

virtual void makVrv::DtLockfile::deleteFileMutex ( )
protectedvirtual

unlock a image file so it can be read now

Member Data Documentation

boost::mutex makVrv::DtLockfile::myFilesMapMutex
mutable

mutex for the map

fileMapType makVrv::DtLockfile::myFileMap

file map


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

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)