C# Класс Raspberry.Timers.HighResolutionTimer

Represents a high-resolution timer.
Наследование: ITimer
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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