VR-Forces 4.10 Class Documentation
 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 More...

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

Public Member Functions

virtual ~DtOsgShaderFilesCache ()
 DTOR. More...
 
virtual const std::string & loadShaderSource (const std::string &strFileName, bool logWarning=true) const
 Loads shader source code from a file. More...
 
virtual void PreReloadShaders (void)
 pre loading function More...
 
virtual void PostReloadShaders (void)
 post loading function More...
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor. More...
 
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor. More...
 

Static Public Member Functions

static DtOsgShaderFilesCacheinstance (DtDe &de)
 Get the creator. More...
 

Protected Member Functions

 DtOsgShaderFilesCache (DtDe &de)
 CTOR. More...
 

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
 not allowed More...
 
DtOsgShaderFilesCacheoperator= (const DtOsgShaderFilesCache &rhs)=delete
 not allowed More...
 

Detailed Description

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

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 Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)