Menge
Modular Pedestrian Simulation Framework for Research and Development
|
An initial state selector that stores a single state and assigns that state to all agents. More...
#include <ConstStateSelector.h>
Public Member Functions | |
ConstStateSelector () | |
Constructor. | |
virtual std::string | getState () |
Provides the name of a state. More... | |
void | setStateName (const std::string &name) |
Sets the name of the state. More... | |
Public Member Functions inherited from Menge::Agents::StateSelector | |
StateSelector () | |
Constructor. | |
Public Member Functions inherited from Menge::Element | |
void | destroy () |
This supplants the destructor. More... | |
virtual BFSM::Task * | getTask () |
Return an optional task associated with this element. More... | |
virtual SceneGraph::GLNode * | getSGNode () |
Returns an optional visualization element associated with the element. More... | |
Protected Attributes | |
std::string | _stateName |
The name of the profile to use. | |
Additional Inherited Members | |
Protected Member Functions inherited from Menge::Agents::StateSelector | |
virtual | ~StateSelector () |
Virtual destructor. | |
An initial state selector that stores a single state and assigns that state to all agents.
|
inlinevirtual |
Provides the name of a state.
Ths must be overriden by child classes.
Implements Menge::Agents::StateSelector.
|
inline |
Sets the name of the state.
name | The name of the selector's state. |