Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages
Ogre::FactoryObj Class Template Reference
Abstract factory class.
More...
#include <OgreFactoryObj.h>
List of all members.
Detailed Description
template<typename T>
class Ogre::FactoryObj< T >
Abstract factory class.
Does nothing by itself, but derived classes can add functionality.
Constructor & Destructor Documentation
template<typename T> |
virtual Ogre::FactoryObj< T >::~FactoryObj |
( |
|
) |
[inline, virtual] |
|
Member Function Documentation
template<typename T> |
virtual T* Ogre::FactoryObj< T >::createObj |
( |
const String & |
name |
) |
[pure virtual] |
|
|
'Produces' a new object.
-
Parameters:
-
name |
Name of the object to create |
-
Returns:
-
An object created by the factory. The type of the object depends on the factory.
Implemented in Ogre::ArchiveFactory. |
template<typename T> |
virtual String Ogre::FactoryObj< T >::getType |
( |
|
) |
[pure virtual] |
|
Copyright © 2002 by The OGRE Team