class netExec

Base type for all v1x network executive models

Inheritance:


Public Methods

[more] netExec(adevs::Network<PortValue>* parent = NULL)
Constructor.
[more]virtual void getComponents(adevs_set<devs*>& c) = 0
Implementations of this method should fill the set c with all components models, excluding the parent model and the 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)
This method is not used in v2x because the simulation engine automatically deletes removed models
[more]virtual bool componentSetChanged() const
This must return true if the model component set changed during the last state transition.
[more]virtual ~netExec()
Destructor
[more]bool model_transition()
Implementation of the v2x method.


Inherited from atomic:

Public Methods

ovirtual void init()
ovirtual void delta_int()
ovirtual void delta_ext(double 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)
odouble timeNext() const
odouble timeLast() const
odouble timeCurrent() const
odouble sigma() const
odouble elapsed() const
ovoid hold(double dt)
ovoid passivate()
ovoid v1_init()
odouble ta()
ovoid delta_ext(double e, const adevs::Bag<PortValue>& xb)
ovoid delta_conf(const adevs::Bag<PortValue>& xb)
ovoid output_func(adevs::Bag<PortValue>& y)
ovoid gc_output(adevs::Bag<PortValue>& g)


Inherited from object:

Public Methods

oconst object& operator=(const object&)
ovirtual object* clone() const


Documentation

Base type for all v1x network executive models
o netExec(adevs::Network<PortValue>* parent = NULL)
Constructor. The parent should be the devsn model to which this network executive belongs.

ovirtual void getComponents(adevs_set<devs*>& c) = 0
Implementations of this method should fill the set c with all components models, excluding the parent model and the 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)
This method is not used in v2x because the simulation engine automatically deletes removed models

ovirtual bool componentSetChanged() const
This must return true if the model component set changed during the last state transition. The default is to always return true;

ovirtual ~netExec()
Destructor

obool model_transition()
Implementation of the v2x method. It simply defers to componentSetChanged().


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.