CEBL  2.1
Public Member Functions
MindsetStream Class Reference

#include <MindsetStream.hpp>

Public Member Functions

 MindsetStream (CEBLModel *model)
 ~MindsetStream ()
- Public Member Functions inherited from EEGDataStream
 EEGDataStream ()
virtual ~EEGDataStream ()
void start ()
void stop ()
void setSampleRate (int sr)
bool isStarted ()
int getSamplesAvailable ()
EEGData read (int samples)
 read and remove n samples from the buffer
EEGData readAll ()
 read all samples from the buffer and clear the buffer
- Public Member Functions inherited from TimeoutThread
 TimeoutThread ()
virtual ~TimeoutThread ()
bool isHalted ()
double getTimeoutLength ()
 get length of timeout in milliseconds
void setTimeoutLength (double l)
 set length of timeotu in milliseconds

Additional Inherited Members

- Protected Attributes inherited from EEGDataStream
EEGData buffer
int sample_rate
- Protected Attributes inherited from TimeoutThread
boost::thread * updater_thread
 the thread object
bool is_started
 flag to indicate whether or not the thread is started
bool halt
 flag to order thread to halt on next iteration
bool halted
 flag to indicate whether or not thread has hlated
boost::mutex thread_lock
 mutex to lock the thread
double timeout_length
 how often updater is called

Detailed Description

MindsetStream.hpp

Author:
Jeshua Bratman

An EEG DataStream to

Definition at line 31 of file MindsetStream.hpp.


Constructor & Destructor Documentation

MindsetStream::MindsetStream ( CEBLModel model)

Definition at line 20 of file MindsetStream.cpp.

MindsetStream::~MindsetStream ( )

Definition at line 24 of file MindsetStream.cpp.


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