Base type for all v1x network executive models
Inheritance:
Public Methods
-
netExec(adevs::Network<PortValue>* parent = NULL)
-
Constructor.
-
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
-
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)
-
This method is not used in v2x because the simulation engine
automatically deletes removed models
-
virtual bool componentSetChanged() const
-
This must return true if the model component set changed during
the last state transition.
-
virtual ~netExec()
- Destructor
-
bool model_transition()
-
Implementation of the v2x method.
Inherited from atomic:
Public Methods
-
virtual void init()
-
virtual void delta_int()
-
virtual void delta_ext(double 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)
-
double timeNext() const
-
double timeLast() const
-
double timeCurrent() const
-
double sigma() const
-
double elapsed() const
-
void hold(double dt)
-
void passivate()
-
void v1_init()
-
double ta()
-
void delta_ext(double e, const adevs::Bag<PortValue>& xb)
-
void delta_conf(const adevs::Bag<PortValue>& xb)
-
void output_func(adevs::Bag<PortValue>& y)
-
void gc_output(adevs::Bag<PortValue>& g)
Inherited from object:
Public Methods
-
const object& operator=(const object&)
-
virtual object* clone() const
Documentation
Base type for all v1x network executive models
- netExec(adevs::Network<PortValue>* parent = NULL)
-
Constructor. The parent should be the devsn model to which this network
executive belongs.
- 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
- 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)
-
This method is not used in v2x because the simulation engine
automatically deletes removed models
- virtual 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;
- virtual ~netExec()
- Destructor
- bool 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++.