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
[xbt] Documentation and cleanup
[simgrid.git]
/
src
/
mc
/
Session.hpp
diff --git
a/src/mc/Session.hpp
b/src/mc/Session.hpp
index
f53d948
..
11afeda
100644
(file)
--- a/
src/mc/Session.hpp
+++ b/
src/mc/Session.hpp
@@
-37,8
+37,9
@@
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:
//
+private:
Session(pid_t pid, int socket);
// No copy:
Session(pid_t pid, int socket);
// No copy:
@@
-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