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