-#ifndef MSG_ENVIRONMENT_HPP\r
-#define MSG_ENVIRONMENT_HPP\r
+/*\r
+ * Simulation.hpp\r
+ *\r
+ * This file contains the declaration of the wrapper class of the native MSG task type.\r
+ *\r
+ * Copyright 2006,2007 Martin Quinson, Malek Cherier \r
+ * All right reserved. \r
+ *\r
+ * This program is free software; you can redistribute \r
+ * it and/or modify it under the terms of the license \r
+ *(GNU LGPL) which comes with this package. \r
+ *\r
+ */ \r
+ \r
+#ifndef MSG_SIMULATION_HPP\r
+#define MSG_SIMULATION_HPP\r
\r
#ifndef __cplusplus\r
#error Sumulation.hpp requires C++ compilation (use a .cxx suffix)\r
#endif\r
\r
+#include <MsgException.hpp>\r
+#include <FileNotFoundException.hpp>\r
+\r
namespace SimGrid\r
{\r
namespace Msg\r
{\r
- class Simulation\r
+ class MsgException;\r
+ class FileNotFoundException;\r
+\r
+ // Simulation class declaration.\r
+ class SIMGRIDX_EXPORT Simulation\r
{\r
public :\r
\r
- Simulation();\r
+ Simulation(){};\r
\r
Simulation(const Simulation& rSimulation);\r
\r
- virtual ~Simulation();\r
+ virtual ~Simulation(){};\r
\r
// Operations.\r
\r
int execute(int argc, char** argv);\r
\r
- void run(const Environment& rEnvironment, const Application& rApplication)\r
+ private:\r
+ \r
+ void run(void)\r
throw (MsgException);\r
\r
\r
// Operators.\r
- \r
const Simulation& operator = (const Simulation& rSimulation);\r
- \r
- \r
};\r
\r
} // namespace Msg\r
} // namespace SimGrid\r
\r
+#endif // !MSG_SIMULATION_HPP\r
\r
-#endif // !MSG_ENVIRONMENT_HPP
\ No newline at end of file