Merge pull request #40 from LorenzE/master

C info
Merge pull request #41 from mne-tools/master

C info
SourceLab moved inits from constructors to init method
Merge branch 'master' of https://github.com/mne-tools/mne-cpp
Basic structure for the TMSi EEG connector created.
Added tmsidriver class and TMSi data acquisition SDK (RTDevice.cpp, Feature.cpp, Sadio)
[bugfix] mne_x plug-in destructor
Merge pull request #1 from mne-tools/master

some bugfixes
fieldtrip driver files added
Merge branch 'TMSI_EEG' of https://github.com/LorenzE/mne-cpp into TMSI_EEG
fixed fiff debug lib include
fixed initial m_iBufferSize value
Started to copy and implement own driver class with the help of the fieldtrip and openvibe tmsidrivers
- Deleted the fieldtrip cpp's and headers
- Proceeded with the implementation own driver class with the help of fieldtrip and openvibe
- most changes done in the initDevice() function -> almost done
- next step will be the implementation of the getSampleData() function
- continued to work on the tmsidriver class
- finished the initDevice and uninitDevice function
- registry Key function not used anymore -> lib can possibly be deleted in future revisions
- getSampleMatrixValue() is now successfully receiving data from the device all with a default value that no channel is connected (which correct since there are no channels connected)
tmsisetup.ui:
- default GUI parameters changed

tmsi.cpp:
- the mne_x start button can now be used (fixed problem with the PRMTSA variabel - the function init() was not getting called in previous revisions)

tmsi.pro:
- deleted the advapi32.lib because no windows registry functions are necessary anymore

tmsidriver.cpp:
- internal driver buffersize is set to MAX_BUFFER_SIZE
- removed m_fSampleBuffer. The samples are directly written into a matrix structure
- added check if the  driver was loaded successfully

tmsiproducer.cpp:
- added sleeping time for the thread

newrealtimemultisamplearray.cpp:
- default structure changed so that the channels get incremental numbers assigned
- Some minor sampling rate fixes
- DoxyGen Documentation added
- channel number now incrementing from 1
- Start/Stop acquisition button disabled in the GUI -> can be deleted in future revisions
- added some GUI elements which are yet to be connected to actions and functions
- Added the actual functions behind the "Channel Corrections" and "Write received samples to file" group boxes
- Plugin pointer destructor fixed (both the destructor for the initial plugin instance and the cloned one are now called correctly)
- inits in tmsi.cpp moved from constuctor to init()
- stop() ist now working when closing mne_x while sampling -> the device is getting uninitialised successfully
- Got rid of QThread::terminate()-> now using m_bIsRunning flag
- m_pTMSI in tmsiproducer is no longer a QSharedPointer