9 #include "../Exceptions.hpp"
38 if(getSamplesAvailable() < samples)
43 if(samples==getSamplesAvailable())
48 boost::mutex::scoped_lock lock(thread_lock);
49 ublas::matrix<double> data = buffer;
63 boost::mutex::scoped_lock lock(thread_lock);
106 cerr <<
"EEGDataStream: Exception caugh when stopping stream.";
112 void EEGDataStream::timeoutFunction()
121 cerr <<
"Halted data stream due to exception: " << e.what() <<
"\n";
126 cerr <<
"Halted data stream due to exception: " << m <<
"\n";