adevs::EventListener< X > Class Template Reference
#include <adevs_event_listener.h>
List of all members.
|
Public Member Functions |
virtual void | outputEvent (Event< X > x, double t) |
| Output event callback. The default implementation is empty.
|
virtual void | stateChange (Atomic< X > *model, double t) |
Detailed Description
template<class X>
class adevs::EventListener< X >
The
EventListener class is used to receive output events produced by models, injects injected into models, and to be notified of state changes by
Atomic models.
Member Function Documentation
This call back is made by the simulator after an Atomic model changes its state. The state parameter is NULL when the Simulator makes this callback, and it contains the model's saved state at time t when the OptSimulator makes this call back. This method has an empty default implementation.
The documentation for this class was generated from the following file: