public class BluetoothPressureSensor extends BluetoothReader
Modifier and Type | Class and Description |
---|---|
class |
BluetoothPressureSensor.Options |
Modifier and Type | Field and Description |
---|---|
protected short[][] |
_irecvData |
protected boolean |
_isreallyConnected |
BluetoothPressureSensor.Options |
options |
_conn, _recvData, numStreams
_evchannel_in, _evchannel_out, _isSetup, _name, _safeToKill, _terminate, threadPriority
Constructor and Description |
---|
BluetoothPressureSensor() |
Modifier and Type | Method and Description |
---|---|
boolean |
connect()
initialization specific to sensor implementation (called by local thread after framework start)
|
short[] |
getDataInt(int channel_id) |
OptionList |
getOptions() |
void |
init()
early initialization specific to implementation (called by framework on instantiation)
|
void |
update()
called once per frame, can be overwritten
|
clear, disconnect, forcekill, getConnection, getData
checkConnection, getProviders, isConnected, run, waitForConnection
close, getComponentName, getEventChannelOut, isSetup, reset
protected short[][] _irecvData
public final BluetoothPressureSensor.Options options
protected boolean _isreallyConnected
public OptionList getOptions()
getOptions
in class BluetoothReader
public void init() throws SSJException
Sensor
init
in class BluetoothReader
SSJException
public boolean connect() throws SSJFatalException
Sensor
connect
in class BluetoothReader
SSJFatalException
public void update() throws SSJFatalException
Sensor
update
in class BluetoothReader
SSJFatalException
public short[] getDataInt(int channel_id)