You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

contribAcquisitionServer.inl 3.8KB

3 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. #pragma once
  2. /*
  3. #include "openeeg-modulareeg/src/ovasCDriverOpenEEGModularEEG.h"
  4. #include "field-trip-protocol/src/ovasCDriverFieldtrip.h"
  5. #include "brainproducts-brainvisionrecorder/src/ovasCDriverBrainProductsBrainVisionRecorder.h"
  6. */
  7. #include "ovasCPluginExternalStimulations.h"
  8. #include "ovasCPluginTCPTagging.h"
  9. #include "ovasCDriverBrainmasterDiscovery.h"
  10. #include "ovasCDriverBrainProductsBrainVisionRecorder.h"
  11. #include "ovasCDriverCognionics.h"
  12. #include "ovasCDriverCtfVsmMeg.h"
  13. #include "ovasCDriverEncephalan.h"
  14. #include "CDriverGTecGUSBamp.hpp"
  15. #include "ovasCDriverGTecGUSBampLegacy.h"
  16. #include "ovasCDriverGTecGUSBampLinux.h"
  17. #include "CDriverGTecUnicorn.hpp"
  18. #include "ovasCDriverGTecGMobiLabPlus.h"
  19. #include "ovasCDrivergNautilusInterface.h"
  20. #include "ovasCDriverMBTSmarting.h"
  21. #include "ovasCDriverMitsarEEG202A.h"
  22. #include "ovasCDriverOpenALAudioCapture.h"
  23. #include "ovasCDriverOpenEEGModularEEG.h"
  24. #include "ovasCDriverOpenBCI.h"
  25. #include "ovasCDriverEEGO.h"
  26. #if !defined(WIN32) || defined(TARGET_PLATFORM_i386)
  27. #include "ovasCDriverFieldtrip.h"
  28. #endif
  29. namespace OpenViBE {
  30. namespace Contributions {
  31. inline void InitiateContributions(AcquisitionServer::CAcquisitionServerGUI* pGUI, AcquisitionServer::CAcquisitionServer* pAS,
  32. const Kernel::IKernelContext& context, std::vector<AcquisitionServer::IDriver*>* drivers)
  33. {
  34. //No Limitations
  35. drivers->push_back(new AcquisitionServer::CDriverBrainProductsBrainVisionRecorder(pAS->getDriverContext()));
  36. drivers->push_back(new AcquisitionServer::CDriverCtfVsmMeg(pAS->getDriverContext()));
  37. drivers->push_back(new AcquisitionServer::CDriverMBTSmarting(pAS->getDriverContext()));
  38. drivers->push_back(new AcquisitionServer::CDriverOpenEEGModularEEG(pAS->getDriverContext()));
  39. drivers->push_back(new AcquisitionServer::CDriverOpenBCI(pAS->getDriverContext()));
  40. //OS Limitations
  41. #if defined WIN32
  42. drivers->push_back(new AcquisitionServer::CDriverCognionics(pAS->getDriverContext()));
  43. #endif
  44. #if defined TARGET_OS_Windows
  45. drivers->push_back(new AcquisitionServer::CDriverEncephalan(pAS->getDriverContext()));
  46. #endif
  47. #if defined TARGET_HAS_PThread
  48. #if !defined(WIN32) || defined(TARGET_PLATFORM_i386)
  49. drivers->push_back(new AcquisitionServer::CDriverFieldtrip(pAS->getDriverContext()));
  50. #endif
  51. #endif
  52. //Commercial Limitations
  53. #if defined TARGET_HAS_ThirdPartyGUSBampCAPI
  54. drivers->push_back(new AcquisitionServer::CDriverGTecGUSBamp(pAS->getDriverContext()));
  55. drivers->push_back(new AcquisitionServer::CDriverGTecGUSBampLegacy(pAS->getDriverContext()));
  56. #endif
  57. #if defined TARGET_HAS_ThirdPartyGUSBampCAPI_Linux
  58. drivers->push_back(new AcquisitionServer::CDriverGTecGUSBampLinux(pAS->getDriverContext()));
  59. #endif
  60. #if defined TARGET_HAS_ThirdPartyGtecUnicron
  61. drivers->push_back(new AcquisitionServer::CDriverGTecUnicorn(pAS->getDriverContext()));
  62. #endif
  63. #if defined TARGET_HAS_ThirdPartyGMobiLabPlusAPI
  64. drivers->push_back(new AcquisitionServer::CDriverGTecGMobiLabPlus(pAS->getDriverContext()));
  65. #endif
  66. #if defined TARGET_HAS_ThirdPartyGNEEDaccessAPI
  67. drivers->push_back(new AcquisitionServer::CDrivergNautilusInterface(pAS->getDriverContext()));
  68. #endif
  69. #if defined TARGET_HAS_ThirdPartyBrainmasterCodeMakerAPI
  70. drivers->push_back(new AcquisitionServer::CDriverBrainmasterDiscovery(pAS->getDriverContext()));
  71. #endif
  72. #if defined(TARGET_HAS_ThirdPartyMitsar)
  73. drivers->push_back(new AcquisitionServer::CDriverMitsarEEG202A(pAS->getDriverContext()));
  74. #endif
  75. #if defined TARGET_HAS_ThirdPartyOpenAL
  76. drivers->push_back(new AcquisitionServer::CDriverOpenALAudioCapture(pAS->getDriverContext()));
  77. #endif
  78. #if defined(TARGET_HAS_ThirdPartyEEGOAPI)
  79. drivers->push_back(new AcquisitionServer::CDriverEEGO(pAS->getDriverContext()));
  80. #endif
  81. pGUI->registerPlugin(new AcquisitionServer::Plugins::CPluginExternalStimulations(context));
  82. pGUI->registerPlugin(new AcquisitionServer::Plugins::CPluginTCPTagging(context));
  83. }
  84. } // namespace Contributions
  85. } // namespace OpenViBE