contribAcquisitionServer.inl 3.81 KB
Newer Older
Jozef Legeny's avatar
Jozef Legeny committed
1
/*
Jozef Legeny's avatar
Jozef Legeny committed
2 3 4
#include "openeeg-modulareeg/src/ovasCDriverOpenEEGModularEEG.h"
#include "field-trip-protocol/src/ovasCDriverFieldtrip.h"
#include "brainproducts-brainvisionrecorder/src/ovasCDriverBrainProductsBrainVisionRecorder.h"
Jozef Legeny's avatar
Jozef Legeny committed
5 6 7
*/

#include "ovasCPluginExternalStimulations.h"
nfoy's avatar
nfoy committed
8
#include "ovasCPluginTCPTagging.h"
Jozef Legeny's avatar
Jozef Legeny committed
9

10
#include "ovasCDriverBrainmasterDiscovery.h"
Jozef Legeny's avatar
Jozef Legeny committed
11
#include "ovasCDriverBrainProductsBrainVisionRecorder.h"
12
#include "ovasCDriverCognionics.h"
13 14
#include "ovasCDriverCtfVsmMeg.h"
#include "ovasCDriverGTecGUSBamp.h"
15
#include "ovasCDriverGTecGUSBampLegacy.h"
16
#include "ovasCDriverGTecGUSBampLinux.h"
17
#include "ovasCDriverGTecGMobiLabPlus.h"
18
#include "ovasCDrivergNautilusInterface.h"
19
#include "ovasCDriverFieldtrip.h"
20
#include "ovasCDriverMBTSmarting.h"
Jozef Legeny's avatar
Jozef Legeny committed
21
#include "ovasCDriverMitsarEEG202A.h"
22 23
#include "ovasCDriverOpenALAudioCapture.h"
#include "ovasCDriverOpenEEGModularEEG.h"
jfrey's avatar
jfrey committed
24
#include "ovasCDriverOpenBCI.h"
25
#include "ovasCDriverEEGO.h"
Jozef Legeny's avatar
Jozef Legeny committed
26 27 28

namespace OpenViBEContributions {

Jozef Legeny's avatar
Jozef Legeny committed
29 30 31 32



	void initiateContributions(OpenViBEAcquisitionServer::CAcquisitionServerGUI* pGUI, OpenViBEAcquisitionServer::CAcquisitionServer* pAcquisitionServer, const OpenViBE::Kernel::IKernelContext& rKernelContext, std::vector<OpenViBEAcquisitionServer::IDriver*>* vDriver)
Jozef Legeny's avatar
Jozef Legeny committed
33
	{
Jozef Legeny's avatar
Jozef Legeny committed
34
		vDriver->push_back(new OpenViBEAcquisitionServer::CDriverBrainProductsBrainVisionRecorder(pAcquisitionServer->getDriverContext()));
35 36 37
#if defined WIN32
		vDriver->push_back(new OpenViBEAcquisitionServer::CDriverCognionics(pAcquisitionServer->getDriverContext()));
#endif
38
		vDriver->push_back(new OpenViBEAcquisitionServer::CDriverCtfVsmMeg(pAcquisitionServer->getDriverContext()));
Jozef Legeny's avatar
Jozef Legeny committed
39 40
#if defined TARGET_HAS_ThirdPartyGUSBampCAPI
		vDriver->push_back(new OpenViBEAcquisitionServer::CDriverGTecGUSBamp(pAcquisitionServer->getDriverContext()));
41
		vDriver->push_back(new OpenViBEAcquisitionServer::CDriverGTecGUSBampLegacy(pAcquisitionServer->getDriverContext()));
42
#endif
43 44 45
#if defined TARGET_HAS_ThirdPartyGUSBampCAPI_Linux
		vDriver->push_back(new OpenViBEAcquisitionServer::CDriverGTecGUSBampLinux(pAcquisitionServer->getDriverContext()));
#endif
46 47
#if defined TARGET_HAS_ThirdPartyGMobiLabPlusAPI
		vDriver->push_back(new OpenViBEAcquisitionServer::CDriverGTecGMobiLabPlus(pAcquisitionServer->getDriverContext()));
48 49 50
#endif
#if defined TARGET_HAS_ThirdPartyGNEEDaccessAPI
		vDriver->push_back(new OpenViBEAcquisitionServer::CDrivergNautilusInterface(pAcquisitionServer->getDriverContext()));
Jozef Legeny's avatar
Jozef Legeny committed
51
#endif
52
		vDriver->push_back(new OpenViBEAcquisitionServer::CDriverFieldtrip(pAcquisitionServer->getDriverContext()));
53 54

#if defined TARGET_HAS_ThirdPartyBrainmasterCodeMakerAPI
55
		vDriver->push_back(new OpenViBEAcquisitionServer::CDriverBrainmasterDiscovery(pAcquisitionServer->getDriverContext()));
56 57 58 59 60
#endif
 
		vDriver->push_back(new OpenViBEAcquisitionServer::CDriverMBTSmarting(pAcquisitionServer->getDriverContext()));
		
#if defined(TARGET_HAS_ThirdPartyMitsar)
Jozef Legeny's avatar
Jozef Legeny committed
61
		vDriver->push_back(new OpenViBEAcquisitionServer::CDriverMitsarEEG202A(pAcquisitionServer->getDriverContext()));
Jozef Legeny's avatar
Jozef Legeny committed
62
#endif
Jozef Legeny's avatar
Jozef Legeny committed
63

64 65 66 67 68
#if defined TARGET_HAS_ThirdPartyOpenAL
		vDriver->push_back(new OpenViBEAcquisitionServer::CDriverOpenALAudioCapture(pAcquisitionServer->getDriverContext()));
#endif

		vDriver->push_back(new OpenViBEAcquisitionServer::CDriverOpenEEGModularEEG(pAcquisitionServer->getDriverContext()));
jfrey's avatar
jfrey committed
69 70
		
		vDriver->push_back(new OpenViBEAcquisitionServer::CDriverOpenBCI(pAcquisitionServer->getDriverContext()));
71

72
#if defined(TARGET_HAS_ThirdPartyEEGOAPI)
73 74 75
#if defined TARGET_OS_Windows
		vDriver->push_back(new OpenViBEAcquisitionServer::CDriverEEGO(pAcquisitionServer->getDriverContext()));
#endif
76 77
#endif

Jozef Legeny's avatar
Jozef Legeny committed
78
		pGUI->registerPlugin(new OpenViBEAcquisitionServer::OpenViBEAcquisitionServerPlugins::CPluginExternalStimulations(rKernelContext));
nfoy's avatar
nfoy committed
79 80 81

		// register tcp-tagging plugin
		pGUI->registerPlugin(new OpenViBEAcquisitionServer::OpenViBEAcquisitionServerPlugins::CPluginTCPTagging(rKernelContext));
Jozef Legeny's avatar
Jozef Legeny committed
82 83 84
	}

}