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, getDatacheckConnection, getProviders, isConnected, run, waitForConnectionclose, getComponentName, getEventChannelOut, isSetup, resetprotected short[][] _irecvData
public final BluetoothPressureSensor.Options options
protected boolean _isreallyConnected
public OptionList getOptions()
getOptions in class BluetoothReaderpublic void init()
throws SSJException
Sensorinit in class BluetoothReaderSSJExceptionpublic boolean connect()
throws SSJFatalException
Sensorconnect in class BluetoothReaderSSJFatalExceptionpublic void update()
throws SSJFatalException
Sensorupdate in class BluetoothReaderSSJFatalExceptionpublic short[] getDataInt(int channel_id)