MNE-CPP  beta 0.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
directrecord.cpp
1 #include "directrecord.h"
2 
3 DirectRecord::DirectRecord()
4 {
5 }
6 
7 
8 
9 //*************************************************************************************************************
10 
11 bool DirectRecord::start()
12 {
13 
14  // Start threads
15  QThread::start();
16 
17  return true;
18 }
19 
20 
21 //*************************************************************************************************************
22 
23 bool DirectRecord::stop()
24 {
25  // Stop threads
26  QThread::terminate();
27  QThread::wait();
28 
29  //Clear Buffers
30 
31  return true;
32 }
33 
34 
35 //*************************************************************************************************************
36 
37 void DirectRecord::run()
38 {
39  while(true)
40  {
41 
42  }
43 }