template<class VALUE, class PORT=int> class adevs::Digraph
This Digraph model uses PortValue objects to describe component coupling.
Inheritance:
Public Methods
-
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)
-
void route(const IO_Type& x, Component* model, Bag<Event<IO_Type> >& r)
-
~Digraph()
- Destructor.
Public Members
-
typedef PortValue<VALUE,PORT> IO_Type
- A componet input or output
-
typedef Devs<IO_Type> Component
- A component of the Digraph model
Inherited from Network:
Public Methods
-
Network<X> * typeIsNetwork()
Inherited from Devs:
Public Methods
-
virtual Atomic<X> * typeIsAtomic()
-
const Network<X> * getParent() const
-
Network<X> * getParent()
-
void setParent(Network<X>* parent)
-
virtual bool model_transition()
Documentation
This Digraph model uses PortValue objects to describe
component coupling. The default port type is an integer.
typedef PortValue<VALUE,PORT> IO_Type
- A componet input or output
typedef Devs<IO_Type> Component
- A component of the Digraph model
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)
void route(const IO_Type& x, Component* model, Bag<Event<IO_Type> >& r)
~Digraph()
- Destructor. Destroys all of the component models.
node()
node(Component* model, PORT port)
const node& operator=(const node& src)
Component* model
PORT port
bool operator<(const node& other) const
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.