Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
last changes of cpp wrappers examples
[simgrid.git] / examples / cxx / suspend / LazyGuy.hpp
index 13077c6..e7ffdcb 100644 (file)
@@ -1,28 +1,30 @@
-#ifndef LAZYGUY_HPP\r
-#define LAZYGUY_HPP\r
-\r
-#include <Process.hpp>\r
-using namespace SimGrid::Msg;\r
-\r
-class LazyGuy : public Process\r
-{\r
-       MSG_DECLARE_DYNAMIC(LazyGuy);\r
-\r
-       public:\r
-       \r
-       // Default constructor.\r
-       LazyGuy(){}\r
-       \r
-       // Destructor.\r
-       virtual ~LazyGuy(){}\r
-       \r
-       LazyGuy(const Host& rHost,const char* name)\r
-       throw(NullPointerException)\r
-       :Process(rHost, name){}\r
-       \r
-       int main(int argc, char** argv);\r
-               \r
-};\r
-\r
-\r
-#endif // !LAZYGUY_HPP
\ No newline at end of file
+#ifndef LAZYGUY_HPP
+#define LAZYGUY_HPP
+
+#include <Process.hpp>
+using namespace SimGrid::Msg;
+
+class LazyGuy : public Process
+{
+       // Not needed : DreamMaster directly constructs the object
+       // MSG_DECLARE_DYNAMIC(LazyGuy);
+
+       public:
+       
+       // Default constructor.
+       LazyGuy(){}
+       
+       // Destructor.
+       virtual ~LazyGuy(){}
+       
+       LazyGuy(const Host& rHost,const char* name)
+       throw(NullPointerException)
+       :Process(rHost, name){}
+       
+       int main(int argc, char** argv);
+               
+};
+
+
+#endif // !LAZYGUY_HPP
+