adevs::Digraph< VALUE, PORT > Class Template Reference

#include <adevs_digraph.h>

Inheritance diagram for adevs::Digraph< VALUE, PORT >:

adevs::Network< X > adevs::Devs< X > List of all members.

Public Types

typedef PortValue< VALUE,
PORT > 
IO_Type
 A component input or output.
typedef Devs< IO_TypeComponent
 A component of the Digraph model.

Public Member Functions

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

Classes

struct  node

Detailed Description

template<class VALUE, class PORT = int>
class adevs::Digraph< VALUE, PORT >

This Digraph model uses PortValue objects to describe component coupling. The default port type is an integer.


The documentation for this class was generated from the following file:
Generated on Tue Oct 6 20:46:41 2009 for adevs by  doxygen 1.4.7