Package gpl.io
Class GPLDatagramProvider
java.lang.Object
gpl.io.GPLDatagramProvider
- All Implemented Interfaces:
DatagramProvider
-
Constructor Summary
ConstructorDescriptionGPLDatagramProvider
(GPLProcess gpsProcess, GPLDetectionBlock gplDetectionBlock) -
Method Summary
Modifier and TypeMethodDescriptionint
addDatagramData
(PamDataUnit dataUnit, float[] dataGramLine) Add datagram data to the dataGram line.int
Get the number of points required in a datagram by these data (e.g.
-
Constructor Details
-
GPLDatagramProvider
-
-
Method Details
-
getNumDataGramPoints
public int getNumDataGramPoints()Description copied from interface:DatagramProvider
Get the number of points required in a datagram by these data (e.g. half the fft length)- Specified by:
getNumDataGramPoints
in interfaceDatagramProvider
- Returns:
- the number of points in each time slice
-
addDatagramData
Description copied from interface:DatagramProvider
Add datagram data to the dataGram line. The implementation should simply add data into the passed array.- Specified by:
addDatagramData
in interfaceDatagramProvider
- Returns:
- number of points added ?
-
getScaleInformation
- Specified by:
getScaleInformation
in interfaceDatagramProvider
- Returns:
- information on the datagram scale
-