#error Msg.hpp requires C++ compilation (use a .cxx suffix)\r
#endif\r
\r
-#include <Config.hpp>\r
+#include <MsgException.hpp>\r
+#include <InvalidArgumentException.hpp>\r
+#include <LogicException.hpp>\r
+\r
\r
namespace SimGrid\r
{\r
namespace Msg\r
{\r
class MsgException;\r
+ class InvalidArgumentException;\r
+ class LogicException;\r
\r
/*! \brief init() - Initialize MSG (This function must be called at the begining of each simulation).\r
*\r
* \return The current simulation time.\r
*/\r
SIMGRIDX_EXPORT double getClock(void);\r
+\r
+\r
+ SIMGRIDX_EXPORT void setMaxChannelNumber(int number)\r
+ throw(InvalidArgumentException, LogicException);\r
+\r
+ SIMGRIDX_EXPORT int getMaxChannelNumber(void);\r
\r
} // namespace Msg\r
} // namespace SimGrid\r
\r
-#endif // !MSG_HPP
\ No newline at end of file
+#endif // !MSG_HPP\r