X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/33aec8491c4c337352f570c24f8a76298e3a319c..126597feb03d318d3d70a351ae0adff9bab8f59c:/src/mc/Checker.cpp diff --git a/src/mc/Checker.cpp b/src/mc/Checker.cpp index 159e3d5780..1fefd9d3df 100644 --- a/src/mc/Checker.cpp +++ b/src/mc/Checker.cpp @@ -4,22 +4,37 @@ /* 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 + +#include + #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() { } -FunctionalChecker::~FunctionalChecker() +// virtual +RecordTrace Checker::getRecordTrace() { + return {}; } -int FunctionalChecker::run() +// virtual +std::vector Checker::getTextualTrace() { - return function_(*session_); + return {}; } }