The staticDigraph class can be used to create static structure digraph models
Inheritance:
Public Methods
-
staticDigraph()
-
staticDigraph(const char* name)
-
virtual void couple(devs* src, port_t srcPort, devs* dst, port_t dstPort)
- Throws an UndefinedException if the model/port pair is not recognized
-
const indexed* computeNeighbors(devs& model, const port_value& pv)
- Support for the simulator
-
virtual ~staticDigraph()
- Deletes the digraph model and all of its components
Protected Fields
-
digraph* net
-
indexed nodes
Inherited from coupled:
Public Methods
-
virtual void add(devs* model)
-
const set* getComponents() const
-
void makeStructureChanges(set&, set&)
Inherited from devsn:
Public Methods
-
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 staticDigraph class can be used to create
static structure digraph models
staticDigraph()
staticDigraph(const char* name)
virtual void couple(devs* src, port_t srcPort, devs* dst, port_t dstPort)
-
Throws an UndefinedException if the model/port pair is
not recognized
const indexed* computeNeighbors(devs& model, const port_value& pv)
- Support for the simulator
virtual ~staticDigraph()
- Deletes the digraph model and all of its components
digraph* net
indexed nodes
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.