13 #include <osgDB/Registry>
16 #include <shared_mutex>
30 const std::string&
filename, osgDB::ReaderWriter::ArchiveStatus status,
31 unsigned int indexBlockSizeHint,
32 const osgDB::ReaderWriter::Options* useObjectCache)
override;
35 const std::string& filename,
const osgDB::ReaderWriter::Options* options)
override;
37 osgDB::ReaderWriter::ReadResult
readImage(
38 const std::string& filename,
const osgDB::ReaderWriter::Options* options)
override;
41 const std::string& filename,
const osgDB::ReaderWriter::Options* options)
override;
43 osgDB::ReaderWriter::ReadResult
readNode(
44 const std::string& filename,
const osgDB::ReaderWriter::Options* options)
override;
47 const std::string& filename,
const osgDB::ReaderWriter::Options* options)
override;
osgDB::ReaderWriter::ReadResult readNode(const std::string &filename, const osgDB::ReaderWriter::Options *options) override
void deactivate()
called by the creator DtOsgFileCache to indicate that the cache is no longer valid and should not be ...
osgDB::ReaderWriter::ReadResult readImage(const std::string &filename, const osgDB::ReaderWriter::Options *options) override
osgDB::ReaderWriter::ReadResult openArchive(const std::string &filename, osgDB::ReaderWriter::ArchiveStatus status, unsigned int indexBlockSizeHint, const osgDB::ReaderWriter::Options *useObjectCache) override
DtReadFileCallback(DtOsgFileCache *cache)
std::shared_timed_mutex myCacheValidMutex
read/write mutex protecting the myCache raw pointer
Definition: DtReadFileCallback.h:52
osgDB::ReaderWriter::ReadResult readShader(const std::string &filename, const osgDB::ReaderWriter::Options *options) override
The OSG implementation of makVrv::DtOsgFileCache. This will cache files as .ive's for quicker load ti...
Definition: DtOsgFileCache.h:56
osgDB::ReaderWriter::ReadResult readHeightField(const std::string &filename, const osgDB::ReaderWriter::Options *options) override
virtual ~DtReadFileCallback()
Definition: DtReadFileCallback.h:22
osgDB::ReaderWriter::ReadResult readObject(const std::string &filename, const osgDB::ReaderWriter::Options *options) override
Contains DLL export macros.
DtOsgFileCache * myCache
(raw) pointer to the file cache to use under the hood
Definition: DtReadFileCallback.h:55