C# 클래스 Microsoft.AspNet.SignalR.HighFrequencyTimer

A high-resolution FPS timer.
파일 보기 프로젝트 열기: SignalR/SignalR 1 사용 예제들

공개 메소드들

메소드 설명
GetFrameId ( ) : long
HighFrequencyTimer ( double fps, Action callback ) : System

Creates a new instance of a high-resolution FPS timer.

HighFrequencyTimer ( double fps, Action callback, System.Action started, System.Action stopped, Action actualFpsUpdate ) : System

Creates a new instance of a high-resolution FPS timer.

IsRunning ( ) : bool
Start ( ) : bool
Stop ( ) : bool

비공개 메소드들

메소드 설명
Run ( object state ) : void

메소드 상세

GetFrameId() 공개 메소드

public GetFrameId ( ) : long
리턴 long

HighFrequencyTimer() 공개 메소드

Creates a new instance of a high-resolution FPS timer.
public HighFrequencyTimer ( double fps, Action callback ) : System
fps double The desired frame rate per second.
callback Action The callback to be invoked on each frame.
리턴 System

HighFrequencyTimer() 공개 메소드

Creates a new instance of a high-resolution FPS timer.
public HighFrequencyTimer ( double fps, Action callback, System.Action started, System.Action stopped, Action actualFpsUpdate ) : System
fps double The desired frame rate per second.
callback Action The callback to be invoked on each frame.
started System.Action The callback to be invoked when the timer enters the running state.
stopped System.Action The callback to be invoked when the timer enters the stopped state.
actualFpsUpdate Action The callback to invoked to receive updates of the actual frame rate.
리턴 System

IsRunning() 공개 메소드

public IsRunning ( ) : bool
리턴 bool

Start() 공개 메소드

public Start ( ) : bool
리턴 bool

Stop() 공개 메소드

public Stop ( ) : bool
리턴 bool