#include <OgreCompositorScriptCompiler2.h>

Public Member Functions | |
| CompositorScriptCompilerListener () | |
| Compositor * | getCompositor (const String &name, const String &group) |
| Override this to customly allocate compositors. | |
| virtual bool | processNode (ScriptNodeList::iterator &iter, ScriptNodeList::iterator &end, CompositorScriptCompiler2 *) |
| Override this to do custom processing. | |
| virtual ConcreteNodeListPtr | importFile (ScriptCompiler *compiler, const String &name) |
| Returns the concrete node list from the given file. | |
| virtual void | preConversion (ScriptCompiler *compiler, ConcreteNodeListPtr nodes) |
| Allows for responding to and overriding behavior before a CST is translated into an AST. | |
| virtual bool | postConversion (ScriptCompiler *compiler, const AbstractNodeListPtr &) |
| Allows vetoing of continued compilation after the entire AST conversion process finishes. | |
| virtual void | handleError (ScriptCompiler *compiler, uint32 code, const String &file, int line, const String &msg) |
| Called when an error occurred. | |
| virtual bool | handleEvent (ScriptCompiler *compiler, const String &name, const std::vector< Ogre::Any > &args, Ogre::Any *retval) |
| Called when an event occurs during translation, return true if handled. | |
| virtual Ogre::Any | createObject (ScriptCompiler *compiler, const String &type, const std::vector< Ogre::Any > &args) |
| Called when a translator requests a concrete object to be created. | |
It allows for notifications and overriding of compiler functions.
Definition at line 45 of file OgreCompositorScriptCompiler2.h.
| Ogre::CompositorScriptCompilerListener::CompositorScriptCompilerListener | ( | ) |
| Compositor* Ogre::CompositorScriptCompilerListener::getCompositor | ( | const String & | name, | |
| const String & | group | |||
| ) |
Override this to customly allocate compositors.
| virtual bool Ogre::CompositorScriptCompilerListener::processNode | ( | ScriptNodeList::iterator & | iter, | |
| ScriptNodeList::iterator & | end, | |||
| CompositorScriptCompiler2 * | ||||
| ) | [virtual] |
Override this to do custom processing.
| virtual ConcreteNodeListPtr Ogre::ScriptCompilerListener::importFile | ( | ScriptCompiler * | compiler, | |
| const String & | name | |||
| ) | [virtual, inherited] |
Returns the concrete node list from the given file.
| virtual void Ogre::ScriptCompilerListener::preConversion | ( | ScriptCompiler * | compiler, | |
| ConcreteNodeListPtr | nodes | |||
| ) | [virtual, inherited] |
Allows for responding to and overriding behavior before a CST is translated into an AST.
| virtual bool Ogre::ScriptCompilerListener::postConversion | ( | ScriptCompiler * | compiler, | |
| const AbstractNodeListPtr & | ||||
| ) | [virtual, inherited] |
Allows vetoing of continued compilation after the entire AST conversion process finishes.
| virtual void Ogre::ScriptCompilerListener::handleError | ( | ScriptCompiler * | compiler, | |
| uint32 | code, | |||
| const String & | file, | |||
| int | line, | |||
| const String & | msg | |||
| ) | [virtual, inherited] |
Called when an error occurred.
| virtual bool Ogre::ScriptCompilerListener::handleEvent | ( | ScriptCompiler * | compiler, | |
| const String & | name, | |||
| const std::vector< Ogre::Any > & | args, | |||
| Ogre::Any * | retval | |||
| ) | [virtual, inherited] |
Called when an event occurs during translation, return true if handled.
| virtual Ogre::Any Ogre::ScriptCompilerListener::createObject | ( | ScriptCompiler * | compiler, | |
| const String & | type, | |||
| const std::vector< Ogre::Any > & | args | |||
| ) | [virtual, inherited] |
Called when a translator requests a concrete object to be created.
Copyright © 2008 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Jul 26 11:33:02 2009