template<class VALUE> class adevs::SimpleDigraph

This is a very simple digraph model for single input/single output models.

Inheritance:


Public Methods

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

Public Members

[more]typedef Devs<VALUE> Component
A component of the SimpleDigraph model


Inherited from Network:

Public Methods

oNetwork<X> * typeIsNetwork()


Inherited from Devs:

Public Methods

ovirtual Atomic<X> * typeIsAtomic()
oconst Network<X> * getParent() const
oNetwork<X> * getParent()
ovoid setParent(Network<X>* parent)
ovirtual bool model_transition()


Documentation

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.
otypedef Devs<VALUE> Component
A component of the SimpleDigraph model

o SimpleDigraph()
Construct a network with no components

ovoid add(Component* model)
Add a model to the network

ovoid couple(Component* src, Component* dst)
Couple the source model to the destination model.

ovoid getComponents(Set<Component*>& c)
Assigns the model component set to c

ovoid route(const VALUE& x, Component* model, Bag<Event<VALUE> >& r)
Route an event based on the coupling information

o ~SimpleDigraph()
Destructor. Destroys all of the component models.


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.