add basic parameter handling
[model-checker.git] / model.h
diff --git a/model.h b/model.h
index 4e4dcf0ff702b9e825646d0dc56407b81cbed38e..e93c4b51f6aa0cf9c12529c6f1220823f63cb380 100644 (file)
--- a/model.h
+++ b/model.h
@@ -23,10 +23,17 @@ class NodeStack;
 class CycleGraph;
 class Promise;
 
+/**
+ * Model checker parameter structure. Holds run-time configuration options for
+ * the model checker.
+ */
+struct model_params {
+};
+
 /** @brief The central structure for model-checking */
 class ModelChecker {
 public:
-       ModelChecker();
+       ModelChecker(struct model_params params);
        ~ModelChecker();
 
        /** The scheduler to use: tracks the running/ready Threads */
@@ -73,6 +80,8 @@ private:
        modelclock_t used_sequence_numbers;
        int num_executions;
 
+       const model_params params;
+
        /**
         * Stores the ModelAction for the current thread action.  Call this
         * immediately before switching from user- to system-context to pass