|
Emotiv Experimenter 1.0
An EEG experimentation application for the Emotiv headset
|
Consumes EEG data using actions which are invoked using an ISynchronizeInvoke. Null actions are ignored. More...
Public Member Functions | |
| EEGDataListener (ISynchronizeInvoke invoker, Action< IEEGDataSource > onSourceConnected, Action< IArrayView< EEGDataEntry >> onListen, Action< IEEGDataSource > onSourceDisconnected, Action onDispose=null) | |
| Create a listener whose behavior is defined by the given actions. Any action may be null. | |
| void | Listen (IArrayView< EEGDataEntry > data) |
| Invokes the listen action. | |
| void | SourceConnected (IEEGDataSource source) |
| Invokes the connected action. | |
| void | SourceDisconnected (IEEGDataSource source) |
| Invokes the disconnected action. | |
Protected Member Functions | |
| override void | DisposeOfManagedResources () |
| Removes the listener from its data source, and invokes the dispose action. | |
Consumes EEG data using actions which are invoked using an ISynchronizeInvoke. Null actions are ignored.
| MCAEmotiv.Interop.EEGDataListener.EEGDataListener | ( | ISynchronizeInvoke | invoker, |
| Action< IEEGDataSource > | onSourceConnected, | ||
| Action< IArrayView< EEGDataEntry >> | onListen, | ||
| Action< IEEGDataSource > | onSourceDisconnected, | ||
| Action | onDispose = null |
||
| ) |
Create a listener whose behavior is defined by the given actions. Any action may be null.
| override void MCAEmotiv.Interop.EEGDataListener.DisposeOfManagedResources | ( | ) | [protected, virtual] |
Removes the listener from its data source, and invokes the dispose action.
Implements System.SafeDisposable.
| void MCAEmotiv.Interop.EEGDataListener.Listen | ( | IArrayView< EEGDataEntry > | data | ) |
Invokes the listen action.
Implements MCAEmotiv.Interop.IEEGDataListener.
| void MCAEmotiv.Interop.EEGDataListener.SourceConnected | ( | IEEGDataSource | source | ) |
Invokes the connected action.
Implements MCAEmotiv.Interop.IEEGDataListener.
| void MCAEmotiv.Interop.EEGDataListener.SourceDisconnected | ( | IEEGDataSource | source | ) |
Invokes the disconnected action.
Implements MCAEmotiv.Interop.IEEGDataListener.
1.7.3