The coupled model forms the base class for representing a DEVS networks in the basic DEVS formalism
Inheritance:
Public Methods
-
coupled()
- Creates a coupled model without any component models
-
coupled(const char* name)
-
virtual void add(devs* model)
- Add a component to the coupled model
-
const set* getComponents() const
- Returns a set holding the components of this coupled model
-
void makeStructureChanges(set&, set&)
- The coupled model does not support structure changes, so this method does nothing
-
virtual ~coupled()
- Deletes the model and all of its components
Inherited from devsn:
Public Methods
-
virtual const indexed* computeNeighbors(devs& model, const port_value& pv)
-
virtual void _reset(stime_t t0 = 0.0)
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 coupled model forms the base class for representing a DEVS networks
in the basic DEVS formalism
coupled()
- Creates a coupled model without any component models
coupled(const char* name)
virtual void add(devs* model)
- Add a component to the coupled model
const set* getComponents() const
- Returns a set holding the components of this coupled model
void makeStructureChanges(set&, set&)
-
The coupled model does not support structure changes, so this method
does nothing
virtual ~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++.