Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[simix] Use std::string for s_smx_process_arg
[simgrid.git] / src / mc / Session.hpp
index f53d948..11afeda 100644 (file)
@@ -37,8 +37,9 @@ namespace mc {
 class Session {
 private:
   std::unique_ptr<ModelChecker> modelChecker_;
+  std::shared_ptr<simgrid::mc::Snapshot> initialSnapshot_;
 
-private: //
+private:
   Session(pid_t pid, int socket);
 
   // No copy:
@@ -49,6 +50,13 @@ public:
   ~Session();
   void close();
 
+public:
+  void initialize();
+  void execute(Transition const& transition);
+  void logState();
+
+  void restoreInitialState();
+
 public: // static constructors
 
   /** Create a new session by forking