A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move some content to the SynchroRaw dtor
[simgrid.git]
/
src
/
mc
/
Session.hpp
diff --git
a/src/mc/Session.hpp
b/src/mc/Session.hpp
index
9b7d857
..
11afeda
100644
(file)
--- a/
src/mc/Session.hpp
+++ b/
src/mc/Session.hpp
@@
-37,6
+37,7
@@
namespace mc {
class Session {
private:
std::unique_ptr<ModelChecker> modelChecker_;
class Session {
private:
std::unique_ptr<ModelChecker> modelChecker_;
+ std::shared_ptr<simgrid::mc::Snapshot> initialSnapshot_;
private:
Session(pid_t pid, int socket);
private:
Session(pid_t pid, int socket);
@@
-49,6
+50,13
@@
public:
~Session();
void close();
~Session();
void close();
+public:
+ void initialize();
+ void execute(Transition const& transition);
+ void logState();
+
+ void restoreInitialState();
+
public: // static constructors
/** Create a new session by forking
public: // static constructors
/** Create a new session by forking