OGRE  1.12.13
Object-Oriented Graphics Rendering Engine
Ogre::PortalFactory Class Reference

Factory object for creating Portal instances. More...

#include <OgrePortal.h>

+ Inheritance diagram for Ogre::PortalFactory:

Public Member Functions

 PortalFactory ()
 
 ~PortalFactory ()
 
const StringgetType () const
 Get the type of the object to be created. More...
 
bool requestTypeFlags () const
 Return true here as we want to get a unique type flag. More...
 
- Public Member Functions inherited from Ogre::MovableObjectFactory
 MovableObjectFactory ()
 
virtual ~MovableObjectFactory ()
 
void _notifyTypeFlags (uint32 flag)
 Notify this factory of the type mask to apply. More...
 
MovableObjectcreateInstance (const String &name, SceneManager *manager, const NameValuePairList *params=0)
 Create a new instance of the object. More...
 
virtual void destroyInstance (MovableObject *obj)
 Destroy an instance of the object. More...
 
uint32 getTypeFlags (void) const
 Gets the type flag for this factory. More...
 

Static Public Attributes

static unsigned long FACTORY_TYPE_FLAG
 
static String FACTORY_TYPE_NAME
 

Detailed Description

Factory object for creating Portal instances.

Constructor & Destructor Documentation

◆ PortalFactory()

Ogre::PortalFactory::PortalFactory ( )
inline

◆ ~PortalFactory()

Ogre::PortalFactory::~PortalFactory ( )
inline

Member Function Documentation

◆ getType()

const String& Ogre::PortalFactory::getType ( ) const
inlinevirtual

Get the type of the object to be created.

Implements Ogre::MovableObjectFactory.

◆ requestTypeFlags()

bool Ogre::PortalFactory::requestTypeFlags ( ) const
inlinevirtual

Return true here as we want to get a unique type flag.

Reimplemented from Ogre::MovableObjectFactory.

Member Data Documentation

◆ FACTORY_TYPE_NAME

String Ogre::PortalFactory::FACTORY_TYPE_NAME
static

◆ FACTORY_TYPE_FLAG

unsigned long Ogre::PortalFactory::FACTORY_TYPE_FLAG
static

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