SharpBCI
A multi-threaded brain control interface (BCI) library in C#
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
SharpBCI.RawEventEmitter Class Reference

An end-point consumer which emits TrainedEvents it received Must only be connected to Pipeables which output EEGEvents. More...

Inheritance diagram for SharpBCI.RawEventEmitter:
SharpBCI.Pipeable SharpBCI.IPipeable

Public Member Functions

 RawEventEmitter (SharpBCI self)
 
- Public Member Functions inherited from SharpBCI.Pipeable
void SetInput (BlockingCollection< object > newInput)
 Set the input on this IPipeable to param input Should only be used internally by Connect. More...
 
void Connect (IPipeable other)
 Connect the input of other to our output Note: mirror == false using this override. More...
 
void Connect (IPipeable other, bool mirror)
 Connect the input of other to our output and allow for control of mirror data. More...
 
virtual void Start (TaskFactory taskFactory, CancellationTokenSource cts)
 Actually start doing work (i.e., promise to eventually start pushing data to connected pipeables) More...
 
virtual void Stop ()
 Require this IPipeable to stop, blocking until actually stopped. More...
 

Protected Member Functions

override bool Process (object item)
 
- Protected Member Functions inherited from SharpBCI.Pipeable
void Add (object item)
 

Additional Inherited Members

- Public Attributes inherited from SharpBCI.Pipeable
const int DEFAULT_BUFFER_SIZE = 1000
 

Detailed Description

An end-point consumer which emits TrainedEvents it received Must only be connected to Pipeables which output EEGEvents.

Constructor & Destructor Documentation

SharpBCI.RawEventEmitter.RawEventEmitter ( SharpBCI  self)

Member Function Documentation

override bool SharpBCI.RawEventEmitter.Process ( object  item)
protectedvirtual

Implements SharpBCI.Pipeable.


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