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.

TrackerPluginCountStimulations.h 674B

12345678910111213141516171819202122
  1. #pragma once
  2. #include "ITrackerPlugin.h"
  3. namespace OpenViBE {
  4. namespace Tracker {
  5. /**
  6. * \class TrackerPluginCountStimulations
  7. * \brief Example of a Tracker plugin that processes given tracks. It counts the occurrences of different stimulations in each stimulation stream.
  8. * \author J. T. Lindgren
  9. *
  10. */
  11. class TrackerPluginCountStimulations final : public ITrackerPlugin
  12. {
  13. public:
  14. explicit TrackerPluginCountStimulations(const Kernel::IKernelContext& ctx) : ITrackerPlugin(ctx) { }
  15. bool process(StreamBundle& track) override;
  16. std::string getName() override { return std::string("Example: Count stimulations"); }
  17. };
  18. } // namespace Tracker
  19. } // namespace OpenViBE