]> AND Public Git Repository - simgrid.git/blobdiff - src/mc/Checker.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics in doc
[simgrid.git] / src / mc / Checker.cpp
index cfa6563f3c57e7dc4567c8722a7e0601a1b5e922..6ae0aae9468607426e42a9e21733f5a45fc4fb6f 100644 (file)
@@ -4,14 +4,43 @@
 /* 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. */
 
+#include <string>
+
+#include <xbt/asserts.h>
+
 #include "src/mc/Checker.hpp"
+#include "src/mc/ModelChecker.hpp"
 
 namespace simgrid {
 namespace mc {
 
+Checker::Checker(Session& session) : session_(&session)
+{
+  xbt_assert(mc_model_checker);
+  xbt_assert(mc_model_checker->getChecker() == nullptr);
+  mc_model_checker->setChecker(this);
+}
+
 Checker::~Checker()
 {
 }
 
+// virtual
+RecordTrace Checker::getRecordTrace()
+{
+  return {};
+}
+
+// virtual
+std::vector<std::string> Checker::getTextualTrace()
+{
+  return {};
+}
+
+// virtual
+void Checker::logState()
+{
+}
+
 }
 }