blob: 7ee6ecb5e8fb6f897673c1974084e3d88a83a411 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef IF_H
#define IF_H
#include "accessor.h"
#include "instrDTO.h"
#include "response.h"
#include "stage.h"
class IF : public Stage
{
public:
/**
* Constructor.
* @param The next stage in the pipeline.
* @return A newly allocated IF object.
*/
IF(Stage *next);
InstrDTO *advance(Response p) override;
std::vector<int> stage_info() override;
private:
void advance_helper() override;
};
#endif /* IF_H_INCLUDED */
|