Space Engineers
Public Member Functions | Static Public Member Functions | Properties | List of all members
ParallelTasks.WorkItem Class Reference

Public Member Functions

 WorkItem ()
 
Task PrepareStart (IWork work, Thread thread=null)
 
bool DoWork (int expectedID)
 
void Requeue ()
 
void Wait (int id)
 
void AddChild (Task item)
 

Static Public Member Functions

static WorkItem Get (Thread thread)
 
static void Clean ()
 

Properties

int RunCount [get]
 
Hashtable< int, Exception[]> Exceptions [get]
 
IWork Work [get]
 
WorkData WorkData [get, set]
 
Action Callback [get, set]
 
Action< WorkDataDataCallback [get, set]
 
ConcurrentCachingList< WorkItemCompletionCallbacks [get, set]
 
static Task CurrentTask [get]
 

Detailed Description

Definition at line 12 of file WorkItem.cs.

Constructor & Destructor Documentation

ParallelTasks.WorkItem.WorkItem ( )
inline

Definition at line 164 of file WorkItem.cs.

Member Function Documentation

void ParallelTasks.WorkItem.AddChild ( Task  item)
inline

Definition at line 340 of file WorkItem.cs.

static void ParallelTasks.WorkItem.Clean ( )
inlinestatic

Definition at line 353 of file WorkItem.cs.

bool ParallelTasks.WorkItem.DoWork ( int  expectedID)
inline

Definition at line 190 of file WorkItem.cs.

static WorkItem ParallelTasks.WorkItem.Get ( Thread  thread)
inlinestatic

Definition at line 348 of file WorkItem.cs.

Task ParallelTasks.WorkItem.PrepareStart ( IWork  work,
Thread  thread = null 
)
inline

Definition at line 171 of file WorkItem.cs.

void ParallelTasks.WorkItem.Requeue ( )
inline

Definition at line 284 of file WorkItem.cs.

void ParallelTasks.WorkItem.Wait ( int  id)
inline

Definition at line 297 of file WorkItem.cs.

Property Documentation

Action ParallelTasks.WorkItem.Callback
getset

Definition at line 146 of file WorkItem.cs.

ConcurrentCachingList<WorkItem> ParallelTasks.WorkItem.CompletionCallbacks
getset

Definition at line 148 of file WorkItem.cs.

Task ParallelTasks.WorkItem.CurrentTask
staticget

Definition at line 151 of file WorkItem.cs.

Action<WorkData> ParallelTasks.WorkItem.DataCallback
getset

Definition at line 147 of file WorkItem.cs.

Hashtable<int, Exception[]> ParallelTasks.WorkItem.Exceptions
get

Definition at line 135 of file WorkItem.cs.

int ParallelTasks.WorkItem.RunCount
get

Definition at line 130 of file WorkItem.cs.

IWork ParallelTasks.WorkItem.Work
get

Definition at line 140 of file WorkItem.cs.

WorkData ParallelTasks.WorkItem.WorkData
getset

Definition at line 144 of file WorkItem.cs.


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