A* Pathfinding Project  4.0.9
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events Macros Groups Pages
Simulator.Worker Class Reference

Public Member Functions

 Worker (Simulator sim)
 
void Execute (int task)
 
void Run ()
 
void Terminate ()
 
void WaitOne ()
 

Public Attributes

int start
 

Private Attributes

WorkerContext context = new WorkerContext()
 
int end
 
readonly AutoResetEvent runFlag = new AutoResetEvent(false)
 
readonly Simulator simulator
 
int task = 0
 
bool terminate = false
 
readonly ManualResetEvent waitFlag = new ManualResetEvent(true)
 

Constructor & Destructor Documentation

Worker ( Simulator  sim)

Member Function Documentation

void Execute ( int  task)
void Run ( )
void Terminate ( )
void WaitOne ( )

Member Data Documentation

WorkerContext context = new WorkerContext()
private
int end
private
readonly AutoResetEvent runFlag = new AutoResetEvent(false)
private
readonly Simulator simulator
private
int start
int task = 0
private
bool terminate = false
private
readonly ManualResetEvent waitFlag = new ManualResetEvent(true)
private

The documentation for this class was generated from the following file: