Unity SDK  v1.2.0
Loading...
Searching...
No Matches
WeArt.Components.WeArtController Class Reference

This component wraps and exposes the network client that communicates with the hardware middleware. Use the Instance singleton property to retrieve the instance. More...

Inheritance diagram for WeArt.Components.WeArtController:
[legend]

Classes

class  DevicesStatusUpdated
 

Public Member Functions

void AfterConnectionSuccessful ()
 Start other procedures after the session is started correctly.
 
void StartCalibration ()
 
void StopCalibration ()
 
void ResetCalibration ()
 
void StartRawData ()
 
void StopRawData ()
 
void EnableScan (bool enable)
 Enables or Disables the scanner for BLE devices.
 
void EnableRunMode (bool enable)
 Enables or Disables Run mode to connected devices.
 
void DisconnectAllDevices ()
 Disconnects all connected TouchDIVER devices.
 
void UpdateDeviceStatus (BleDevice device)
 Force update of the TD device status on Connection Management Panel.
 
void ConnectDevice (BleDevice device, HandSide handSide)
 Connects TD device to WeArtTouchDiver with exact hand side.
 
void DisconnectDevice (BleDevice device)
 Disconnect BLE Device.
 
BleDevice GetBleDeviceByID (DeviceID deviceID)
 Gets BleDevice by DeviceID.
 

Properties

static WeArtController Instance [get]
 The singleton instance of WeArtController
 
WeArtClient Client [get]
 The network client that communicates with the hardware middleware.
 

Detailed Description

This component wraps and exposes the network client that communicates with the hardware middleware. Use the Instance singleton property to retrieve the instance.

Member Function Documentation

◆ AfterConnectionSuccessful()

void WeArt.Components.WeArtController.AfterConnectionSuccessful ( )
inline

Start other procedures after the session is started correctly.

◆ ConnectDevice()

void WeArt.Components.WeArtController.ConnectDevice ( BleDevice  device,
HandSide  handSide 
)
inline

Connects TD device to WeArtTouchDiver with exact hand side.

Parameters
device
handSide

◆ DisconnectAllDevices()

void WeArt.Components.WeArtController.DisconnectAllDevices ( )
inline

Disconnects all connected TouchDIVER devices.

◆ DisconnectDevice()

void WeArt.Components.WeArtController.DisconnectDevice ( BleDevice  device)
inline

Disconnect BLE Device.

Parameters
device

◆ EnableRunMode()

void WeArt.Components.WeArtController.EnableRunMode ( bool  enable)
inline

Enables or Disables Run mode to connected devices.

Parameters
enable

◆ EnableScan()

void WeArt.Components.WeArtController.EnableScan ( bool  enable)
inline

Enables or Disables the scanner for BLE devices.

Parameters
enable

◆ GetBleDeviceByID()

BleDevice WeArt.Components.WeArtController.GetBleDeviceByID ( DeviceID  deviceID)
inline

Gets BleDevice by DeviceID.

Parameters
deviceID
Returns

◆ ResetCalibration()

void WeArt.Components.WeArtController.ResetCalibration ( )
inline

◆ StartCalibration()

void WeArt.Components.WeArtController.StartCalibration ( )
inline

◆ StartRawData()

void WeArt.Components.WeArtController.StartRawData ( )
inline

◆ StopCalibration()

void WeArt.Components.WeArtController.StopCalibration ( )
inline

◆ StopRawData()

void WeArt.Components.WeArtController.StopRawData ( )
inline

◆ UpdateDeviceStatus()

void WeArt.Components.WeArtController.UpdateDeviceStatus ( BleDevice  device)
inline

Force update of the TD device status on Connection Management Panel.

Parameters
device

Property Documentation

◆ Client

WeArtClient WeArt.Components.WeArtController.Client
get

The network client that communicates with the hardware middleware.

◆ Instance

WeArtController WeArt.Components.WeArtController.Instance
staticget

The singleton instance of WeArtController


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