dol: initial dol commit
[jump.git] / dol / src / dol / visitor / hdsd / scd / fsm / scd_stm_failed.h
diff --git a/dol/src/dol/visitor/hdsd/scd/fsm/scd_stm_failed.h b/dol/src/dol/visitor/hdsd/scd/fsm/scd_stm_failed.h
new file mode 100644 (file)
index 0000000..148a56b
--- /dev/null
@@ -0,0 +1,25 @@
+#ifndef SCD_STM_FAILED_H
+#define SCD_STM_FAILED_H
+
+#include "fsm/scd_stm_base.h"
+
+
+/* forward declaration */
+class scd_cont_man_master;
+
+
+class scd_stm_failed : public scd_stm_base
+{
+public:
+    scd_stm_failed(scd_simulator& sim, scd_cont_man_master& fsm):
+        scd_stm_base(sim, fsm) { _name = "failed"; }
+    virtual ~scd_stm_failed() {}
+
+    /* scd_cont_fsm_if */
+    void set_fail() {}
+    void process() {}
+    bool active() const;
+    bool failed() const;
+};
+
+#endif