Class AbstractMemory

  • All Implemented Interfaces:
    Memory, Plugin

    public abstract class AbstractMemory
    extends java.lang.Object
    implements Memory
    Implements fundamental functionality useful for most of the memory plugins.
    • 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.
        pluginID - plugin ID
        applicationApi - emuStudio API
        settings - plugin custom settings
    • Method Detail

      • 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.

        Specified by:
        getTitle in interface Plugin
        run-time title of the plugin
      • reset

        public void reset()
        No-operation. Should be overridden if needed.
        Specified by:
        reset in interface Plugin