Menge
Modular Pedestrian Simulation Framework for Research and Development
|
The base class event triggers which depend on state properties. More...
#include <StateEvtTrigger.h>
Public Member Functions | |
StateEvtTrigger () | |
Constructor. | |
virtual void | finalize () |
Allows the trigger to finish initializing itself from its parsed state to its running state. | |
Public Member Functions inherited from Menge::EventTrigger | |
EventTrigger () | |
Constructor. | |
bool | conditionMet () |
Evaluates the condition to see if it has been met. More... | |
void | fired () |
Informs the trigger that the associated event effects have been applied (i.e. the event has been fired). | |
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 state. | |
BFSM::State * | _state |
The state to operate on. | |
Protected Attributes inherited from Menge::EventTrigger | |
float | _firePeriod |
The minimum time between two successive firings (in simulation seconds). | |
float | _lastFire |
The time of the last firing (global simulation time). | |
Friends | |
class | StateEvtTriggerFactory |
Additional Inherited Members | |
Protected Member Functions inherited from Menge::EventTrigger | |
virtual bool | testCondition ()=0 |
Evaluates the condition to see if it has been met. More... | |
The base class event triggers which depend on state properties.