X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=WCudaMSE%2FTuto_Doxy%2Fsrc%2Fheader%2FAnimals.h;fp=WCudaMSE%2FTuto_Doxy%2Fsrc%2Fheader%2FAnimals.h;h=379376cf0307879df42c14bfda792fe7a9336433;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git diff --git a/WCudaMSE/Tuto_Doxy/src/header/Animals.h b/WCudaMSE/Tuto_Doxy/src/header/Animals.h new file mode 100755 index 0000000..379376c --- /dev/null +++ b/WCudaMSE/Tuto_Doxy/src/header/Animals.h @@ -0,0 +1,60 @@ +#ifndef ANIMAL_H_ +#define ANIMAL_H_ + +/*----------------------------------------------------------------------*\ + |* Declaration *| + \*---------------------------------------------------------------------*/ + +/*--------------------------------------*\ + |* Public *| + \*-------------------------------------*/ + +/** + * @class Animals + * @brief Represent the ensemble of Animals + * + *
+ * Here you can write the full documentation of teh class Animal.
+ * It's up to you!
+ * 
+ * + * http://en.wikipedia.org + */ +class Animals + { + public: + + /** + * @param poids in kg + */ + Animals(int poids); + + /** + * Destructor exist in C++, we are not in java! + */ + virtual ~Animals(); + + /** + *
+	 * Virtual method to eat.
+	 * Animal need to eat for live!
+	 * 
+ */ + virtual void eat()=0; + + /** + * Get the poids of the car + * @return weight in kg + */ + int getPoids(); + + + private: + int poids; ///