|
OGRE
1.9.0
|
Manages threaded compilation of scripts. More...
#include <OgreScriptCompiler.h>

Public Member Functions | |
| ScriptCompilerManager () | |
| virtual | ~ScriptCompilerManager () |
| void | addScriptPattern (const String &pattern) |
| Adds a script extension that can be handled (e.g. *.material, *.pu, etc.) | |
| void | addTranslatorManager (ScriptTranslatorManager *man) |
| Adds the given translator manager to the list of managers. | |
| void | clearTranslatorManagers () |
| Clears all translator managers. | |
| ScriptCompilerListener * | getListener () |
| Returns the currently set listener used for compiler instances. | |
| Real | getLoadingOrder (void) const |
| Gets the relative loading order of scripts of this type. | |
| const StringVector & | getScriptPatterns (void) const |
| Gets the file patterns which should be used to find scripts for this class. | |
| ScriptTranslator * | getTranslator (const AbstractNodePtr &node) |
| Retrieves a ScriptTranslator from the supported managers. | |
| void | operator delete (void *ptr) |
| void | operator delete (void *ptr) |
| void | operator delete (void *ptr, const char *, int, const char *) |
| void | operator delete (void *ptr, const char *, int, const char *) |
| void | operator delete (void *ptr, void *) |
| void | operator delete (void *ptr, void *) |
| void | operator delete[] (void *ptr) |
| void | operator delete[] (void *ptr) |
| void | operator delete[] (void *ptr, const char *, int, const char *) |
| void | operator delete[] (void *ptr, const char *, int, const char *) |
| void * | operator new (size_t sz) |
| void * | operator new (size_t sz) |
| void * | operator new (size_t sz, const char *file, int line, const char *func) |
| operator new, with debug line info | |
| void * | operator new (size_t sz, const char *file, int line, const char *func) |
| operator new, with debug line info | |
| void * | operator new (size_t sz, void *ptr) |
| placement operator new | |
| void * | operator new (size_t sz, void *ptr) |
| placement operator new | |
| void * | operator new[] (size_t sz) |
| void * | operator new[] (size_t sz) |
| void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info | |
| void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info | |
| void | parseScript (DataStreamPtr &stream, const String &groupName) |
| Parse a script file. | |
| uint32 | registerCustomWordId (const String &word) |
| Adds a custom word id which can be used for custom script translators. | |
| void | removeTranslatorManager (ScriptTranslatorManager *man) |
| Removes the given translator manager from the list of managers. | |
| void | setListener (ScriptCompilerListener *listener) |
| Sets the listener used for compiler instances. | |
Static Public Member Functions | |
| static ScriptCompilerManager & | getSingleton (void) |
| Override standard Singleton retrieval. | |
| static ScriptCompilerManager * | getSingletonPtr (void) |
| Override standard Singleton retrieval. | |
Static Protected Attributes | |
| static ScriptCompilerManager * | msSingleton |
Private Member Functions | |
| OGRE_THREAD_POINTER (ScriptCompiler, mScriptCompiler) | |
Private Attributes | |
| ScriptTranslatorManager * | mBuiltinTranslatorManager |
| ScriptCompilerListener * | mListener |
| vector< ScriptTranslatorManager * >::type | mManagers |
| StringVector | mScriptPatterns |
| OGRE_AUTO_MUTEX | |
Manages threaded compilation of scripts.
This script loader forwards scripts compilations to a specific compiler instance.
Definition at line 402 of file OgreScriptCompiler.h.
| Ogre::ScriptCompilerManager::ScriptCompilerManager | ( | ) |
Referenced by getSingleton(), and getSingletonPtr().
|
virtual |
| void Ogre::ScriptCompilerManager::addScriptPattern | ( | const String & | pattern | ) |
Adds a script extension that can be handled (e.g. *.material, *.pu, etc.)
| void Ogre::ScriptCompilerManager::addTranslatorManager | ( | ScriptTranslatorManager * | man | ) |
Adds the given translator manager to the list of managers.
| void Ogre::ScriptCompilerManager::clearTranslatorManagers | ( | ) |
Clears all translator managers.
| ScriptCompilerListener * Ogre::ScriptCompilerManager::getListener | ( | ) |
Returns the currently set listener used for compiler instances.
|
virtual |
Gets the relative loading order of scripts of this type.
Implements Ogre::ScriptLoader.
|
virtual |
Gets the file patterns which should be used to find scripts for this class.
Implements Ogre::ScriptLoader.
|
static |
Override standard Singleton retrieval.
References ScriptCompilerManager().
|
static |
Override standard Singleton retrieval.
References ScriptCompilerManager().
| ScriptTranslator * Ogre::ScriptCompilerManager::getTranslator | ( | const AbstractNodePtr & | node | ) |
Retrieves a ScriptTranslator from the supported managers.
|
private |
|
inherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
|
virtual |
Parse a script file.
| stream | Weak reference to a data stream which is the source of the script |
| groupName | The name of a resource group which should be used if any resources are created during the parse of this script. |
Implements Ogre::ScriptLoader.
Adds a custom word id which can be used for custom script translators.
| word | The word to be registered. |
| void Ogre::ScriptCompilerManager::removeTranslatorManager | ( | ScriptTranslatorManager * | man | ) |
Removes the given translator manager from the list of managers.
| void Ogre::ScriptCompilerManager::setListener | ( | ScriptCompilerListener * | listener | ) |
Sets the listener used for compiler instances.
|
private |
Definition at line 417 of file OgreScriptCompiler.h.
|
private |
Definition at line 411 of file OgreScriptCompiler.h.
|
private |
Definition at line 414 of file OgreScriptCompiler.h.
|
private |
Definition at line 408 of file OgreScriptCompiler.h.
|
staticprotectedinherited |
Definition at line 75 of file OgreSingleton.h.
|
private |
Definition at line 405 of file OgreScriptCompiler.h.
1.13.2