X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2abf25f94d9a3fd19a5d85637d6758932be8b047..846b7de4a868bf8dc1270f76a01c33738576694d:/src/cxx/Msg.hpp diff --git a/src/cxx/Msg.hpp b/src/cxx/Msg.hpp index 3e26478018..2ed2f96e29 100644 --- a/src/cxx/Msg.hpp +++ b/src/cxx/Msg.hpp @@ -20,13 +20,18 @@ #error Msg.hpp requires C++ compilation (use a .cxx suffix) #endif -#include +#include +#include +#include + namespace SimGrid { namespace Msg { class MsgException; + class InvalidArgumentException; + class LogicException; /*! \brief init() - Initialize MSG (This function must be called at the begining of each simulation). * @@ -53,8 +58,14 @@ namespace SimGrid * \return The current simulation time. */ SIMGRIDX_EXPORT double getClock(void); + + + SIMGRIDX_EXPORT void setMaxChannelNumber(int number) + throw(InvalidArgumentException, LogicException); + + SIMGRIDX_EXPORT int getMaxChannelNumber(void); } // namespace Msg } // namespace SimGrid -#endif // !MSG_HPP \ No newline at end of file +#endif // !MSG_HPP