class coupled

The coupled model forms the base class for representing a DEVS networks in the basic DEVS formalism

Inheritance:


Public Methods

[more] coupled()
Creates a coupled model without any component models
[more] coupled(const char* name)
[more]virtual void add(devs* model)
Add a component to the coupled model
[more]const set* getComponents() const
Returns a set holding the components of this coupled model
[more]void makeStructureChanges(set&, set&)
The coupled model does not support structure changes, so this method does nothing
[more]virtual ~coupled()
Deletes the model and all of its components


Inherited from devsn:

Public Methods

ovirtual const indexed* computeNeighbors(devs& model, const port_value& pv)
ovirtual void _reset(stime_t t0 = 0.0)


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 coupled model forms the base class for representing a DEVS networks in the basic DEVS formalism
o coupled()
Creates a coupled model without any component models

o coupled(const char* name)

ovirtual void add(devs* model)
Add a component to the coupled model

oconst set* getComponents() const
Returns a set holding the components of this coupled model

ovoid makeStructureChanges(set&, set&)
The coupled model does not support structure changes, so this method does nothing

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


Direct child classes:
staticDigraph

Alphabetic index HTML hierarchy of classes or Java



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