BioRadio SDK - Java Android  1.1
com.glneurotech.devices.common.IDeviceManager< T extends IDaqDevice > Interface Template Reference
Inheritance diagram for com.glneurotech.devices.common.IDeviceManager< T extends IDaqDevice >:
com.glneurotech.devices.bioradio.devicemocks.MockBioRadioDeviceManager

Public Member Functions

IDeviceAdapter createVirtualDevice (GlntStream inputStream)
 
getBluetoothDevice (long macID)
 
getBluetoothDevice (String deviceId)
 
getDeviceByComPort (String comPort)
 
getDeviceByTcpAddress (String hostname, int port)
 

Detailed Description

Interface that describes functionality common to all GLNT device manager classes.

Template Parameters
TA type that implments IDaqDevice

Member Function Documentation

◆ createVirtualDevice()

IDeviceAdapter com.glneurotech.devices.common.IDeviceManager< T extends IDaqDevice >.createVirtualDevice ( GlntStream  inputStream)

Creates a reference to a Virtual Device object based on the recording file that is given.

Parameters
inputStreamThe stream containing the recording
Returns

Implemented in com.glneurotech.devices.bioradio.devicemocks.MockBioRadioDeviceManager.

◆ getBluetoothDevice() [1/2]

T com.glneurotech.devices.common.IDeviceManager< T extends IDaqDevice >.getBluetoothDevice ( long  macID)

Returns a reference to a device connected over bluetooth

Parameters
macIDTake a long as parameter.
Returns

Implemented in com.glneurotech.devices.bioradio.devicemocks.MockBioRadioDeviceManager.

◆ getBluetoothDevice() [2/2]

T com.glneurotech.devices.common.IDeviceManager< T extends IDaqDevice >.getBluetoothDevice ( String  deviceId)

Returns a reference to a device connected over bluetooth

Parameters
deviceIdTake a string as parameter.
Returns

Implemented in com.glneurotech.devices.bioradio.devicemocks.MockBioRadioDeviceManager.

◆ getDeviceByComPort()

T com.glneurotech.devices.common.IDeviceManager< T extends IDaqDevice >.getDeviceByComPort ( String  comPort)

Returns a reference to the device at the specified COM port.

Parameters
comPortThe name of the COM port, e.g. "COM1"
Returns

Implemented in com.glneurotech.devices.bioradio.devicemocks.MockBioRadioDeviceManager.

◆ getDeviceByTcpAddress()

T com.glneurotech.devices.common.IDeviceManager< T extends IDaqDevice >.getDeviceByTcpAddress ( String  hostname,
int  port 
)

Returns the device connected at the specified hostname and port

Parameters
hostnameThe address of the device.
portThe port on which the device is listening
Returns
A reference to the device. This method is currently used only for internal testing and should not be used in an application.

Implemented in com.glneurotech.devices.bioradio.devicemocks.MockBioRadioDeviceManager.


The documentation for this interface was generated from the following file: