adevs::SimpleDigraph< VALUE > Class Template Reference

#include <adevs_simpledigraph.h>

Inheritance diagram for adevs::SimpleDigraph< VALUE >:

adevs::Network< VALUE > adevs::Devs< VALUE >

List of all members.

Public Types

typedef Devs< VALUE > Component
 A component of the SimpleDigraph model.

Public Member Functions

 SimpleDigraph ()
 Construct a network with no components.
void add (Component *model)
 Add a model to the network.
void couple (Component *src, Component *dst)
 Couple the source model to the destination model.
void getComponents (Set< Component * > &c)
 Assigns the model component set to c.
void route (const VALUE &x, Component *model, Bag< Event< VALUE > > &r)
 Route an event based on the coupling information.
 ~SimpleDigraph ()
 Destructor. Destroys all of the component models.


Detailed Description

template<class VALUE>
class adevs::SimpleDigraph< VALUE >

This is a very simple digraph model for single input/single output models. Output events generated by a component model are sent to all connected models.
The documentation for this class was generated from the following file:

Generated on Mon Mar 16 07:32:24 2009 for adevs by  doxygen 1.5.5