Base type for all atomic DEVS models
Inheritance:
Public Methods
-
atomic()
-
atomic(const atomic& src)
-
const atomic& operator=(const atomic& src)
-
virtual void delta_int()
- Internal transition function
-
virtual void delta_ext(TIME_TYPE e, const adevs_bag<PortValue>& x)
- External transition function
-
virtual void delta_conf(const adevs_bag<PortValue>& x)
- Confluent transition function
-
virtual void output_func(adevs_bag<PortValue>& y)
- Output function
-
virtual void gc_output(adevs_bag<PortValue>& g)
- Garbage collection function.
-
virtual ~atomic()
-
static void output(PORT_TYPE port, IO_TYPE value, adevs_bag<PortValue>& y)
- Adds the PortValue pair (port,value) to the bag y
Inherited from devs:
Public Fields
-
typedef enum NETWORK
-
typedef enum UNKNOWN Type
Public Methods
-
virtual void init()
-
TIME_TYPE timeCurrent() const
-
TIME_TYPE timeLast() const
-
TIME_TYPE timeNext() const
-
TIME_TYPE elapsed() const
-
TIME_TYPE sigma() const
-
TIME_TYPE ta() const
-
void hold(TIME_TYPE dt)
-
void passivate()
-
void setTimeCurrent(TIME_TYPE T)
-
void setTimeLast(TIME_TYPE T)
-
void setTimeNext(TIME_TYPE T)
-
Type getType() const
-
basic_sim* getAttachedSimulator()
-
void setAttachedSimulator(basic_sim* sim)
Public
-
typedef enum ATOMIC
Inherited from object:
Public Methods
-
virtual object* clone() const
Documentation
Base type for all atomic DEVS models
atomic()
atomic(const atomic& src)
const atomic& operator=(const atomic& src)
virtual void delta_int()
- Internal transition function
virtual void delta_ext(TIME_TYPE e, const adevs_bag<PortValue>& x)
- External transition function
virtual void delta_conf(const adevs_bag<PortValue>& x)
- Confluent transition function
virtual void output_func(adevs_bag<PortValue>& y)
- Output function
virtual void gc_output(adevs_bag<PortValue>& g)
-
Garbage collection function. The PortValue objects in g are
no longer in use by the simulation engine and should be disposed of.
` Note that the elements in g are only those PortValue objects produced as
output by this model.
virtual ~atomic()
static void output(PORT_TYPE port, IO_TYPE value, adevs_bag<PortValue>& y)
- Adds the PortValue pair (port,value) to the bag y
- Direct child classes:
- netExec
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.