X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dec242c057a35631bad2c2464580873b0c1200f3..846b7de4a868bf8dc1270f76a01c33738576694d:/src/cxx/Simulation.hpp diff --git a/src/cxx/Simulation.hpp b/src/cxx/Simulation.hpp index a0a4e6bd08..631cc30c96 100644 --- a/src/cxx/Simulation.hpp +++ b/src/cxx/Simulation.hpp @@ -1,38 +1,61 @@ -#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) #endif +#include +#include + namespace SimGrid { namespace Msg { - class Simulation + class MsgException; + class FileNotFoundException; + + // Simulation class declaration. + class SIMGRIDX_EXPORT Simulation { public : - Simulation(); + Simulation(){}; Simulation(const Simulation& rSimulation); - virtual ~Simulation(); + virtual ~Simulation(){}; // Operations. int execute(int argc, char** argv); + private: + + void run(void) + throw (MsgException); + // Operators. - const Simulation& operator = (const Simulation& rSimulation); - - }; } // namespace Msg } // namespace SimGrid +#endif // !MSG_SIMULATION_HPP -#endif // !MSG_ENVIRONMENT_HPP \ No newline at end of file