The DScoupled model forms the base class for representing a DSDEVS network.
Inheritance:
Public Methods
-
DScoupled(networkExec* netexec)
- Creates a DScoupled model whose only component is the networkExec
-
DScoupled(const char* name, networkExec* netexec)
-
virtual const indexed* computeNeighbors(devs& model, const port_value& pv)
- This method calls the computeNeighbors method of the network executive
-
virtual const set* getComponents() const
- This method calls the getComponents() method of the network executive
-
virtual void makeStructureChanges(set& add_models, set& del_models)
- This method calls the makeStructureChanges() method of the network executive
-
virtual ~DScoupled()
- Deletes the model and all of its components
-
virtual void _reset(stime_t t0)
- Reset the model and all of its components.
Inherited from devsn:
Inherited from devs:
Public Classes
-
enum ModelType
Public Methods
-
inline void setName(const char* name)
-
inline stime_t elapsed() const
-
inline stime_t sigma() const
-
inline stime_t ta() const
-
inline stime_t timeNext() const
-
inline stime_t timeLast() const
-
inline stime_t timeCurrent() const
-
void hold(stime_t dt)
-
inline void passivate()
-
bag* inputOnPort(port_t inport) const
-
void output(port_t outport, object* value, bool gc = true)
-
void output(port_t outport, const object& value)
-
virtual void addInputPort(port_t inport)
-
virtual void addOutputPort(port_t outport)
-
bool hasInputPort(port_t inport) const
-
bool hasOutputPort(port_t outport) const
-
inline const char* getName() const
-
void setThreaded(bool value)
-
bool getThreaded() const
-
const port_t* outputPorts(int* count)
-
bag* outputOnPort(port_t outport) const
-
void clearPorts()
-
void clearPorts(indexed& garbage)
-
void emptyGarbage()
-
inline void setTime(stime_t t)
-
inline void setTimeLast(stime_t tL)
-
inline void setTimeNext(stime_t tN)
-
void input(port_t inport, object* value)
-
ModelType getType() const
Inherited from object:
Public Methods
-
virtual bool operator==(const object &obj) const
-
virtual bool operator!=(const object &obj) const
-
virtual unsigned int hashcode() const
-
virtual 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.
DScoupled(networkExec* netexec)
-
Creates a DScoupled model whose only component is the networkExec
DScoupled(const char* name, networkExec* netexec)
virtual const indexed* computeNeighbors(devs& model, const port_value& pv)
- This method calls the computeNeighbors method of the network executive
virtual const set* getComponents() const
- This method calls the getComponents() method of the network executive
virtual void makeStructureChanges(set& add_models, set& del_models)
- This method calls the makeStructureChanges() method of the network executive
virtual ~DScoupled()
- Deletes the model and all of its components
virtual 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++.