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

class for holding loader shader files, so that they are not repeatedly loaded from disk

Inheritance diagram for makVrv::DtOsgShaderFilesCache:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtOsgShaderFilesCache ()
 
virtual const std::string & loadShaderSource (const std::string &strFileName, bool logWarning=true) const
 
virtual void PreReloadShaders (void)
 
virtual void PostReloadShaders (void)
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 
virtual ~DtVirtualBaseClass ()
 

Static Public Member Functions

static DtOsgShaderFilesCacheinstance (DtDe &de)
 

Protected Member Functions

 DtOsgShaderFilesCache (DtDe &de)
 

Protected Attributes

MapStringToString myMutableShaderFilesCache
 
OpenThreads::Mutex myShaderFilesCacheMutex
 
DtDemyDe
 
boost::mutex myMutex
 

Static Protected Attributes

static const std::string theEmptyString
 

Private Member Functions

 DtOsgShaderFilesCache ()=delete
 
 DtOsgShaderFilesCache (const DtOsgShaderFilesCache &rhs)=delete
 
DtOsgShaderFilesCacheoperator= (const DtOsgShaderFilesCache &rhs)=delete
 

Constructor & Destructor Documentation

virtual makVrv::DtOsgShaderFilesCache::~DtOsgShaderFilesCache ( )
virtual

DTOR.

makVrv::DtOsgShaderFilesCache::DtOsgShaderFilesCache ( DtDe de)
protected

CTOR.

makVrv::DtOsgShaderFilesCache::DtOsgShaderFilesCache ( )
privatedelete
makVrv::DtOsgShaderFilesCache::DtOsgShaderFilesCache ( const DtOsgShaderFilesCache rhs)
privatedelete

not allowed

Member Function Documentation

DtOsgShaderFilesCache& makVrv::DtOsgShaderFilesCache::operator= ( const DtOsgShaderFilesCache rhs)
privatedelete

not allowed

virtual const std::string& makVrv::DtOsgShaderFilesCache::loadShaderSource ( const std::string &  strFileName,
bool  logWarning = true 
) const
virtual

Loads shader source code from a file.

virtual void makVrv::DtOsgShaderFilesCache::PreReloadShaders ( void  )
virtual

pre loading function

virtual void makVrv::DtOsgShaderFilesCache::PostReloadShaders ( void  )
virtual

post loading function

static DtOsgShaderFilesCache& makVrv::DtOsgShaderFilesCache::instance ( DtDe de)
static

Get the creator.

Exceptions
DtCorruptedStateif no instance is found.

Member Data Documentation

const std::string makVrv::DtOsgShaderFilesCache::theEmptyString
staticprotected
MapStringToString makVrv::DtOsgShaderFilesCache::myMutableShaderFilesCache
mutableprotected
OpenThreads::Mutex makVrv::DtOsgShaderFilesCache::myShaderFilesCacheMutex
protected
DtDe& makVrv::DtOsgShaderFilesCache::myDe
protected
boost::mutex makVrv::DtOsgShaderFilesCache::myMutex
mutableprotected

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

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)