OGRE-Next  2.3
Object-Oriented Graphics Rendering Engine
Ogre::PCZoneFactoryManager Class Reference

#include <OgrePCZoneFactory.h>

+ Inheritance diagram for Ogre::PCZoneFactoryManager:

Public Types

typedef MapIterator< PCZoneFactoryMapPCZoneFactoryIterator
 
typedef map< String, PCZoneFactory * >::type PCZoneFactoryMap
 

Public Member Functions

 PCZoneFactoryManager ()
 
 ~PCZoneFactoryManager ()
 
PCZonecreatePCZone (PCZSceneManager *pczsm, const String &zoneType, const String &zoneName)
 
PCZoneFactoryIterator getPCZoneFactoryIterator (void)
 Return an iterator over the PCZone factories currently registered. More...
 
void operator delete (void *ptr)
 
void operator delete (void *ptr, const char *, int, const char *)
 
void operator delete (void *ptr, void *)
 
void operator delete[] (void *ptr)
 
void operator delete[] (void *ptr, const char *, int, const char *)
 
void * operator new (size_t sz)
 
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 *ptr)
 placement operator new More...
 
void * operator new[] (size_t sz)
 
void * operator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info More...
 
void registerPCZoneFactory (PCZoneFactory *factory)
 
void unregisterPCZoneFactory (PCZoneFactory *factory)
 

Static Public Member Functions

static PCZoneFactoryManagergetSingleton (void)
 Override standard Singleton retrieval. More...
 
static PCZoneFactoryManagergetSingletonPtr (void)
 Override standard Singleton retrieval. More...
 

Member Typedef Documentation

◆ PCZoneFactoryIterator

◆ PCZoneFactoryMap

Constructor & Destructor Documentation

◆ PCZoneFactoryManager()

Ogre::PCZoneFactoryManager::PCZoneFactoryManager ( )

◆ ~PCZoneFactoryManager()

Ogre::PCZoneFactoryManager::~PCZoneFactoryManager ( )

Member Function Documentation

◆ createPCZone()

PCZone* Ogre::PCZoneFactoryManager::createPCZone ( PCZSceneManager pczsm,
const String zoneType,
const String zoneName 
)

◆ getPCZoneFactoryIterator()

PCZoneFactoryIterator Ogre::PCZoneFactoryManager::getPCZoneFactoryIterator ( void  )

Return an iterator over the PCZone factories currently registered.

◆ getSingleton()

static PCZoneFactoryManager& Ogre::PCZoneFactoryManager::getSingleton ( void  )
static

Override standard Singleton retrieval.

Remarks
Why do we do this? Well, it's because the Singleton implementation is in a .h file, which means it gets compiled into anybody who includes it. This is needed for the Singleton template to work, but we actually only want it compiled into the implementation of the class based on the Singleton, not all of them. If we don't change this, we get link errors when trying to use the Singleton-based class from an outside dll.
This method just delegates to the template version anyway, but the implementation stays in this single compilation unit, preventing link errors.

◆ getSingletonPtr()

static PCZoneFactoryManager* Ogre::PCZoneFactoryManager::getSingletonPtr ( void  )
static

Override standard Singleton retrieval.

Remarks
Why do we do this? Well, it's because the Singleton implementation is in a .h file, which means it gets compiled into anybody who includes it. This is needed for the Singleton template to work, but we actually only want it compiled into the implementation of the class based on the Singleton, not all of them. If we don't change this, we get link errors when trying to use the Singleton-based class from an outside dll.
This method just delegates to the template version anyway, but the implementation stays in this single compilation unit, preventing link errors.

◆ operator delete() [1/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr)
inlineinherited

◆ operator delete() [2/3]

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

◆ operator delete() [3/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
void *   
)
inlineinherited

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

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr)
inlineinherited

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

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

◆ operator new() [1/3]

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz)
inlineinherited

◆ operator new() [2/3]

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

operator new, with debug line info

◆ operator new() [3/3]

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

placement operator new

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

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

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

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

array operator new, with debug line info

◆ registerPCZoneFactory()

void Ogre::PCZoneFactoryManager::registerPCZoneFactory ( PCZoneFactory factory)

◆ unregisterPCZoneFactory()

void Ogre::PCZoneFactoryManager::unregisterPCZoneFactory ( PCZoneFactory factory)

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