public class AccelerationChannel extends SensorChannel
Modifier and Type | Class and Description |
---|---|
class |
AccelerationChannel.Options |
Modifier and Type | Field and Description |
---|---|
protected BandListener |
_listener |
AccelerationChannel.Options |
options |
_frame, _sensor, _timer
_bufferID, _stream_out
_evchannel_in, _evchannel_out, _isSetup, _name, _safeToKill, _terminate, threadPriority
Constructor and Description |
---|
AccelerationChannel() |
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() |
protected int |
getSampleDimension() |
protected double |
getSampleRate() |
protected Cons.Type |
getSampleType() |
void |
init()
early initialization specific to implementation (called by framework on instantiation)
|
protected boolean |
process(Stream stream_out)
main processing method
|
flush, getOutputDescription, getSampleBytes, getSampleNumber, run, setSyncInterval, setup, setWatchInterval
clear, getBufferID, getOutputStream, setBufferID
close, forcekill, getComponentName, getEventChannelOut, isSetup, reset
public final AccelerationChannel.Options options
protected BandListener _listener
public OptionList getOptions()
getOptions
in class Component
public void init() throws SSJException
SensorChannel
init
in class SensorChannel
SSJException
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
protected double getSampleRate()
getSampleRate
in class SensorChannel
protected int getSampleDimension()
getSampleDimension
in class SensorChannel
protected Cons.Type getSampleType()
getSampleType
in class SensorChannel
protected void describeOutput(Stream stream_out)
describeOutput
in class SensorChannel