Base class for DEVS network models
Inheritance:
Public Methods
-
devsn()
- Constructor
-
devsn(const devsn& src)
- Copy constructor
-
const devsn& operator=(const devsn& src)
- Assignment operator
-
void initialize(ADEVS_TIME_TYPE t0)
-
Any class derived from the devsn class should call
the parent init() method when the derived init() method
is called.
-
virtual netExec* getNetExec() = 0
- Get the network executive associated with this network model
-
virtual ~devsn()
-
Destructor.
-
devsn* typeIsNetwork()
- Returns a pointer to this model
Inherited from devs:
Public Fields
-
basic_sim_support_t bsim_support
Public Methods
-
virtual atomic* typeIsAtomic()
-
virtual netExec* typeIsNetExec()
-
const devsn* getParent() const
-
devsn* getParent()
-
void setParent(devsn* parent)
-
static void prefer_thread(int thread_id)
Inherited from object:
Public Methods
-
virtual object* clone() const
Documentation
Base class for DEVS network models
devsn()
- Constructor
devsn(const devsn& src)
- Copy constructor
const devsn& operator=(const devsn& src)
- Assignment operator
void initialize(ADEVS_TIME_TYPE t0)
-
Any class derived from the devsn class should call
the parent init() method when the derived init() method
is called. The init() method initializes all
component models and sets their parent to point at this model.
The init() method assumes that the network executive
has already been created (that is, getNetExec() != NULL).
virtual netExec* getNetExec() = 0
- Get the network executive associated with this network model
virtual ~devsn()
-
Destructor. This destructor does not delete any component models.
Any cleanup should be done by the derived class.
devsn* typeIsNetwork()
- Returns a pointer to this model
- Direct child classes:
- staticDigraph
network_model
coupled
cellSpace
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.