00001 00006 #include <vve.h> 00007 00008 class MyModel : public Model 00009 { 00010 MyModel(QObject* parent) 00011 : Model(parent) 00012 { 00013 // Initialization of the model 00014 } 00015 00016 void step() 00017 { 00018 // Compute the evolution of the model 00019 } 00020 00021 }; 00022 00023 DEFINE_MODEL(MyModel); 00024