Package nds2
Class buffer
- java.lang.Object
-
- nds2.channel
-
- nds2.buffer
-
public class buffer extends channel
The buffer class facilitates the storage of data and accompanying meta data.
-
-
Field Summary
Fields Modifier and Type Field Description static intGPS_INF-
Fields inherited from class nds2.channel
CHANNEL_TYPE_MTREND, CHANNEL_TYPE_ONLINE, CHANNEL_TYPE_RAW, CHANNEL_TYPE_RDS, CHANNEL_TYPE_STATIC, CHANNEL_TYPE_STREND, CHANNEL_TYPE_TEST_POINT, CHANNEL_TYPE_UNKNOWN, DATA_TYPE_COMPLEX32, DATA_TYPE_FLOAT32, DATA_TYPE_FLOAT64, DATA_TYPE_INT16, DATA_TYPE_INT32, DATA_TYPE_INT64, DATA_TYPE_UINT32, DATA_TYPE_UNKNOWN
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedbuffer(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()protected voidfinalize()channelgetChannel()protected static longgetCPtr(buffer obj)java.lang.ObjectgetData()intgetGpsNanoseconds()intgetGpsSeconds()intgetLength()longsamples()intstart()intstartNano()intstop()java.lang.StringtoString()-
Methods inherited from class nds2.channel
channelTypeToString, dataType, dataTypeSize, dataTypeToJString, dataTypeToString, gain, getChannelType, getCPtr, getDataType, getDEFAULT_CHANNEL_MASK, getDEFAULT_DATA_MASK, getMAX_SAMPLE_RATE, getMIN_SAMPLE_RATE, getName, getSampleRate, getSignalGain, getSignalOffset, getSignalSlope, getSignalUnits, isMinuteTrend, isSecondTrend, name, nameLong, offset, sampleRate, slope, type, typeToJString, units
-
-
-
-
Method Detail
-
getCPtr
protected static long getCPtr(buffer obj)
-
samples
public long samples()
-
start
public int start()
-
startNano
public int startNano()
-
stop
public int stop()
-
getGpsSeconds
public int getGpsSeconds()
-
getGpsNanoseconds
public int getGpsNanoseconds()
-
getChannel
public channel getChannel()
-
getData
public java.lang.Object getData()
-
getLength
public int getLength()
-
-