class netExec

Base type for all network executive models

Inheritance:


Public Methods

[more] netExec(devsn* parent = NULL)
[more] netExec(const netExec& src, devsn* parent)
[more]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)
[more]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
[more]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
[more]virtual bool componentSetChanged() const
This method returns a hint to the simulation engine.
[more]virtual ~netExec()
Destructor
[more]netExec* typeIsNetExec()

Protected Methods

[more] netExec(const netExec& src)
[more]void operator=(const netExec& src)


Inherited from atomic:

Public Methods

ovoid init(ADEVS_TIME_TYPE t0)
ovirtual void init()
ovirtual void delta_int()
ovirtual void delta_ext(ADEVS_TIME_TYPE e, const adevs_bag<PortValue>& x)
ovirtual void delta_conf(const adevs_bag<PortValue>& x)
ovirtual void output_func(adevs_bag<PortValue>& y)
ovirtual void gc_output(adevs_bag<PortValue>& g)
ostatic void output(ADEVS_PORT_TYPE port, ADEVS_IO_TYPE value, adevs_bag<PortValue>& y)
oADEVS_TIME_TYPE timeNext() const
oADEVS_TIME_TYPE timeLast() const
oADEVS_TIME_TYPE timeCurrent() const
oADEVS_TIME_TYPE elapsed() const
oADEVS_TIME_TYPE sigma() const
oADEVS_TIME_TYPE ta() const
ovoid hold(ADEVS_TIME_TYPE dt)
ovoid passivate()
ovoid setTimeCurrent(ADEVS_TIME_TYPE t_current)
ovoid setTimeNext(ADEVS_TIME_TYPE t_next)
ovoid setTimeLast(ADEVS_TIME_TYPE t_last)
oatomic* typeIsAtomic()
oadevs_bag<PortValue> * get_output_bag()
oadevs_bag<PortValue> * get_input_bag()
ovoid set_input_bag(adevs_bag<PortValue>* xx)
ovoid set_output_bag(adevs_bag<PortValue>* yy)


Inherited from devs:

Public Methods

odevsn* getParent()
oconst devsn* getParent() const
ovoid setParent(devsn* model)
ovirtual devsn* typeIsNetwork()
ounsigned long get_cellspace_key() const
ovoid set_cellspace_key(unsigned long cell_key)


Inherited from object:

Public Methods

ovirtual object* clone() const


Documentation

Base type for all network executive models
o netExec(devsn* parent = NULL)

o netExec(const netExec& src, devsn* parent)

ovirtual 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)

ovirtual 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

ovirtual 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

ovirtual 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.

ovirtual ~netExec()
Destructor

onetExec* typeIsNetExec()

o netExec(const netExec& src)

ovoid 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++.