|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.geeboss.model.midi.memory.MemoryComponent
public abstract class MemoryComponent
Base class for memory components (MemoryObject, MemoryValue)
Field Summary | |
---|---|
protected long |
mAbsoluteAddress
Absolute address for this memory component |
protected long |
mBaseAddress
Base address for this memory component |
protected java.lang.String |
mName
Name for the memory component |
protected MemoryObject |
mParent
The parent memory object |
protected long |
mSize
Size for this memory component |
Constructor Summary | |
---|---|
MemoryComponent(java.lang.String name,
MemoryObject parent,
long baseAddress,
long size)
Create a new MemoryComponent given it's name, baseAddress and it's size |
Method Summary | |
---|---|
long |
getAbsoluteAddress()
Getter for absolute address (the address within the device) |
long |
getBaseAddress()
Getter for base address (the address relative to the parent object) |
java.lang.String |
getName()
Getter for name |
MemoryObject |
getParent()
Getter for parent |
long |
getSize()
Getter for size |
abstract boolean |
isValue()
Returns true if this MemoryComponent's implementation is a value (data) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sourceforge.geeboss.model.midi.sysex.Sysexable |
---|
fromSysex, toSysex |
Field Detail |
---|
protected java.lang.String mName
protected MemoryObject mParent
protected long mBaseAddress
protected long mAbsoluteAddress
protected long mSize
Constructor Detail |
---|
public MemoryComponent(java.lang.String name, MemoryObject parent, long baseAddress, long size)
name
- the memory component nameparent
- the parent memory objectbaseAddress
- the MemoryComponent base addresssize
- the MemoryComponent sizeMethod Detail |
---|
public abstract boolean isValue()
public java.lang.String getName()
public MemoryObject getParent()
public long getSize()
public long getAbsoluteAddress()
public long getBaseAddress()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |