SharpBCI
A multi-threaded brain control interface (BCI) library in C#
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
SharpBCI.Pipeable Class Referenceabstract
Inheritance diagram for SharpBCI.Pipeable:
SharpBCI.IPipeable SharpBCI.AggregatePredictionPipeable SharpBCI.BandpassPipeable SharpBCI.EEGDeviceProducer SharpBCI.FFTPipeable SharpBCI.RawEventEmitter SharpBCI.SimpleFilterPipeable SharpBCI.TournamentArtifactPipeable SharpBCI.TrainedEventEmitter

Public Member Functions

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...
 

Public Attributes

const int DEFAULT_BUFFER_SIZE = 1000
 

Protected Member Functions

void Add (object item)
 
abstract bool Process (object item)
 

Member Function Documentation

void SharpBCI.Pipeable.Add ( object  item)
protected
void SharpBCI.Pipeable.Connect ( IPipeable  other)

Connect the input of other to our output Note: mirror == false using this override.

Implements SharpBCI.IPipeable.

void SharpBCI.Pipeable.Connect ( IPipeable  other,
bool  mirror 
)

Connect the input of other to our output and allow for control of mirror data.

Implements SharpBCI.IPipeable.

void SharpBCI.Pipeable.SetInput ( BlockingCollection< object >  input)

Set the input on this IPipeable to param input Should only be used internally by Connect.

Implements SharpBCI.IPipeable.

virtual void SharpBCI.Pipeable.Start ( TaskFactory  taskFactory,
CancellationTokenSource  cts 
)
virtual

Actually start doing work (i.e., promise to eventually start pushing data to connected pipeables)

Implements SharpBCI.IPipeable.

Reimplemented in SharpBCI.EEGDeviceProducer.

virtual void SharpBCI.Pipeable.Stop ( )
virtual

Require this IPipeable to stop, blocking until actually stopped.

Implements SharpBCI.IPipeable.

Reimplemented in SharpBCI.EEGDeviceProducer.

Member Data Documentation

const int SharpBCI.Pipeable.DEFAULT_BUFFER_SIZE = 1000

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