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

Public GIT Repository
fix build with MC + no SMPI
[simgrid.git] / src / mc / checker / Checker.hpp
index 96a1f205f550e2eab31f6fae15ab7c942b59b214..c71f17e1d14dbb6bf4380d796e8ed03fd9dab07e 100644 (file)
@@ -48,18 +48,19 @@ public:
   /** Show the current trace/stack
    *
    *  Could this be handled in the Session/ModelChecker instead? */
-  virtual RecordTrace getRecordTrace() = 0;
+  virtual RecordTrace get_record_trace() = 0;
 
   /** Generate a textual execution trace of the simulated application */
-  virtual std::vector<std::string> getTextualTrace() = 0;
+  virtual std::vector<std::string> get_textual_trace() = 0;
 
   /** Log additional information about the state of the model-checker */
-  virtual void logState() = 0;
+  virtual void log_state() = 0;
 
 protected:
-  Session& getSession() { return *session_; }
+  Session& get_session() { return *session_; }
 };
 
+// External constructors so that the types (and the types of their content) remain hidden
 XBT_PUBLIC Checker* createLivenessChecker(Session& session);
 XBT_PUBLIC Checker* createSafetyChecker(Session& session);
 XBT_PUBLIC Checker* createCommunicationDeterminismChecker(Session& session);