Package clipgenerator
Class ClipProcess.ClipBlockProcess
java.lang.Object
PamguardMVC.PamObserverAdapter
clipgenerator.ClipProcess.ClipBlockProcess
- All Implemented Interfaces:
PamObserver
- Enclosing class:
ClipProcess
-
Constructor Summary
ConstructorDescriptionClipBlockProcess
(ClipProcess clipProcess, PamDataBlock dataBlock, ClipGenSetting clipGenSetting) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addData
(PamObservable o, PamDataUnit dataUnit) Informs the PamObserver that new data have been added to the Observable classvoid
disconnect from it's data source.long
void
updateData
(PamObservable observable, PamDataUnit pamDataUnit) Informs the PamObserver that existing data have been updatedMethods inherited from class PamguardMVC.PamObserverAdapter
masterClockUpdate, noteNewSettings, receiveSourceNotification, removeObservable, setSampleRate
-
Constructor Details
-
ClipBlockProcess
public ClipBlockProcess(ClipProcess clipProcess, PamDataBlock dataBlock, ClipGenSetting clipGenSetting) - Parameters:
dataBlock
-clipGenSetting
-
-
-
Method Details
-
disconnect
public void disconnect()disconnect from it's data source. -
getObserverName
-
getObserverObject
- Specified by:
getObserverObject
in interfacePamObserver
- Overrides:
getObserverObject
in classPamObserverAdapter
- Returns:
- the actual observer. In most cases concrete classes will just return 'this' in response. The exception is the Threaded observer, which will return the single thread observer.
-
getRequiredDataHistory
- Specified by:
getRequiredDataHistory
in interfacePamObserver
- Overrides:
getRequiredDataHistory
in classPamObserverAdapter
- Parameters:
arg
- optional argument from PamObservable- Returns:
- time in milliseconds required by data held in PamObservable
-
addData
Description copied from interface:PamObserver
Informs the PamObserver that new data have been added to the Observable class- Specified by:
addData
in interfacePamObserver
- Overrides:
addData
in classPamObserverAdapter
-
updateData
Description copied from interface:PamObserver
Informs the PamObserver that existing data have been updated- Specified by:
updateData
in interfacePamObserver
- Overrides:
updateData
in classPamObserverAdapter
-