![]() |
Menge
Modular Pedestrian Simulation Framework for Research and Development
|
Factory for the RandomGoalSelector. More...
#include <GoalSelectorRandom.h>
Public Member Functions | |
virtual const char * | name () const |
The name of the goal selector type. More... | |
virtual const char * | description () const |
A description of the goal selector. More... | |
![]() | |
SetGoalSelectorFactory () | |
Constructor. | |
![]() | |
GoalSelectorFactory () | |
Constructor. | |
![]() | |
ElementFactory () | |
Default constructor. | |
void | destroy () |
This supplants the destructor. More... | |
bool | thisFactory (const std::string &typeName) const |
Reports if the xml node defines an element for this factory. More... | |
GoalSelector * | createInstance (TiXmlElement *node, const std::string &behaveFldr) const |
Parses the xml data. More... | |
Protected Member Functions | |
GoalSelector * | instance () const |
Create an instance of this class's goal selector. More... | |
![]() | |
virtual bool | setFromXML (GoalSelector *selector, TiXmlElement *node, const std::string &behaveFldr) const |
Given a pointer to a GoalSelector instance, sets the appropriate fields from the provided XML node. More... | |
![]() | |
virtual | ~ElementFactory () |
Destructor. | |
virtual bool | setFromXML (GoalSelector *element, TiXmlElement *node, const std::string &specFldr) const |
Given a pointer to an element instance, sets the appropriate fields from the provided XML node. More... | |
Additional Inherited Members | |
![]() | |
size_t | _goalSetID |
The identifier for the "goal_set" size_t attribute. | |
![]() | |
size_t | _persistentID |
The identifier for the "persistent" bool attribute. | |
![]() | |
AttributeSet | _attrSet |
The attribute set for this factory. | |
Factory for the RandomGoalSelector.
|
inlinevirtual |
A description of the goal selector.
Each goal selector factory must override this function.
Implements Menge::ElementFactory< GoalSelector >.
|
inlineprotectedvirtual |
Create an instance of this class's goal selector.
Implements Menge::ElementFactory< GoalSelector >.
|
inlinevirtual |
The name of the goal selector type.
The goal selector's name must be unique among all registered goal selectors. Each goal selector factory must override this function.
Implements Menge::ElementFactory< GoalSelector >.