public EyeTrackingStaticSpellerStageProvider(SpellerController spellerController, SpellerParadigm.Configuration.TestConfig testConfig) : base(testConfig, false, RepeatingStageProvider.Simple.Unlimited(EyeTrackingSpellerStageProviderUtils.GenerateRepeatingStages(testConfig))) { spellerController.Calibrated += (sender, e) => CalibrationCompleted(); spellerController.Stopping += (sender, e) => Provider.Break(); }
public EyeTrackingDynamicSpellerStageProvider(SpellerController spellerController, SpellerParadigm.Configuration.TestConfig testConfig) : base(testConfig, false, new PipelinedStageProvider(1024, TimeSpan.FromMilliseconds(5))) { spellerController.Stopping += (sender, e) => Provider.Break(); spellerController.CreatingTrial += (sender, e) => Provider.Offer(EyeTrackingSpellerStageProviderUtils.GenerateRepeatingStages(testConfig)); }