Base type for all network executive models
Inheritance:
Public Methods
-
netExec(devsn* parent = NULL)
-
netExec(const netExec& src, devsn* parent)
-
virtual void getComponents(adevs_set<devs*>& c) = 0
-
Implementations of this method should fill out the
set c with all components models (but not the parent or
network executive itself)
-
virtual void route(const PortValue& pv, devs* model, adevs_bag<EventReceiver>& r) = 0
-
An implementation should fill the EventReceiver bag r
with all destinations to receive pvvalue
-
virtual void gc_models(adevs_set<devs*>& removed) = 0
-
The models in the set removed are no long members of this
network executives component set (as per getComponents())
and are no longer in use by the simulation engine
-
virtual bool componentSetChanged() const
-
This method returns a hint to the simulation engine.
-
virtual ~netExec()
- Destructor
-
netExec* typeIsNetExec()
Protected Methods
-
netExec(const netExec& src)
-
void operator=(const netExec& src)
Inherited from atomic:
Public Methods
-
void init(ADEVS_TIME_TYPE t0)
-
virtual void init()
-
virtual void delta_int()
-
virtual void delta_ext(ADEVS_TIME_TYPE e, const adevs_bag<PortValue>& x)
-
virtual void delta_conf(const adevs_bag<PortValue>& x)
-
virtual void output_func(adevs_bag<PortValue>& y)
-
virtual void gc_output(adevs_bag<PortValue>& g)
-
static void output(ADEVS_PORT_TYPE port, ADEVS_IO_TYPE value, adevs_bag<PortValue>& y)
-
ADEVS_TIME_TYPE timeNext() const
-
ADEVS_TIME_TYPE timeLast() const
-
ADEVS_TIME_TYPE timeCurrent() const
-
ADEVS_TIME_TYPE elapsed() const
-
ADEVS_TIME_TYPE sigma() const
-
ADEVS_TIME_TYPE ta() const
-
void hold(ADEVS_TIME_TYPE dt)
-
void passivate()
-
void setTimeCurrent(ADEVS_TIME_TYPE t_current)
-
void setTimeNext(ADEVS_TIME_TYPE t_next)
-
void setTimeLast(ADEVS_TIME_TYPE t_last)
-
atomic* typeIsAtomic()
-
adevs_bag<PortValue> * get_output_bag()
-
adevs_bag<PortValue> * get_input_bag()
-
void set_input_bag(adevs_bag<PortValue>* xx)
-
void set_output_bag(adevs_bag<PortValue>* yy)
Inherited from devs:
Public Methods
-
devsn* getParent()
-
const devsn* getParent() const
-
void setParent(devsn* model)
-
virtual devsn* typeIsNetwork()
-
unsigned long get_cellspace_key() const
-
void set_cellspace_key(unsigned long cell_key)
Inherited from object:
Public Methods
-
virtual object* clone() const
Documentation
Base type for all network executive models
netExec(devsn* parent = NULL)
netExec(const netExec& src, devsn* parent)
virtual void getComponents(adevs_set<devs*>& c) = 0
-
Implementations of this method should fill out the
set c with all components models (but not the parent or
network executive itself)
virtual void route(const PortValue& pv, devs* model, adevs_bag<EventReceiver>& r) = 0
-
An implementation should fill the EventReceiver bag r
with all destinations to receive pvvalue
virtual void gc_models(adevs_set<devs*>& removed) = 0
-
The models in the set removed are no long members of this
network executives component set (as per getComponents())
and are no longer in use by the simulation engine
virtual bool componentSetChanged() const
-
This method returns a hint to the simulation engine. If the
return value is true, the simulation engine can skip the check
for new or removed components. Otherwise, the simulator will
perform the new/removed component check. By default, this method
will always return true.
virtual ~netExec()
- Destructor
netExec* typeIsNetExec()
netExec(const netExec& src)
void operator=(const netExec& src)
- Direct child classes:
- net_exec
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.