OGRE-Next  3.0.0unstable
Object-Oriented Graphics Rendering Engine
Ogre::ScriptTranslatorManager Class Referenceabstract

The ScriptTranslatorManager manages the lifetime and access to script translators. More...

#include <OgreScriptTranslator.h>

+ Inheritance diagram for Ogre::ScriptTranslatorManager:

Public Member Functions

virtual ~ScriptTranslatorManager ()
 
virtual size_t getNumTranslators () const =0
 Returns the number of translators being managed. More...
 
virtual ScriptTranslatorgetTranslator (const AbstractNodePtr &)=0
 Returns a manager for the given object abstract node, or null if it is not supported. More...
 

Detailed Description

The ScriptTranslatorManager manages the lifetime and access to script translators.

You register these managers with the ScriptCompilerManager tied to specific object types. Each manager may manage multiple types.

Constructor & Destructor Documentation

◆ ~ScriptTranslatorManager()

virtual Ogre::ScriptTranslatorManager::~ScriptTranslatorManager ( )
inlinevirtual

Member Function Documentation

◆ getNumTranslators()

virtual size_t Ogre::ScriptTranslatorManager::getNumTranslators ( ) const
pure virtual

Returns the number of translators being managed.

Implemented in Ogre::BuiltinScriptTranslatorManager.

◆ getTranslator()

virtual ScriptTranslator* Ogre::ScriptTranslatorManager::getTranslator ( const AbstractNodePtr )
pure virtual

Returns a manager for the given object abstract node, or null if it is not supported.

Implemented in Ogre::BuiltinScriptTranslatorManager.


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