Class AbstractMemory
- java.lang.Object
-
- net.emustudio.emulib.plugins.memory.AbstractMemory
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.emustudio.emulib.plugins.memory.Memory
Memory.MemoryListener
-
-
Field Summary
Fields Modifier and Type Field Description protected ApplicationApi
applicationApi
emuStudio API.protected long
pluginID
Plugin ID assigned by emuStudioprotected PluginSettings
settings
Memory custom settings.
-
Constructor Summary
Constructors Constructor Description AbstractMemory(long pluginID, ApplicationApi applicationApi, PluginSettings settings)
Creates new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getTitle()
Get run-time title of this plugin.void
initialize()
No-operation.void
reset()
No-operation.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.emustudio.emulib.plugins.memory.Memory
getSize, isAutomationSupported
-
Methods inherited from interface net.emustudio.emulib.plugins.Plugin
destroy, getCopyright, getDescription, getVersion, isShowSettingsSupported, showSettings
-
-
-
-
Field Detail
-
pluginID
protected final long pluginID
Plugin ID assigned by emuStudio
-
applicationApi
protected final ApplicationApi applicationApi
emuStudio API.
-
settings
protected final PluginSettings settings
Memory custom settings.
-
-
Constructor Detail
-
AbstractMemory
public AbstractMemory(long pluginID, ApplicationApi applicationApi, PluginSettings settings)
Creates new instance.- Parameters:
pluginID
- plugin IDapplicationApi
- emuStudio APIsettings
- plugin custom settings
-
-
Method Detail
-
initialize
public void initialize() throws PluginInitializationException
No-operation. Should be overridden if needed.- Specified by:
initialize
in interfacePlugin
- Throws:
PluginInitializationException
- thrown when initialization process was not successful
-
getTitle
public java.lang.String getTitle()
Description copied from interface:Plugin
Get run-time title of this plugin.The title is a matter of change during runtime - for example there might exist a device instantiated more than once, and each instance can have different title assigned at runtime.
-
-