adevs::Event< X, T > Class Template Reference

#include <adevs_models.h>

List of all members.

Public Member Functions

 Event ()
 Constructor. Sets the model to NULL.
 Event (Devs< X, T > *model, const X &value)
 Event (const Event< X, T > &src)
 Copy constructor.
const Event< X, T > & operator= (const Event< X, T > &src)
 Assignment operator.
 ~Event ()
 Destructor.

Public Attributes

Devs< X, T > * model
 The model associated with the event.
value
 The value associated with the event.

Detailed Description

template<class X, class T = double>
class adevs::Event< X, T >

Event objects are used for routing within a network model, for notifying event listeners of output events, and for injecting input into a running simulation.


Constructor & Destructor Documentation

template<class X, class T = double>
adevs::Event< X, T >::Event ( Devs< X, T > *  model,
const X &  value 
) [inline]

Constructor sets the model and value. The input into a Simulator and in a network's routing method, the model is the target of the input value. In a callback to an event listener, the model is the source of the output value.


The documentation for this class was generated from the following file:

Generated on 3 Jul 2013 for adevs by  doxygen 1.6.1