C# 클래스 EC.Threading.LoopThread

파일 보기 프로젝트 열기: rygo6/ECThreading

보호된 프로퍼티들

프로퍼티 타입 설명
Method System.Action
Priority Priority
ThreadName string

공개 메소드들

메소드 설명
Create ( System.Action method, string threadName, Priority priority, int cycleTimeMS, bool debugCoroutineThread = false ) : LoopThread

Returns UniLoopThread for proper platform.

LoopThread ( System.Action method, string threadName, Priority priority, int cycleTimeMS ) : System
Start ( ) : void
Stop ( ) : void
Wait ( int ms ) : void

보호된 메소드들

메소드 설명
RunThreadLoop ( ) : void

메소드 상세

Create() 공개 정적인 메소드

Returns UniLoopThread for proper platform.
public static Create ( System.Action method, string threadName, Priority priority, int cycleTimeMS, bool debugCoroutineThread = false ) : LoopThread
method System.Action
threadName string
priority Priority
cycleTimeMS int Cycle time in Milliseconds.
debugCoroutineThread bool Optional flag to run thread through coroutine for debuggin purposes.
리턴 LoopThread

LoopThread() 공개 메소드

public LoopThread ( System.Action method, string threadName, Priority priority, int cycleTimeMS ) : System
method System.Action
threadName string
priority Priority
cycleTimeMS int
리턴 System

RunThreadLoop() 보호된 메소드

protected RunThreadLoop ( ) : void
리턴 void

Start() 공개 추상적인 메소드

public abstract Start ( ) : void
리턴 void

Stop() 공개 추상적인 메소드

public abstract Stop ( ) : void
리턴 void

Wait() 공개 추상적인 메소드

public abstract Wait ( int ms ) : void
ms int
리턴 void

프로퍼티 상세

Method 보호되어 있는 프로퍼티

protected Action,System Method
리턴 System.Action

Priority 보호되어 있는 프로퍼티

protected Priority Priority
리턴 Priority

ThreadName 보호되어 있는 프로퍼티

protected string ThreadName
리턴 string