class DScoupled

The DScoupled model forms the base class for representing a DSDEVS network.

Inheritance:


Public Methods

[more] DScoupled(networkExec* netexec)
Creates a DScoupled model whose only component is the networkExec
[more] DScoupled(const char* name, networkExec* netexec)
[more]virtual const indexed* computeNeighbors(devs& model, const port_value& pv)
This method calls the computeNeighbors method of the network executive
[more]virtual const set* getComponents() const
This method calls the getComponents() method of the network executive
[more]virtual void makeStructureChanges(set& add_models, set& del_models)
This method calls the makeStructureChanges() method of the network executive
[more]virtual ~DScoupled()
Deletes the model and all of its components
[more]virtual void _reset(stime_t t0)
Reset the model and all of its components.


Inherited from devsn:


Inherited from devs:

Public Classes

oenum ModelType

Public Methods

oinline void setName(const char* name)
oinline stime_t elapsed() const
oinline stime_t sigma() const
oinline stime_t ta() const
oinline stime_t timeNext() const
oinline stime_t timeLast() const
oinline stime_t timeCurrent() const
ovoid hold(stime_t dt)
oinline void passivate()
obag* inputOnPort(port_t inport) const
ovoid output(port_t outport, object* value, bool gc = true)
ovoid output(port_t outport, const object& value)
ovirtual void addInputPort(port_t inport)
ovirtual void addOutputPort(port_t outport)
obool hasInputPort(port_t inport) const
obool hasOutputPort(port_t outport) const
oinline const char* getName() const
ovoid setThreaded(bool value)
obool getThreaded() const
oconst port_t* outputPorts(int* count)
obag* outputOnPort(port_t outport) const
ovoid clearPorts()
ovoid clearPorts(indexed& garbage)
ovoid emptyGarbage()
oinline void setTime(stime_t t)
oinline void setTimeLast(stime_t tL)
oinline void setTimeNext(stime_t tN)
ovoid input(port_t inport, object* value)
oModelType getType() const


Inherited from object:

Public Methods

ovirtual bool operator==(const object &obj) const
ovirtual bool operator!=(const object &obj) const
ovirtual unsigned int hashcode() const
ovirtual object* clone() const


Documentation

The DScoupled model forms the base class for representing a DSDEVS network. Its structure is defined by a networkExec model, so users should not need to subclass this class.
o DScoupled(networkExec* netexec)
Creates a DScoupled model whose only component is the networkExec

o DScoupled(const char* name, networkExec* netexec)

ovirtual const indexed* computeNeighbors(devs& model, const port_value& pv)
This method calls the computeNeighbors method of the network executive

ovirtual const set* getComponents() const
This method calls the getComponents() method of the network executive

ovirtual void makeStructureChanges(set& add_models, set& del_models)
This method calls the makeStructureChanges() method of the network executive

ovirtual ~DScoupled()
Deletes the model and all of its components

ovirtual void _reset(stime_t t0)
Reset the model and all of its components. Exists to support the simulator.


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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