Passive

From VLE

Jump to: navigation, search


All models in VLE inherit from the class vle::devs::Dynamics. This class defines the functional interface of any simulation model as well as a certain number of functions facilitating the coding of the simulation models. The passive model is the simplest model to develop because it is the default behavior of the models in VLE.

class PassiveModel : public vle::devs::Dynamics
{
public:
  PassiveModel(const devs::DynamicsInit& init,
               const devs::InitEventList& event)
  {}
 
  virtual ~PassiveModel()
  {}
};
 
DECLARE_DYNAMICS(PassiveModel)


This page was last modified on 4 July 2010, at 15:51. This page has been accessed 543 times.