Added RegisterGroups for MachineDefinition
[Mograsim.git] / plugins / net.mograsim.machine / src / net / mograsim / machine / RegisterGroup.java
1 package net.mograsim.machine;
2
3 import java.util.Set;
4
5 public interface RegisterGroup extends Identifiable
6 {
7         /**
8          * Returns all Registers contained in this group and subgroups
9          */
10         Set<Register> getRegisters();
11
12         /**
13          * Returns the sub groups of this group. May very well be an empty set.
14          */
15         Set<RegisterGroup> getSubGroups();
16 }