net.sourceforge.geeboss.model.midi.memory
Class MappedDevice
java.lang.Object
net.sourceforge.geeboss.model.midi.memory.MemoryComponent
net.sourceforge.geeboss.model.midi.memory.MemoryObject
net.sourceforge.geeboss.model.midi.memory.MappedDevice
- All Implemented Interfaces:
- Referencing, Sysexable
- Direct Known Subclasses:
- RolandDevice
public abstract class MappedDevice
- extends MemoryObject
A device that has a mapped memory
- Author:
- Frederic BORRY
Constructor Summary |
MappedDevice()
Create a new MappedDevice |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MappedDevice
public MappedDevice()
throws org.apache.avalon.framework.configuration.ConfigurationException
- Create a new MappedDevice
- Throws:
org.apache.avalon.framework.configuration.ConfigurationException
getDeviceConfiguration
public abstract org.apache.avalon.framework.configuration.Configuration getDeviceConfiguration()
throws org.apache.avalon.framework.configuration.ConfigurationException
- Get the implementation specific configuration
- Returns:
- the implementation specific configuration
- Throws:
org.apache.avalon.framework.configuration.ConfigurationException
getComponent
protected MemoryComponent getComponent(long address)
- Get a memory component given it's address
- Parameters:
address
- the address of the component
- Returns:
- the component or null
fromSysex
public void fromSysex(SysexMemoryMessage message)
- Load this Syseable object from a sysex memory message
- Parameters:
message
- the sysex memory message to load the object from
toSysex
public void toSysex(java.util.List<SysexMemoryMessage> messages)
- Dump this Sysexable object into a sysex memory message list
- Specified by:
toSysex
in interface Sysexable
- Overrides:
toSysex
in class MemoryObject
- Parameters:
messages
- the sysex memory message list to dump the object to
Copyright (c) 2005 The Geeboss team (http://geeboss.sourceforge.net). All Rights Reserved.