Restructured register system
[Mograsim.git] / plugins / net.mograsim.machine / src / net / mograsim / machine / registers / RegisterGroup.java
1 package net.mograsim.machine.registers;
2
3 import java.util.List;
4
5 import net.mograsim.machine.Identifiable;
6
7 public interface RegisterGroup extends Identifiable
8 {
9         /**
10          * Returns all Registers contained in this group that are not part of a subgroup.
11          */
12         List<Register> getRegisters();
13
14         /**
15          * Returns the sub groups of this group. May very well be an empty set.
16          */
17         List<RegisterGroup> getSubGroups();
18 }