MNE-CPP  beta 1.0
main.cpp
1 //=============================================================================================================
37 //*************************************************************************************************************
38 //=============================================================================================================
39 // INCLUDES
40 //=============================================================================================================
41 
42 #include <iostream>
43 #include <vector>
44 
45 #include "mne_rt_server.h"
46 
47 
48 //*************************************************************************************************************
49 //=============================================================================================================
50 // QT INCLUDES
51 //=============================================================================================================
52 
53 #include <QtCore/QCoreApplication>
54 #include <QObject>
55 
56 
57 //*************************************************************************************************************
58 //=============================================================================================================
59 // USED NAMESPACES
60 //=============================================================================================================
61 
62 using namespace RTSERVER;
63 
64 
65 //*************************************************************************************************************
66 //=============================================================================================================
67 // MAIN
68 //=============================================================================================================
69 
70 //=============================================================================================================
79 int main(int argc, char *argv[])
80 {
81  QCoreApplication app(argc, argv);
82 
83  MNERTServer t_MneRtServer;
84  QObject::connect(&t_MneRtServer, SIGNAL(closeServer()), &app, SLOT(quit()));
85 
86  return app.exec();
87 }
88 
89 //*************************************************************************************************************
90 //=============================================================================================================
91 // STATIC DEFINITIONS
92 //=============================================================================================================
93 
94 
The MNERTServer class provides a Fiff data simulator.
Definition: mne_rt_server.h:92
implementation of the MNERTServer Class.