Defines an interface to classes which have one or more AnimableValue instances to expose. More...
#include <OgreAnimable.h>
Public Member Functions | |
AnimableObject () | |
virtual | ~AnimableObject () |
virtual AnimableValuePtr | createAnimableValue (const String &valueName) |
Create a reference-counted AnimableValuePtr for the named value. More... | |
const StringVector & | getAnimableValueNames (void) const |
Gets a list of animable value names for this object. More... | |
Protected Types | |
typedef map< String, StringVector >::type | AnimableDictionaryMap |
Protected Member Functions | |
StringVector & | _getAnimableValueNames (void) |
Get an updateable reference to animable value list. More... | |
void | createAnimableDictionary (void) const |
Internal method for creating a dictionary of animable value names for the class, if it does not already exist. More... | |
virtual const String & | getAnimableDictionaryName (void) const |
Get the name of the animable dictionary for this class. More... | |
virtual void | initialiseAnimableDictionary (StringVector &) const |
Internal method for initialising dictionary; should be implemented by subclasses wanting to expose animable parameters. More... | |
Static Protected Attributes | |
static AnimableDictionaryMap | msAnimableDictionary |
Static map of class name to list of animable value names. More... | |
Defines an interface to classes which have one or more AnimableValue instances to expose.
Definition at line 238 of file OgreAnimable.h.
|
protected |
Definition at line 241 of file OgreAnimable.h.
|
inline |
Definition at line 291 of file OgreAnimable.h.
|
inlinevirtual |
Definition at line 292 of file OgreAnimable.h.
|
inlineprotected |
Get an updateable reference to animable value list.
Definition at line 267 of file OgreAnimable.h.
References Ogre::Exception::ERR_ITEM_NOT_FOUND, and OGRE_EXCEPT.
|
inlineprotected |
Internal method for creating a dictionary of animable value names for the class, if it does not already exist.
Definition at line 254 of file OgreAnimable.h.
|
inlinevirtual |
Create a reference-counted AnimableValuePtr for the named value.
Reimplemented in Ogre::Light.
Definition at line 320 of file OgreAnimable.h.
References Ogre::Exception::ERR_ITEM_NOT_FOUND, and OGRE_EXCEPT.
|
inlineprotectedvirtual |
Get the name of the animable dictionary for this class.
Reimplemented in Ogre::Light.
Definition at line 249 of file OgreAnimable.h.
References Ogre::StringUtil::BLANK.
|
inline |
Gets a list of animable value names for this object.
Definition at line 295 of file OgreAnimable.h.
References Ogre::Exception::ERR_ITEM_NOT_FOUND, and OGRE_EXCEPT.
|
inlineprotectedvirtual |
Internal method for initialising dictionary; should be implemented by subclasses wanting to expose animable parameters.
Reimplemented in Ogre::Light.
Definition at line 287 of file OgreAnimable.h.
|
staticprotected |
Static map of class name to list of animable value names.
Definition at line 243 of file OgreAnimable.h.