Public Member Functions | |
ModuleElement (int first, int last) throws IllegalArgumentException | |
Constructor takes the first and last channel of the element. | |
int | getFirst () |
First channel contained (0->1535). | |
int | getLast () |
Last channel contained (0->1535). | |
int | getNChannels () |
boolean | isChannel () |
boolean | isChip () |
boolean | isLink () |
boolean | isModule () |
boolean | equals (Object e2) |
explicit equality operator | |
boolean | superset (ModuleElement e2) |
boolean | subset (ModuleElement e2) |
boolean | overlaps (ModuleElement e2) |
String | getClassName () |
void | write (OStream s, ObjectManager o) throws java.io.IOException |
Static Public Member Functions | |
static ModuleElement | chip (int chip) |
Creates a ModuleElement that represents a chip. | |
static ModuleElement | channel (int channel) |
Creates a ModuleElement that represents a channel. | |
static ModuleElement | link (int link) |
Creates a ModuleElement that represents a link. | |
static ModuleElement | module () |
Creates a ModuleElement that represents a module. | |
static ModuleElement | read (IStream s, ObjectManager o) throws java.io.IOException |
Private Attributes | |
int | first |
int | last |
Definition at line 8 of file ModuleElement.java.
|
Constructor takes the first and last channel of the element. 0,127 for chip 0 link 0, or perhaps 768, 895 for chip 0 link 1.
Definition at line 16 of file ModuleElement.java. References SctData.ModuleElement.first, and SctData.ModuleElement.last. Referenced by SctData.ModuleElement.channel(), SctData.ModuleElement.chip(), SctData.ModuleElement.link(), SctData.ModuleElement.module(), and SctData.ModuleElement.read(). |
|
Creates a ModuleElement that represents a channel.
Definition at line 36 of file ModuleElement.java. References SctData.ModuleElement.ModuleElement(). Here is the call graph for this function: ![]() |
|
Creates a ModuleElement that represents a chip.
Definition at line 28 of file ModuleElement.java. References SctData.ModuleElement.ModuleElement(). Here is the call graph for this function: ![]() |
|
explicit equality operator
Definition at line 91 of file ModuleElement.java. References SctData.ModuleElement.getFirst(), and SctData.ModuleElement.getLast(). Referenced by SctData.ModuleDefect.equals(). Here is the call graph for this function: ![]() |
|
Definition at line 66 of file ModuleElement.java. References SctData.ModuleElement.first, and SctData.ModuleElement.last. Referenced by SctData.ModuleElement.isChannel(), SctData.ModuleElement.isChip(), SctData.ModuleElement.isLink(), and SctData.ModuleElement.isModule(). |
|
Definition at line 71 of file ModuleElement.java. References SctData.ModuleElement.getNChannels(). Here is the call graph for this function: ![]() |
|
Definition at line 76 of file ModuleElement.java. References SctData.ModuleElement.getFirst(), and SctData.ModuleElement.getNChannels(). Here is the call graph for this function: ![]() |
|
Definition at line 81 of file ModuleElement.java. References SctData.ModuleElement.getFirst(), and SctData.ModuleElement.getNChannels(). Here is the call graph for this function: ![]() |
|
Definition at line 86 of file ModuleElement.java. References SctData.ModuleElement.getFirst(), and SctData.ModuleElement.getNChannels(). Here is the call graph for this function: ![]() |
|
Creates a ModuleElement that represents a link.
Definition at line 44 of file ModuleElement.java. References SctData.ModuleElement.ModuleElement(). Here is the call graph for this function: ![]() |
|
Definition at line 110 of file ModuleElement.java. References SctData.ModuleElement.getFirst(), and SctData.ModuleElement.getLast(). Here is the call graph for this function: ![]() |
|
Definition at line 105 of file ModuleElement.java. References SctData.ModuleElement.getFirst(), and SctData.ModuleElement.getLast(). Here is the call graph for this function: ![]() |
|
Definition at line 100 of file ModuleElement.java. References SctData.ModuleElement.getFirst(), and SctData.ModuleElement.getLast(). Here is the call graph for this function: ![]() |