Package | com.sekati.thinkgear.reader |
Class | public final class ThinkGearReader |
Inheritance | ThinkGearReader flash.events.EventDispatcher |
ByteArray
data from the ThinkGear Connector (TGC) buffer &
dispatches events as data is received. This is a faster approach to what the documentation suggests
which is configuring the TGC to output JSON
over the socket; creating load on both ends
as it necessitates serialization and deserialization.
Exposes properties available through the ThinkGear Connector API.
See also
Property | Defined by | ||
---|---|---|---|
buffer : ByteArray
Internal buffer used to read byte data from the ThinkGear Connector (TGC).
| ThinkGearReader | ||
eegPowers : EEGPowers
Object containing the EEG Powers data being
transmitted by the ThinkGear BCI.
| ThinkGearReader | ||
eSenseData : ESenseData
Object containing the Attention and Meditation
data being transmitted by the ThinkGear BCI.
| ThinkGearReader | ||
signalQuality : SignalQuality
The strength of the connection from the ThinkGear BCI hardware
device to the computer running the ThinkGear Connector (TGC).
| ThinkGearReader |
Method | Defined by | ||
---|---|---|---|
ThinkGearReader Constructor
| ThinkGearReader | ||
read():void
Processes the buffer containing data being transmitted by the ThinkGear BCI.
| ThinkGearReader |
buffer | property |
buffer:ByteArray
[read-write]Internal buffer used to read byte data from the ThinkGear Connector (TGC).
Implementation public function get buffer():ByteArray
public function set buffer(value:ByteArray):void
eegPowers | property |
eegPowers:EEGPowers
[read-write]Object containing the EEG Powers data being transmitted by the ThinkGear BCI.
Implementation public function get eegPowers():EEGPowers
public function set eegPowers(value:EEGPowers):void
eSenseData | property |
eSenseData:ESenseData
[read-write]Object containing the Attention and Meditation data being transmitted by the ThinkGear BCI.
Implementation public function get eSenseData():ESenseData
public function set eSenseData(value:ESenseData):void
signalQuality | property |
signalQuality:SignalQuality
[read-write]The strength of the connection from the ThinkGear BCI hardware device to the computer running the ThinkGear Connector (TGC).
Implementation public function get signalQuality():SignalQuality
public function set signalQuality(value:SignalQuality):void
ThinkGearReader | () | constructor |
public function ThinkGearReader()
ThinkGearReader Constructor
read | () | method |
public function read():void
Processes the buffer containing data being transmitted by the ThinkGear BCI.