X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/43186d1a213aef27ac1cc3b9feb42c01333d4bcf..1175edd91aa4b1e90a0cd822eda961ee21d20a54:/src/cxx/Simulation.hpp diff --git a/src/cxx/Simulation.hpp b/src/cxx/Simulation.hpp index 9ad91633e7..00f4ab1c64 100644 --- a/src/cxx/Simulation.hpp +++ b/src/cxx/Simulation.hpp @@ -1,5 +1,19 @@ -#ifndef MSG_ENVIRONMENT_HPP -#define MSG_ENVIRONMENT_HPP +/* + * Simulation.hpp + * + * This file contains the declaration of the wrapper class of the native MSG task type. + * + * Copyright 2006,2007 Martin Quinson, Malek Cherier + * All right reserved. + * + * This program is free software; you can redistribute + * it and/or modify it under the terms of the license + *(GNU LGPL) which comes with this package. + * + */ + +#ifndef MSG_SIMULATION_HPP +#define MSG_SIMULATION_HPP #ifndef __cplusplus #error Sumulation.hpp requires C++ compilation (use a .cxx suffix) @@ -9,6 +23,7 @@ namespace SimGrid { namespace Msg { + // Simulation class declaration. class Simulation { public : @@ -23,19 +38,17 @@ namespace SimGrid int execute(int argc, char** argv); - void run(const Environment& rEnvironment, const Application& rApplication) + private: + + void run(void) throw (MsgException); // Operators. - const Simulation& operator = (const Simulation& rSimulation); - - }; } // namespace Msg } // namespace SimGrid - -#endif // !MSG_ENVIRONMENT_HPP \ No newline at end of file +#endif // !MSG_SIMULATION_HPP \ No newline at end of file