#include <adevs_abstract_simulator.h>
Inheritance diagram for adevs::AbstractSimulator< X >:
Public Member Functions | |
void | addEventListener (EventListener< X > *l) |
void | removeEventListener (EventListener< X > *l) |
Remove an event listener. | |
virtual double | nextEventTime ()=0 |
Get the model's next event time. | |
virtual void | execUntil (double tend)=0 |
Execute the simulator until the next event is greater than tend. | |
virtual | ~AbstractSimulator () |
Destructor should leave the model intact. | |
void | notify_output_listeners (Devs< X > *model, const X &value, double t) |
Notify listeners of an output event. | |
void | notify_state_listeners (Atomic< X > *model, double t) |
Notify listeners of a state change. |
|
Add an event listener that will be notified of output events produced by the model. |