Caelum::CaelumPlugin Class Reference

Implement an Ogre::Plugin for Caelum. More...

#include <CaelumPlugin.h>

List of all members.

Public Member Functions

virtual void install ()
virtual void initialise ()
virtual void shutdown ()
virtual void uninstall ()
virtual const String & getName () const
bool isInstalled () const
CaelumDefaultTypeDescriptorDatagetTypeDescriptorData ()
 Get default type descriptor data for caelum components.
void loadCaelumSystemFromScript (CaelumSystem *sys, const Ogre::String &objectName, const Ogre::String &scriptFileGroup=Ogre::ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
 Load CaelumSystem and it's components from a script file.
PropScriptResourceManager * getPropScriptResourceManager ()
CaelumScriptTranslatorManager * getScriptTranslatorManager ()

Static Public Member Functions

static CaelumPlugingetSingleton (void)
 Get reference to singleton instance; or crash if N/A.
static CaelumPlugingetSingletonPtr (void)
 Get pointer to singleton instance; or pointer if N/A.

Static Public Attributes

static const Ogre::String CAELUM_PLUGIN_NAME = "Caelum"


Detailed Description

Implement an Ogre::Plugin for Caelum.

Ogre plugins are usually loaded from config files and they register various stuff in ogre managers. But you can also just link to the library normally and call install functions manually.

Definition at line 37 of file CaelumPlugin.h.


Member Function Documentation

void Caelum::CaelumPlugin::loadCaelumSystemFromScript ( CaelumSystem sys,
const Ogre::String &  objectName,
const Ogre::String &  scriptFileGroup = Ogre::ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME 
)

Load CaelumSystem and it's components from a script file.

Parameters:
sys Target CaelumSystem. This is cleared using CaelumSystem::clear before loading. If scripting data is not found then this is not modified.
objectName Name of caelum_sky_system from *.os file.
scriptFileGroup The group to search in (unused in Ogre 1.6)

PropScriptResourceManager* Caelum::CaelumPlugin::getPropScriptResourceManager (  )  [inline]

See also:
PropScriptResourceManager

Definition at line 87 of file CaelumPlugin.h.


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

Generated on Sun Aug 9 10:24:21 2009 for Caelum by  doxygen 1.5.9