コード例 #1
0
 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();
 }
コード例 #2
0
 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));
 }