C# Class MCAEmotiv.Interop.EEGDataListener

Consumes EEG data using actions which are invoked using an ISynchronizeInvoke. Null actions are ignored
Inheritance: System.SafeDisposable, IEEGDataListener
Afficher le fichier Open project: madelson/Emotiv-Experimenter Class Usage Examples

Méthodes publiques

Méthode Description
EEGDataListener ( ISynchronizeInvoke invoker, Action onSourceConnected, Action onListen, Action onSourceDisconnected, System.Action onDispose = null ) : System

Create a listener whose behavior is defined by the given actions. Any action may be null

Listen ( IArrayView data ) : void

Invokes the listen action

SourceConnected ( IEEGDataSource source ) : void

Invokes the connected action

SourceDisconnected ( IEEGDataSource source ) : void

Invokes the disconnected action

Méthodes protégées

Méthode Description
DisposeOfManagedResources ( ) : void

Removes the listener from its data source, and invokes the dispose action

Method Details

DisposeOfManagedResources() protected méthode

Removes the listener from its data source, and invokes the dispose action
protected DisposeOfManagedResources ( ) : void
Résultat void

EEGDataListener() public méthode

Create a listener whose behavior is defined by the given actions. Any action may be null
public EEGDataListener ( ISynchronizeInvoke invoker, Action onSourceConnected, Action onListen, Action onSourceDisconnected, System.Action onDispose = null ) : System
invoker ISynchronizeInvoke
onSourceConnected Action
onListen Action
onSourceDisconnected Action
onDispose System.Action
Résultat System

Listen() public méthode

Invokes the listen action
public Listen ( IArrayView data ) : void
data IArrayView
Résultat void

SourceConnected() public méthode

Invokes the connected action
public SourceConnected ( IEEGDataSource source ) : void
source IEEGDataSource
Résultat void

SourceDisconnected() public méthode

Invokes the disconnected action
public SourceDisconnected ( IEEGDataSource source ) : void
source IEEGDataSource
Résultat void