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

Used internally to asynchronously write a string to a file stream. More...

Public Member Functions

 AsyncStreamWriter (string fileName, bool append)
 
void Close ()
 Finish writing items in queue and close out the thread. More...
 
void WriteLine (string line)
 Queue a line to be written. More...
 

Protected Member Functions

void DoWrite ()
 Main function that writes lines queued in the writeQueue blcoking collection to the file indicated. More...
 

Detailed Description

Used internally to asynchronously write a string to a file stream.

Constructor & Destructor Documentation

SharpBCI.AsyncStreamWriter.AsyncStreamWriter ( string  fileName,
bool  append 
)

Member Function Documentation

void SharpBCI.AsyncStreamWriter.Close ( )

Finish writing items in queue and close out the thread.

void SharpBCI.AsyncStreamWriter.DoWrite ( )
protected

Main function that writes lines queued in the writeQueue blcoking collection to the file indicated.

void SharpBCI.AsyncStreamWriter.WriteLine ( string  line)

Queue a line to be written.


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