net.sourceforge.geeboss.model.midi.memory
Class MemoryClass

java.lang.Object
  extended by net.sourceforge.geeboss.model.midi.memory.MemoryClass
All Implemented Interfaces:
Instanciable

public class MemoryClass
extends java.lang.Object
implements Instanciable

MemoryClass reprensentation

Author:
Frederic BORRY

Constructor Summary
MemoryClass(org.apache.avalon.framework.configuration.Configuration configuration)
          Create a new MemoryClass given it's configuration
 
Method Summary
 MemoryObject createInstance(java.lang.String objectName, MemoryObject parent, long baseAddress, MemoryManager manager)
          Create an instance of this instanciable element
 java.lang.String getName()
          Getter for class name
 long getSize()
          Getter for class size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemoryClass

public MemoryClass(org.apache.avalon.framework.configuration.Configuration configuration)
            throws org.apache.avalon.framework.configuration.ConfigurationException
Create a new MemoryClass given it's configuration

Parameters:
configuration - the configuration object
Throws:
org.apache.avalon.framework.configuration.ConfigurationException
Method Detail

createInstance

public MemoryObject createInstance(java.lang.String objectName,
                                   MemoryObject parent,
                                   long baseAddress,
                                   MemoryManager manager)
Create an instance of this instanciable element

Specified by:
createInstance in interface Instanciable
Parameters:
objectName - the name of the created instance
parent - the parent memory object
baseAddress - the baseAddress for the created instance
manager - the MemoryManager
Returns:
an instance of this instanciable element

getName

public java.lang.String getName()
Getter for class name

Returns:
the class name

getSize

public long getSize()
Getter for class size

Returns:
the class size


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