#include <SceneBuilderFactories.h>
Inherits SceneBuilderFactory.
Inherited by PhysicsStepParser.
Inheritance diagram for AnimatorParser:
Public Member Functions | |
AnimatorParser (std::map< std::string, Object * > &objects) | |
virtual Animator * | create (const std::string &type, std::stringstream &line)=0 |
Protected Attributes | |
std::map< std::string, Object * > & | mObjects |
Mapping name -> Object. |
Definition at line 720 of file SceneBuilderFactories.h.
AnimatorParser::AnimatorParser | ( | std::map< std::string, Object * > & | objects | ) | [inline] |
Constructor
Definition at line 725 of file SceneBuilderFactories.h.
virtual Animator* AnimatorParser::create | ( | const std::string & | type, | |
std::stringstream & | line | |||
) | [pure virtual] |
Create a new animator based on type and data in the stream
type | Statement type | |
line | Line with data |
Implemented in PhysicsStepParser.
std::map<std::string, Object *>& AnimatorParser::mObjects [protected] |
Mapping name -> Object.
Definition at line 740 of file SceneBuilderFactories.h.
Referenced by PhysicsStepParser::create().