net.sourceforge.geeboss.model.patch
Class Patch

java.lang.Object
  extended by net.sourceforge.geeboss.model.midi.memory.MemoryComponent
      extended by net.sourceforge.geeboss.model.midi.memory.MemoryObject
          extended by net.sourceforge.geeboss.model.patch.Patch
All Implemented Interfaces:
Referencing, Sysexable
Direct Known Subclasses:
Gt8Patch

public abstract class Patch
extends MemoryObject

A Patch in geeboos

Author:
Frederic BORRY

Field Summary
 
Fields inherited from class net.sourceforge.geeboss.model.midi.memory.MemoryObject
mMemoryMap
 
Fields inherited from class net.sourceforge.geeboss.model.midi.memory.MemoryComponent
mAbsoluteAddress, mBaseAddress, mName, mParent, mSize
 
Constructor Summary
Patch(java.lang.String name, MemoryObject parent, long baseAddress, long size)
          Construc a new Patch
 
Method Summary
abstract  OdDsEffect getOdDs()
          Getter for OdDs effect if available
 PatchChain getPatchChain()
          Get the PatchChain for this patch
 PatchName getPatchName()
          Get the PatchName for this patch
 void setup()
          Setup the MemoryObject
 
Methods inherited from class net.sourceforge.geeboss.model.midi.memory.MemoryObject
addReference, fromSysex, getComponent, handleClassCastException, isValue, toSysex
 
Methods inherited from class net.sourceforge.geeboss.model.midi.memory.MemoryComponent
getAbsoluteAddress, getBaseAddress, getName, getParent, getSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Patch

public Patch(java.lang.String name,
             MemoryObject parent,
             long baseAddress,
             long size)
Construc a new Patch

Parameters:
parent - the parent memory object
name - the memory object name
baseAddress - the memory object base address
size - the memory object size
Method Detail

getOdDs

public abstract OdDsEffect getOdDs()
Getter for OdDs effect if available

Returns:
the OdDs effect if available or null

setup

public void setup()
Setup the MemoryObject

Overrides:
setup in class MemoryObject

getPatchName

public PatchName getPatchName()
Get the PatchName for this patch

Returns:
the PatchName for this patch

getPatchChain

public PatchChain getPatchChain()
Get the PatchChain for this patch

Returns:
the PatchChain for this patch


Copyright (c) 2005 The Geeboss team (http://geeboss.sourceforge.net). All Rights Reserved.