Class GraphUpdateProcessor

Public

Inner Types

Holds a single update that needs to be performed on a graph.

Public Methods

AddToQueue (ob)

Update all graphs using the GraphUpdateObject.

Public
GetWorkItem ()

Work item which can be used to apply all queued updates.

Public
GraphUpdateProcessor (astar)
Public
StartThreads ()
Public
StopThreads ()
Public

Public Variables

IsAnyGraphUpdateInProgress

Returns if any graph updates are in progress.

Public
IsAnyGraphUpdateQueued

Returns if any graph updates are waiting to be applied.

Public

Private/Protected Members

GraphUpdateStage

Order type for updating graphs.

Private
ProcessGraphUpdates (context, force)

Updates graphs.

Private
ProcessGraphUpdatesAsync ()

Graph update thread.

Private
ProcessPostUpdates ()
Private
ProcessRegularUpdates (force)
Private
QueueGraphUpdatesInternal (context)

Schedules graph updates internally.

Private
StartAsyncUpdatesIfQueued ()

Signal the graph update thread to start processing graph updates if there are any in the graphUpdateQueueAsync queue.

Private
anyGraphUpdateInProgress

Used for IsAnyGraphUpdateInProgress.

Private
astar

Holds graphs that can be updated.

Private Readonly
asyncGraphUpdatesComplete
Private Readonly
exitAsyncThread
Private Readonly
graphUpdateAsyncEvent
Private Readonly
graphUpdateQueue

Queue containing all waiting graph update queries.

Private Readonly
graphUpdateQueueAsync

Queue of all async graph updates waiting to be executed.

Private Readonly
graphUpdateQueuePost

Queue of all non-async graph update post events waiting to be executed.

Private Readonly
graphUpdateQueueRegular

Queue of all non-async graph updates waiting to be executed.

Private Readonly
graphUpdateThread

Reference to the thread which handles async graph updates.

Private