![]() |
Menge
Modular Pedestrian Simulation Framework for Research and Development
|
The base class for all event targets. More...
#include <EventTarget.h>
Public Member Functions | |
EventTarget () | |
Constructor. | |
virtual void | finalize () |
Allows the event target to finish initializing itself from its parsed state to its running state. More... | |
virtual void | update () |
Gives the target a chance to update its knowledge of the target entities. More... | |
![]() | |
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 | |
float | _lastUpdate |
The global time that the target was last updated. | |
The base class for all event targets.
An event target defines the operand of an event effect. i.e., if the event effect defines how things change, the target defines which elements undergo the effect.
|
inlinevirtual |
Allows the event target to finish initializing itself from its parsed state to its running state.
EventException | if there is a problem finalizing. |
Reimplemented in Menge::NamedStateMemberTarget.
|
inlinevirtual |
Gives the target a chance to update its knowledge of the target entities.
If a sub-class needs to do particular computation to evaluate the target, it should be implemented here.
Reimplemented in Menge::NamedStateMemberTarget.