BioRadio SDK - Java Android  1.1
com.glneurotech.devices.common.Sample Class Reference

Public Member Functions

final long getSampleNumber ()
 
final void setSampleNumber (long value)
 
final double getValue ()
 
final void setValue (double value)
 

Detailed Description

Represents one distinct sample of data read from a Great Lakes NeuroTechnologies DaqDevice.

Member Function Documentation

◆ getSampleNumber()

final long com.glneurotech.devices.common.Sample.getSampleNumber ( )

The incremental sample number associated with this sample. The SampleNumber should be incremented sequentially from one sample to the next. This allows a client process to verify samples are read in the correct order and no readings have been skipped.

◆ getValue()

final double com.glneurotech.devices.common.Sample.getValue ( )

The value read from the device.

◆ setSampleNumber()

final void com.glneurotech.devices.common.Sample.setSampleNumber ( long  value)

Sets sample number

Parameters
valueTake a long value.

◆ setValue()

final void com.glneurotech.devices.common.Sample.setValue ( double  value)

Sets value.

Parameters
valueTake a double value.

The documentation for this class was generated from the following file: