Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Remove SafetyChecker::pre
[simgrid.git] / src / mc / SafetyChecker.hpp
1 /* Copyright (c) 2008-2016. The SimGrid Team.
2  * All rights reserved.                                                     */
3
4 /* This program is free software; you can redistribute it and/or modify it
5  * under the terms of the license (GNU LGPL) which comes with this package. */
6
7 #ifndef SIMGRID_MC_SAFETY_CHECKER_HPP
8 #define SIMGRID_MC_SAFETY_CHECKER_HPP
9
10 #include "src/mc/mc_forward.hpp"
11 #include "src/mc/Checker.hpp"
12
13 namespace simgrid {
14 namespace mc {
15
16 class SafetyChecker : public Checker {
17   simgrid::mc::ReductionMode reductionMode_ = simgrid::mc::ReductionMode::unset;
18 public:
19   SafetyChecker(Session& session);
20   ~SafetyChecker();
21   int run() override;
22 private:
23   // Temp
24   void init();
25 };
26
27 }
28 }
29
30 #endif