VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Friends
makVrv::DtReadFileCallback Class Reference
Inheritance diagram for makVrv::DtReadFileCallback:
Inheritance graph
[legend]

Public Member Functions

 DtReadFileCallback (DtOsgFileCache *cache)
 
virtual ~DtReadFileCallback ()
 
osgDB::ReaderWriter::ReadResult openArchive (const std::string &filename, osgDB::ReaderWriter::ArchiveStatus status, unsigned int indexBlockSizeHint, const osgDB::ReaderWriter::Options *useObjectCache) override
 
osgDB::ReaderWriter::ReadResult readObject (const std::string &filename, const osgDB::ReaderWriter::Options *options) override
 
osgDB::ReaderWriter::ReadResult readImage (const std::string &filename, const osgDB::ReaderWriter::Options *options) override
 
osgDB::ReaderWriter::ReadResult readHeightField (const std::string &filename, const osgDB::ReaderWriter::Options *options) override
 
osgDB::ReaderWriter::ReadResult readNode (const std::string &filename, const osgDB::ReaderWriter::Options *options) override
 
osgDB::ReaderWriter::ReadResult readShader (const std::string &filename, const osgDB::ReaderWriter::Options *options) override
 

Protected Member Functions

void deactivate ()
 

Protected Attributes

std::recursive_mutex myCacheValidMutex
 
DtOsgFileCachemyCache = nullptr
 

Friends

class DtOsgFileCache
 

Constructor & Destructor Documentation

makVrv::DtReadFileCallback::DtReadFileCallback ( DtOsgFileCache cache)
virtual makVrv::DtReadFileCallback::~DtReadFileCallback ( )
virtual

Member Function Documentation

osgDB::ReaderWriter::ReadResult makVrv::DtReadFileCallback::openArchive ( const std::string &  filename,
osgDB::ReaderWriter::ArchiveStatus  status,
unsigned int  indexBlockSizeHint,
const osgDB::ReaderWriter::Options *  useObjectCache 
)
override
osgDB::ReaderWriter::ReadResult makVrv::DtReadFileCallback::readObject ( const std::string &  filename,
const osgDB::ReaderWriter::Options *  options 
)
override
osgDB::ReaderWriter::ReadResult makVrv::DtReadFileCallback::readImage ( const std::string &  filename,
const osgDB::ReaderWriter::Options *  options 
)
override
osgDB::ReaderWriter::ReadResult makVrv::DtReadFileCallback::readHeightField ( const std::string &  filename,
const osgDB::ReaderWriter::Options *  options 
)
override
osgDB::ReaderWriter::ReadResult makVrv::DtReadFileCallback::readNode ( const std::string &  filename,
const osgDB::ReaderWriter::Options *  options 
)
override
osgDB::ReaderWriter::ReadResult makVrv::DtReadFileCallback::readShader ( const std::string &  filename,
const osgDB::ReaderWriter::Options *  options 
)
override
void makVrv::DtReadFileCallback::deactivate ( )
protected

called by the creator DtOsgFileCache to indicate that the cache is no longer valid and should not be used any more

Friends And Related Function Documentation

friend class DtOsgFileCache
friend

Member Data Documentation

std::recursive_mutex makVrv::DtReadFileCallback::myCacheValidMutex
mutableprotected

read/write mutex protecting the myCache raw pointer

DtOsgFileCache* makVrv::DtReadFileCallback::myCache = nullptr
protected

(raw) pointer to the file cache to use under the hood


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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)