C# 클래스 Capture.FixedStepDispatcherTimer

Similar to the timer class except for this timer does not loose time over time. This timer has almost no drift. Source: John Leidegren (2010, http://stackoverflow.com/a/3250747/2352507)
파일 보기 프로젝트 열기: SunsetQuest/IBMarketRecorder 1 사용 예제들

공개 메소드들

메소드 설명
FixedStepDispatcherTimer ( System.TimeSpan interval ) : System
OnTimerTick ( object sender, EventArgs e ) : void
Reset ( ) : void
Restart ( System.DateTime startAt ) : void
Start ( ) : void
Stop ( ) : void

비공개 메소드들

메소드 설명
GetTimerInterval ( ) : System.TimeSpan

메소드 상세

FixedStepDispatcherTimer() 공개 메소드

public FixedStepDispatcherTimer ( System.TimeSpan interval ) : System
interval System.TimeSpan
리턴 System

OnTimerTick() 공개 메소드

public OnTimerTick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

Restart() 공개 메소드

public Restart ( System.DateTime startAt ) : void
startAt System.DateTime
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void