Defines an interface to classes which have one or more AnimableValue instances to expose. More...
#include <OgreAnimable.h>
Public Member Functions | |
AnimableObject () | |
virtual | ~AnimableObject () |
const StringVector & | getAnimableValueNames (void) const |
Gets a list of animable value names for this object. | |
virtual AnimableValuePtr | createAnimableValue (const String &valueName) |
Create a reference-counted AnimableValuePtr for the named value. | |
Protected Types | |
typedef map< String, StringVector >::type | AnimableDictionaryMap |
Protected Member Functions | |
virtual const String & | getAnimableDictionaryName (void) const |
Get the name of the animable dictionary for this class. | |
void | createAnimableDictionary (void) const |
Internal method for creating a dictionary of animable value names for the class, if it does not already exist. | |
StringVector & | _getAnimableValueNames (void) |
Get an updateable reference to animable value list. | |
virtual void | initialiseAnimableDictionary (StringVector &) const |
Internal method for initialising dictionary; should be implemented by subclasses wanting to expose animable parameters. | |
Static Protected Attributes | |
static AnimableDictionaryMap | msAnimableDictionary |
Static map of class name to list of animable value names. |
Defines an interface to classes which have one or more AnimableValue instances to expose.
Definition at line 237 of file OgreAnimable.h.
typedef map<String, StringVector>::type Ogre::AnimableObject::AnimableDictionaryMap [protected] |
Definition at line 240 of file OgreAnimable.h.
Ogre::AnimableObject::AnimableObject | ( | ) |
Definition at line 290 of file OgreAnimable.h.
virtual Ogre::AnimableObject::~AnimableObject | ( | ) | [virtual] |
Definition at line 291 of file OgreAnimable.h.
StringVector& Ogre::AnimableObject::_getAnimableValueNames | ( | void | ) | [protected] |
Get an updateable reference to animable value list.
Definition at line 266 of file OgreAnimable.h.
References Ogre::Exception::ERR_ITEM_NOT_FOUND.
void Ogre::AnimableObject::createAnimableDictionary | ( | void | ) | const [protected] |
Internal method for creating a dictionary of animable value names for the class, if it does not already exist.
Definition at line 253 of file OgreAnimable.h.
virtual AnimableValuePtr Ogre::AnimableObject::createAnimableValue | ( | const String & | valueName | ) | [virtual] |
Create a reference-counted AnimableValuePtr for the named value.
Reimplemented in Ogre::Light.
Definition at line 319 of file OgreAnimable.h.
References Ogre::Exception::ERR_ITEM_NOT_FOUND.
virtual const String& Ogre::AnimableObject::getAnimableDictionaryName | ( | void | ) | const [protected, virtual] |
Get the name of the animable dictionary for this class.
Reimplemented in Ogre::Light.
Definition at line 248 of file OgreAnimable.h.
References Ogre::StringUtil::BLANK.
const StringVector& Ogre::AnimableObject::getAnimableValueNames | ( | void | ) | const |
Gets a list of animable value names for this object.
Definition at line 294 of file OgreAnimable.h.
References Ogre::Exception::ERR_ITEM_NOT_FOUND.
virtual void Ogre::AnimableObject::initialiseAnimableDictionary | ( | StringVector & | ) | const [protected, virtual] |
Internal method for initialising dictionary; should be implemented by subclasses wanting to expose animable parameters.
Reimplemented in Ogre::Light.
Definition at line 286 of file OgreAnimable.h.
AnimableDictionaryMap Ogre::AnimableObject::msAnimableDictionary [static, protected] |
Static map of class name to list of animable value names.
Definition at line 242 of file OgreAnimable.h.
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Fri May 25 23:37:05 2012