![]() |
Menge
Modular Pedestrian Simulation Framework for Research and Development
|
A response to an event trigger. It combines an effect with a target. More...
#include <EventResponse.h>
Public Member Functions | |
| EventResponse () | |
| Constructor. | |
| EventResponse (const std::string &effect, const std::string &target) | |
| Constructor. More... | |
| void | finalize () |
| Finalizes the response. | |
| void | apply () |
| Applies the response to the simulation. | |
Protected Attributes | |
| std::string | _effectName |
| The name of the effect. | |
| EventEffect * | _effect |
| The effect in this response. | |
| std::string | _targetName |
| The name of the target. | |
| EventTarget * | _target |
| The target for this response. | |
A response to an event trigger. It combines an effect with a target.
| Menge::EventResponse::EventResponse | ( | const std::string & | effect, |
| const std::string & | target | ||
| ) |
Constructor.
| effect | The name of the effect for this response. |
| target | The name of the target for this response. |
1.8.8