Public API Reference |
#include <registry.h>
Inheritance diagram for aeRegistry:
Public Member Functions | |
aeRegistry (int argc, char *argv[]) | |
Initialize the registry. | |
bool | checkCmdLineHelp () const |
Check if the -help flag was specified in the command line. | |
void | printHelp () |
Print help. | |
aeBase * | queryInterface (aeInterface interface) |
Query for an interface. | |
unsigned int | getInterfaceCount () const |
Get the number of interfaces in the interfacepool. | |
aeObject * | findObjectByName (const char *) |
Find object by name. | |
unsigned int | getObjectCount () const |
Get the number of objects in the objectpool. | |
aeTexture * | findTextureByName (const char *) |
Find texture by name. | |
unsigned int | getTextureCount () const |
Get the number of textures in the texturepool. | |
aeMaterial * | findMaterialByName (const char *) |
Find material by name. | |
unsigned int | getMaterialCount () const |
Get the number of materials in the materialpool. | |
void | pushObjectToPool (aeObject *) |
Push an object to the objectpool. | |
void | pushTextureToPool (aeTexture *) |
Push a texture to the texturepool. | |
void | pushMaterialToPool (aeMaterial *) |
Push a material to the materialpool. | |
aePlugin * | loadPlugin (aeInterface) |
Load a plugin. | |
Static Public Attributes | |
aeRegistry * | self_ptr |
Global registry self ref. | |
Private Attributes | |
aeBaseptr_map | interfacePool |
aeObjectptr_map | objectPool |
aeMaterialptr_map | materialPool |
aeTextureptr_map | texturePool |
bool | cmdLineHelpRequested |
Definition at line 86 of file registry.h.
|
Initialize the registry.
|
|
Check if the -help flag was specified in the command line.
Definition at line 114 of file registry.h. |
|
Find material by name.
|
|
Find object by name.
|
|
Find texture by name.
|
|
Get the number of interfaces in the interfacepool.
Definition at line 136 of file registry.h. |
|
Get the number of materials in the materialpool.
Definition at line 184 of file registry.h. |
|
Get the number of objects in the objectpool.
Definition at line 152 of file registry.h. |
|
Get the number of textures in the texturepool.
Definition at line 168 of file registry.h. |
|
Load a plugin. Use the AE_GET_PLUGIN() macro to load a plugin.
|
|
Print help.
|
|
Push a material to the materialpool. Normally you don't need to do this since adding a material will do it automagically.
|
|
Push an object to the objectpool. Use aeEngine::AddObject() to add an object.
|
|
Push a texture to the texturepool. Normally you don't need to do this since the texture loader plugin will take care of it.
|
|
Query for an interface. This returns a pointer to the interface requested. If no such interface instance exists in the registry NULL is returned.
|