summaryrefslogtreecommitdiff
path: root/inc/if.h
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-03-27 20:30:18 -0400
committerbd <bdunahu@operationnull.com>2025-03-27 20:30:18 -0400
commiteaa87e9fcd90c00d6261cbdb854efb7a09467f1d (patch)
treee7f4cc05a30e5589f8bd70ddc49f420369adbb3c /inc/if.h
parent8d37d15ebd1221e3b1698abb3b051d9d0c044c93 (diff)
Instr, InstrDTO gets/sets, other structures required for decode
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 */