summaryrefslogtreecommitdiff
path: root/inc/if.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/if.h')
-rw-r--r--inc/if.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/inc/if.h b/inc/if.h
index 437fa8d..7906c22 100644
--- a/inc/if.h
+++ b/inc/if.h
@@ -1,5 +1,6 @@
#ifndef IF_H
#define IF_H
+#include "accessor.h"
#include "instrDTO.h"
#include "response.h"
#include "stage.h"
@@ -7,15 +8,14 @@
class IF : public Stage
{
public:
- using Stage::Stage;
-
- Response advance(InstrDTO &i) override;
-
- private:
/**
- * The name this pipeline stages uses to access storage.
+ * Constructor.
+ * @param The next stage in the pipeline.
+ * @return A newly allocated IF object.
*/
- const Accessor id = FETCH;
+ IF(Stage *next);
+
+ Response advance(InstrDTO &i) override;
};
#endif /* IF_H_INCLUDED */