44 #ifndef __EVENT_RESPONSE_H__
45 #define __EVENT_RESPONSE_H__
72 EventResponse(
const std::string & effect,
const std::string & target );
108 #endif // __EVENT_RESPONSE_H__
The core namespace. All elements of Menge are contained in this namespace.
Definition: AgentGenerator.cpp:43
std::string _targetName
The name of the target.
Definition: EventResponse.h:98
A response to an event trigger. It combines an effect with a target.
Definition: EventResponse.h:59
The base class for all event targets.
Definition: EventTarget.h:66
void apply()
Applies the response to the simulation.
Definition: EventResponse.cpp:87
std::string _effectName
The name of the effect.
Definition: EventResponse.h:88
EventEffect * _effect
The effect in this response.
Definition: EventResponse.h:93
The definition of a response to an event.
Definition: EventEffect.h:65
EventTarget * _target
The target for this response.
Definition: EventResponse.h:103
EventResponse()
Constructor.
Definition: EventResponse.cpp:55
void finalize()
Finalizes the response.
Definition: EventResponse.cpp:65