#include <adevs_models.h>
Public Member Functions | |
Network () | |
Constructor. | |
virtual void | getComponents (Set< Devs< X > * > &c)=0 |
virtual void | route (const X &value, Devs< X > *model, Bag< Event< X > > &r)=0 |
virtual | ~Network () |
Network< X > * | typeIsNetwork () |
Returns a pointer to this model. |
virtual adevs::Network< X >::~Network | ( | ) | [inline, virtual] |
Destructor. This destructor does not delete any component models. Any cleanup should be done by the derived class.
virtual void adevs::Network< X >::getComponents | ( | Set< Devs< X > * > & | c | ) | [pure virtual] |
Implementations of this method should fill the set c with all components models, excluding the model Network model itself.
Implemented in adevs::SimpleDigraph< VALUE >.
virtual void adevs::Network< X >::route | ( | const X & | value, | |
Devs< X > * | model, | |||
Bag< Event< X > > & | r | |||
) | [pure virtual] |
An implementation should fill the EventReceiver bag r with all Events that describe the target model and value to be delivered to the target.
Implemented in adevs::SimpleDigraph< VALUE >.