public class GSRChannel extends SensorChannel
Modifier and Type | Class and Description |
---|---|
class |
GSRChannel.Options |
Modifier and Type | Field and Description |
---|---|
protected EmpaticaListener |
_listener |
GSRChannel.Options |
options |
_frame, _sensor, _timer
_bufferID, _stream_out
_evchannel_in, _evchannel_out, _isSetup, _name, _safeToKill, _terminate, threadPriority
Constructor and Description |
---|
GSRChannel() |
Modifier and Type | Method and Description |
---|---|
protected void |
describeOutput(Stream stream_out) |
void |
enter(Stream stream_out)
initialization specific to sensor implementation (called by local thread after framework start and after sensor connects)
|
OptionList |
getOptions() |
int |
getSampleBytes() |
int |
getSampleDimension() |
double |
getSampleRate() |
Cons.Type |
getSampleType() |
protected boolean |
process(Stream stream_out)
main processing method
|
flush, getOutputDescription, getSampleNumber, init, run, setSyncInterval, setup, setWatchInterval
clear, getBufferID, getOutputStream, setBufferID
close, forcekill, getComponentName, getEventChannelOut, isSetup, reset
public final GSRChannel.Options options
protected EmpaticaListener _listener
public OptionList getOptions()
getOptions
in class Component
public void enter(Stream stream_out) throws SSJFatalException
SensorChannel
enter
in class SensorChannel
SSJFatalException
protected boolean process(Stream stream_out) throws SSJFatalException
SensorChannel
process
in class SensorChannel
SSJFatalException
public double getSampleRate()
getSampleRate
in class SensorChannel
public int getSampleDimension()
getSampleDimension
in class SensorChannel
public int getSampleBytes()
getSampleBytes
in class SensorChannel
public Cons.Type getSampleType()
getSampleType
in class SensorChannel
protected void describeOutput(Stream stream_out)
describeOutput
in class SensorChannel