Main Page | Class Hierarchy | Class List | File List | Class Members

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

template<class X>
virtual void adevs::EventListener< X >::stateChange Atomic< X > *  model,
double  t
[inline, virtual]
 

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:
Generated on Mon Jun 1 09:53:43 2009 for adevs by  doxygen 1.3.9.1