Menge
Modular Pedestrian Simulation Framework for Research and Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Functions
Action.h File Reference

The definition of actions that are taken as agents enter states. More...

#include "CoreConfig.h"
#include "fsmCommon.h"
#include "FSMEnumeration.h"
#include "Element.h"

Go to the source code of this file.

Classes

class  Menge::BFSM::Action
 The abstract definition of an action. More...
 

Namespaces

 Menge
 The core namespace. All elements of Menge are contained in this namespace.
 
 BFSM
 The namespace contains the Behavior Finite State Machine (BFSM) definition.
 

Functions

Action * Menge::BFSM::parseAction (TiXmlElement *node, const std::string &behaveFldr)
 Parses a TinyXML element containing an action specification. More...
 

Detailed Description

The definition of actions that are taken as agents enter states.

Actions are associated with behavior states. When an agent enters the corresponding behavior state, the action is taken on the agent. It is typically used to modify agent parameters, consistent with what the state represents. By default the agent should restore the agents parameter values when the agent leaves the FSM state. However, a flag can deactivate this behavior.