21 #ifndef CAELUM__CAELUM_PLUGIN_H 22 #define CAELUM__CAELUM_PLUGIN_H 25 #include "CaelumScriptTranslator.h" 26 #include "TypeDescriptor.h" 27 #include "OgrePlugin.h" 37 class CAELUM_EXPORT
CaelumPlugin:
public Ogre::Singleton<CaelumPlugin>,
public Ogre::Plugin
48 virtual void install ();
49 virtual void initialise ();
50 virtual void shutdown ();
51 virtual void uninstall ();
53 static const Ogre::String CAELUM_PLUGIN_NAME;
54 virtual const String& getName ()
const;
57 inline bool isInstalled ()
const {
return mIsInstalled; }
62 #if CAELUM_TYPE_DESCRIPTORS 71 #if CAELUM_SCRIPT_SUPPORT 80 void loadCaelumSystemFromScript (
82 const Ogre::String& objectName,
83 const Ogre::String& scriptFileGroup = Ogre::ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME
88 CaelumScriptTranslatorManager* getScriptTranslatorManager () {
return &mScriptTranslatorManager; }
91 PropScriptResourceManager mPropScriptResourceManager;
92 CaelumScriptTranslatorManager mScriptTranslatorManager;
97 #endif // CAELUM__CAELUM_PLUGIN_H PropScriptResourceManager * getPropScriptResourceManager()
CaelumDefaultTypeDescriptorData * getTypeDescriptorData()
Get default type descriptor data for caelum components.
This is the "root class" of caelum.
Implement an Ogre::Plugin for Caelum.
Standard type descriptors for caelum components.