Exemple #1
0
 public SsvepDynamicSpellerStageProvider(SpellerController spellerController, SpellerExperiment.Configuration.TestConfig testConfig)
     : base(testConfig, true, new PipelinedStageProvider(16, TimeSpan.FromMilliseconds(5)))
 {
     spellerController.Calibrated    += (sender, e) => CalibrationCompleted();
     spellerController.Stopping      += (sender, e) => Provider.Break();
     spellerController.CreatingTrial += (sender, e) => Provider.Offer(SsvepSpellerStageProviderUtils.GenerateRepeatingStages(testConfig));
 }
Exemple #2
0
 public SsvepStaticSpellerStageProvider(SpellerController spellerController, SpellerExperiment.Configuration.TestConfig testConfig)
     : base(testConfig, true, RepeatingStageProvider.Static.Unlimited(SsvepSpellerStageProviderUtils.GenerateRepeatingStages(testConfig)))
 {
     spellerController.Calibrated += (sender, e) => CalibrationCompleted();
     spellerController.Stopping   += (sender, e) => Provider.Break();
 }