C# 클래스 RemoteViewing.Utility.PeriodicThread

Represents a Thread that invokes a specific action at a specific interval
파일 보기 프로젝트 열기: qmfrederik/remoteviewing

공개 메소드들

메소드 설명
Signal ( ) : void

Signals the PeriodicThread that an action should be performed.

Start ( System.Action action, Func getUpdateRateFunc, bool useSignal ) : void

Invokes the action at a frequency specified by getUpdateRateFunc; optionally waiting for a signal to execute the action.

Stop ( ) : void

Stops this PeriodicThread.

메소드 상세

Signal() 공개 메소드

Signals the PeriodicThread that an action should be performed.
public Signal ( ) : void
리턴 void

Start() 공개 메소드

Invokes the action at a frequency specified by getUpdateRateFunc; optionally waiting for a signal to execute the action.
public Start ( System.Action action, Func getUpdateRateFunc, bool useSignal ) : void
action System.Action /// The action to run at the frequency specifie. ///
getUpdateRateFunc Func /// A function that returns at which frequency (in Hz) the should /// be performed. ///
useSignal bool /// to wait for before executing the action; /// otherwise, . ///
리턴 void

Stop() 공개 메소드

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