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, setWatchIntervalclear, getBufferID, getOutputStream, setBufferIDclose, forcekill, getComponentName, getEventChannelOut, isSetup, resetpublic final GSRChannel.Options options
protected EmpaticaListener _listener
public OptionList getOptions()
getOptions in class Componentpublic void enter(Stream stream_out) throws SSJFatalException
SensorChannelenter in class SensorChannelSSJFatalExceptionprotected boolean process(Stream stream_out) throws SSJFatalException
SensorChannelprocess in class SensorChannelSSJFatalExceptionpublic double getSampleRate()
getSampleRate in class SensorChannelpublic int getSampleDimension()
getSampleDimension in class SensorChannelpublic int getSampleBytes()
getSampleBytes in class SensorChannelpublic Cons.Type getSampleType()
getSampleType in class SensorChannelprotected void describeOutput(Stream stream_out)
describeOutput in class SensorChannel