ishmaelComms
Class IshmaelDataControl

java.lang.Object
  extended by PamController.PamControlledUnit
      extended by ishmaelComms.IshmaelDataControl
All Implemented Interfaces:
PamSettings

public class IshmaelDataControl
extends PamControlledUnit
implements PamSettings

Author:
Hisham, Qayum, Doug Gillespie, David McLaren, Paul Redmond

Controller for NMEA data acquisition into the Pamguard framework

The controller contains two processes, each of which produces a single output PamDataBlock.

The first process adds all NMEA strings to it's output block in their original format

The second process takes only the GPRMC data and adds them to a separate data block. the map should subscribe to this second process and tell it how much data it wished to keep using the FirstRequiredSample method of the PamObserver interface.


Field Summary
(package private)  ProcessIshmaelData ishmaelClientProcess
           
(package private)  IshmaelDataControl ishmaelDataControl
           
 
Fields inherited from class PamController.PamControlledUnit
isViewer
 
Constructor Summary
IshmaelDataControl(java.lang.String unitName)
           
 
Method Summary
 java.io.Serializable getSettingsReference()
           
 long getSettingsVersion()
           
 boolean restoreSettings(PamControlledUnitSettings pamControlledUnitSettings)
           
 
Methods inherited from class PamController.PamControlledUnit
addOtherRelatedMenuItems, addPamProcess, addRelatedMenuItems, canClose, createDetectionMenu, createDisplayMenu, createFileMenu, createHelpMenu, fillXMLElement, fillXMLParameters, getFrameNumber, getNumPamProcesses, getPamController, getPamModuleInfo, getPamProcess, getPamView, getSidePanel, getTabClipCopier, getTabPanel, getTabSpecificMenuBar, getUnitName, getUnitType, gotoTab, notifyArrayChanged, notifyModelChanged, pamHasStopped, pamToStart, removePamProcess, removeUnit, rename, saveViewerData, setFrameNumber, setPamController, setPamModuleInfo, setPamView, setSidePanel, setTabPanel, setupControlledUnit, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface PamController.PamSettings
getUnitName, getUnitType
 

Field Detail

ishmaelDataControl

IshmaelDataControl ishmaelDataControl

ishmaelClientProcess

ProcessIshmaelData ishmaelClientProcess
Constructor Detail

IshmaelDataControl

public IshmaelDataControl(java.lang.String unitName)
Method Detail

restoreSettings

public boolean restoreSettings(PamControlledUnitSettings pamControlledUnitSettings)
Specified by:
restoreSettings in interface PamSettings
Returns:
true if successful The object performs final checks (if needed) and then casts the settings data pamcontrolledunitSettings.settings into the correct type and uses as required

getSettingsReference

public java.io.Serializable getSettingsReference()
Specified by:
getSettingsReference in interface PamSettings
Returns:
The serialisable object that will be stored

getSettingsVersion

public long getSettingsVersion()
Specified by:
getSettingsVersion in interface PamSettings
Returns:
An integer version number for the settings