Package asiojni
Class ASIOInterface
java.lang.Object
asiojni.ASIOInterface
- All Implemented Interfaces:
DaqSystemInterface
,CommonPluginInterface
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateDAQControl
(AcquisitionControl acquisitionControl) Creates a new instance of the DAQ System controller, the class that extends DaqSystem.class.A brief description of the plugin.Returns the developer's contact emailThe default name of the plugin.Returns the name of the developer.Return the name of the helpset file.Returns the name of the jar file holding the plugin.The Pamguard version number that the plugin was developed on.The Pamguard version number that the plugin has been tested on.Returns the version number of the pluginvoid
setJarFile
(String jarFile) Sets the name of the jar file (including path) holding the plugin code.
-
Constructor Details
-
ASIOInterface
public ASIOInterface()
-
-
Method Details
-
createDAQControl
Description copied from interface:DaqSystemInterface
Creates a new instance of the DAQ System controller, the class that extends DaqSystem.class. The AcquisitionControl object that gets passed to the interface provides the DAQ System with a link to hardware information e.g. channel list, sample rate, etc.This field cannot be null.
- Specified by:
createDAQControl
in interfaceDaqSystemInterface
- Returns:
- the DaqSystem object
-
getHelpSetName
Description copied from interface:CommonPluginInterface
Return the name of the helpset file. For information on the helpset format, seeinvalid @link
{@link https://docs.oracle.com/cd/E19253-01/819-0913/author/helpset.html
If the helpset file is in a package folder of the plugins folder, make sure to include that in the filename. For example, if the package name is MyFirstPlugin and the help file is MyPluginHelp.hs, the return should be:
return "MyFirstPlugin/MyPluginHelp.hs";
If there is no helpset file, return null.
- Specified by:
getHelpSetName
in interfaceCommonPluginInterface
- Returns:
-
setJarFile
Description copied from interface:CommonPluginInterface
Sets the name of the jar file (including path) holding the plugin code. This method is called fromPamModel.loadPlugins(PamModuleInfo)
for every valid interface file found in the plugins folder.- Specified by:
setJarFile
in interfaceCommonPluginInterface
- Parameters:
jarFile
- String containing the jarFile name and absolute path
-
getJarFile
Description copied from interface:CommonPluginInterface
Returns the name of the jar file holding the plugin. The jarFile String should be declared as a class field, but does not need to be initialised to anything specific as it will be set by Pamguard in thePamModel.loadPlugins(PamModuleInfo)
method when the plugin was first found.- Specified by:
getJarFile
in interfaceCommonPluginInterface
- Returns:
-
getDeveloperName
Description copied from interface:CommonPluginInterface
Returns the name of the developer. Can be company name or individual.- Specified by:
getDeveloperName
in interfaceCommonPluginInterface
- Returns:
- String containing the name of the developer. Cannot be null.
-
getContactEmail
Description copied from interface:CommonPluginInterface
Returns the developer's contact email- Specified by:
getContactEmail
in interfaceCommonPluginInterface
- Returns:
- String containing the developer's contact email. Cannot be null.
-
getVersion
Description copied from interface:CommonPluginInterface
Returns the version number of the plugin- Specified by:
getVersion
in interfaceCommonPluginInterface
- Returns:
- String containing the plugin version number. Cannot be null
-
getPamVerDevelopedOn
Description copied from interface:CommonPluginInterface
The Pamguard version number that the plugin was developed on.- Specified by:
getPamVerDevelopedOn
in interfaceCommonPluginInterface
- Returns:
- String containing the version number of Pamguard that the plugin was developed on. Cannot be null.
-
getPamVerTestedOn
Description copied from interface:CommonPluginInterface
The Pamguard version number that the plugin has been tested on.- Specified by:
getPamVerTestedOn
in interfaceCommonPluginInterface
- Returns:
- String containing the latest version of Pamguard that the plugin has been tested on. Cannot be null.
-
getAboutText
Description copied from interface:CommonPluginInterface
A brief description of the plugin. This will be displayed in the Help>About window. Could include not just a description of the plugin, but also the developer's website and additional contact information.- Specified by:
getAboutText
in interfaceCommonPluginInterface
- Returns:
- String containing a description of the plugin. Cannot be null
-
getDefaultName
Description copied from interface:CommonPluginInterface
The default name of the plugin.This field cannot be null.
- Specified by:
getDefaultName
in interfaceCommonPluginInterface
- Returns:
- the default name of the plugin as a String. Cannot be null.
-