-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathromaligner.h
More file actions
29 lines (21 loc) · 721 Bytes
/
romaligner.h
File metadata and controls
29 lines (21 loc) · 721 Bytes
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
27
28
29
#ifndef ROMALIGNER_H
#define ROMALIGNER_H
/* MaskRomTool first generates bit positions from rows and columns,
* then aligns those into a linked list. There are many good reasons
* to align in different ways, so we abstract the aligner into a class.
*
* Eventually, we'd like to have multiple children of this class implementing
* competing strategies, so that faster or more accurate strategies can be
* tried out before replacing the default.
*/
#include "rombititem.h"
class MaskRomTool;
class RomAligner
{
public:
RomAligner();
QString name="RomAligner";
//Marks the table of bits, returns top-left entry.
virtual RomBitItem* markBitTable(MaskRomTool* mrt)=0;
};
#endif // ROMALIGNER_H