Ogre::ScriptTranslatorManager Class Referenceabstract
Core » General

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

`#include <OgreScriptTranslator.h>`

Inheritance diagram for Ogre::ScriptTranslatorManager:
[legend]

## Public Member Functions

virtual | ~ScriptTranslatorManager ()
virtual size_t | getNumTranslators () const =0
| Returns the number of translators being managed. More...
virtual ScriptTranslator * | getTranslator (const AbstractNodePtr &)=0
| Returns a manager for the given object abstract node, or null if it is not supported. More...
void | operator delete (void *ptr)
void | operator delete (void *ptr, void *)
void | operator delete (void *ptr, const char *, int, const char *)
void | operator delete[] (void *ptr)
void | operator delete[] (void *ptr, const char *, int, const char *)
void * | operator new (size_t sz, const char *file, int line, const char *func)
| operator new, with debug line info More...
void * | operator new (size_t sz)
void * | operator new (size_t sz, void *ptr)
| placement operator new More...
void * | operator new[] (size_t sz, const char *file, int line, const char *func)
| array operator new, with debug line info More...
void * | operator new[] (size_t sz)

## 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.

Definition at line 101 of file OgreScriptTranslator.h.

## Constructor & Destructor Documentation

## ~ScriptTranslatorManager()

virtual Ogre::ScriptTranslatorManager::~ScriptTranslatorManager | ( |  | ) |

virtual

Definition at line 105 of file OgreScriptTranslator.h.

## Member Function Documentation

## getNumTranslators()

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

pure virtual

Returns the number of translators being managed.

Implemented in Ogre::RTShader::ShaderGenerator::SGScriptTranslatorManager, and 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::RTShader::ShaderGenerator::SGScriptTranslatorManager, and Ogre::BuiltinScriptTranslatorManager.

## operator delete() [1/3]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr | ) |

inherited

Definition at line 96 of file OgreMemoryAllocatedObject.h.

## operator delete() [2/3]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr,
|  | void * |
| ) |  |

inherited

Definition at line 102 of file OgreMemoryAllocatedObject.h.

## operator delete() [3/3]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr,
|  | const char * | ,
|  | int | ,
|  | const char * |
| ) |  |

inherited

Definition at line 108 of file OgreMemoryAllocatedObject.h.

## operator delete[]() [1/2]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr | ) |

inherited

Definition at line 113 of file OgreMemoryAllocatedObject.h.

## operator delete[]() [2/2]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr,
|  | const char * | ,
|  | int | ,
|  | const char * |
| ) |  |

inherited

Definition at line 119 of file OgreMemoryAllocatedObject.h.

## operator new() [1/3]

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz,
|  | const char * | file,
|  | int | line,
|  | const char * | func
| ) |  |

inherited

operator new, with debug line info

Definition at line 68 of file OgreMemoryAllocatedObject.h.

## operator new() [2/3]

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz | ) |

inherited

Definition at line 73 of file OgreMemoryAllocatedObject.h.

## operator new() [3/3]

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz,
|  | void * | ptr
| ) |  |

inherited

placement operator new

Definition at line 79 of file OgreMemoryAllocatedObject.h.

## operator new[]() [1/2]

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz,
|  | const char * | file,
|  | int | line,
|  | const char * | func
| ) |  |

inherited

array operator new, with debug line info

Definition at line 86 of file OgreMemoryAllocatedObject.h.

## operator new[]() [2/2]

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz | ) |

inherited

Definition at line 91 of file OgreMemoryAllocatedObject.h.

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

- OgreScriptTranslator.h

Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.