#include <adevs_event_listener.h>
template<class X, class T = double>
class adevs::EventListener< X, T >
The EventListener interface is used to receive output events produced by model and to be notified of state changes at Atomic models.
template<class X, class T = double>
This callback is invoked when a model, network or atomic, produces an output. The default implementation is empty.
- Parameters
-
x | The model that produced the output and the output's value |
t | The absolute time at which the output occurred |
Reimplemented in adevs::ModelWrapper< ExternalType, InternalType, T >.
template<class X, class T = double>
This callback is invoked by the simulator after an Atomic model changes its state. This method has an empty default implementation.
- Parameters
-
model | The model that changed state |
t | The absolute time at which the state change occurred |
The documentation for this class was generated from the following file: