45 #ifndef __FSM_CONTEXT_H__
46 #define __FSM_CONTEXT_H__
105 virtual void drawUIGL(
const Agents::BaseAgent * agt,
int vWidth,
int vHeight,
bool select=
false );
127 void addStateContext(
size_t id,
StateContext * context );
159 #endif // __FSM_CONTEXT_H__
SDL_Event SDL_Event
Forward declaration of the SDL event type.
Definition: Context.h:53
The core namespace. All elements of Menge are contained in this namespace.
Definition: AgentGenerator.cpp:43
Sets up the proper compiler directives for platform and dll export/import.
The definition of a basic UI context for finite state machine states.
The base context class for defining a how events are handled. It also is responsible drawing UI eleme...
Definition: Context.h:156
HASH_MAP< size_t, BFSM::StateContext * > StateContextMap
A map from state ids to statecontexts to facilitate lookups for a visualized agent.
Definition: StateContext.h:63
FSM * _fsm
The underlying finite state machine.
Definition: FsmContext.h:133
Base context for finite state machine states.
Definition: StateContext.h:80
bool _drawTrans
Determines if the transition is displayed in the 3D context.
Definition: FsmContext.h:143
Base context for finite state machine elements.
Definition: FsmContext.h:71
Templated class for the behavior finite state machine.
Definition: FSM.h:126
Defines the result of the context's consideration of user input.
Definition: Context.h:74
The namespace contains the Behavior Finite State Machine (BFSM) definition.
StateContext * _currStateCtx
The context for the state currently being displayed.
Definition: FsmContext.h:148
Defines the basic agent properties and functionality that all simulation agents share.
Definition: BaseAgent.h:123
StateContextMap _states
The contexts for the given states.
Definition: FsmContext.h:153
The namespace that contains the basic simulation mechanisms.
bool _drawVC
Determines if the velocity component is displayed in the 3D context.
Definition: FsmContext.h:138
Defines a context for handling user interaction (mouse and keyboard input).