C# 클래스 Raspberry.Timers.HighResolutionTimer

Represents a high-resolution timer.
상속: ITimer
파일 보기 프로젝트 열기: raspberry-sharp/raspberry-sharp-system 1 사용 예제들

공개 메소드들

메소드 설명
HighResolutionTimer ( ) : System

Initializes a new instance of the HighResolutionTimer class.

Sleep ( System.TimeSpan delay ) : void

Sleeps the specified delay.

Start ( System.TimeSpan startDelay ) : void

Starts this instance.

Stop ( ) : void

Stops this instance.

비공개 메소드들

메소드 설명
Calibrate ( ) : int
NoOp ( ) : void
ThreadProcess ( ) : void

메소드 상세

HighResolutionTimer() 공개 메소드

Initializes a new instance of the HighResolutionTimer class.
public HighResolutionTimer ( ) : System
리턴 System

Sleep() 공개 정적인 메소드

Sleeps the specified delay.
public static Sleep ( System.TimeSpan delay ) : void
delay System.TimeSpan The delay.
리턴 void

Start() 공개 메소드

Starts this instance.
public Start ( System.TimeSpan startDelay ) : void
startDelay System.TimeSpan The delay before the first occurence, in milliseconds.
리턴 void

Stop() 공개 메소드

Stops this instance.
public Stop ( ) : void
리턴 void