Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Examples of CPP versions of Msg
[simgrid.git] / examples / cxx / suspend / DreamMaster.hpp
diff --git a/examples/cxx/suspend/DreamMaster.hpp b/examples/cxx/suspend/DreamMaster.hpp
new file mode 100644 (file)
index 0000000..8729ea3
--- /dev/null
@@ -0,0 +1,24 @@
+#ifndef DREAMMASTER_HPP\r
+#define DREAMMASTER_HPP\r
+\r
+#include <Process.hpp>\r
+using namespace SimGrid::Msg;\r
+\r
+class DreamMaster : public Process\r
+{\r
+       MSG_DECLARE_DYNAMIC(DreamMaster);\r
+\r
+       public:\r
+       \r
+       // Default constructor.\r
+       DreamMaster(){}\r
+       \r
+       // Destructor.\r
+       virtual ~DreamMaster(){}\r
+       \r
+       int main(int argc, char** argv);\r
+               \r
+};\r
+\r
+\r
+#endif // !DREAMMASTER_HPP
\ No newline at end of file