C# 클래스 MCAEmotiv.Interop.EEGDataListener

Consumes EEG data using actions which are invoked using an ISynchronizeInvoke. Null actions are ignored
상속: System.SafeDisposable, IEEGDataListener
파일 보기 프로젝트 열기: madelson/Emotiv-Experimenter 1 사용 예제들

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
DisposeOfManagedResources ( ) : void

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

메소드 상세

DisposeOfManagedResources() 보호된 메소드

Removes the listener from its data source, and invokes the dispose action
protected DisposeOfManagedResources ( ) : void
리턴 void

EEGDataListener() 공개 메소드

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
리턴 System

Listen() 공개 메소드

Invokes the listen action
public Listen ( IArrayView data ) : void
data IArrayView
리턴 void

SourceConnected() 공개 메소드

Invokes the connected action
public SourceConnected ( IEEGDataSource source ) : void
source IEEGDataSource
리턴 void

SourceDisconnected() 공개 메소드

Invokes the disconnected action
public SourceDisconnected ( IEEGDataSource source ) : void
source IEEGDataSource
리턴 void