Click or drag to resize

ProcessQueue Class

Holds a collection of ProcessQueue that are awaiting asynchronous processing.
Inheritance Hierarchy
SystemObject
  System.CollectionsQueue
    Atalasoft.ImagingProcessQueue

Namespace:  Atalasoft.Imaging
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public class ProcessQueue : Queue

The ProcessQueue type exposes the following members.

Constructors
  NameDescription
Public methodProcessQueue
Create a instance of the ProcessQueue.
Top
Properties
  NameDescription
Public propertyCount
Gets the number of elements contained in the Queue.
(Inherited from Queue.)
Public propertyCurrentItem
Gets the ProcessQueuedItem that is currently being processed.
Public propertyIsSynchronized
Gets a value indicating whether access to the Queue is synchronized (thread safe).
(Inherited from Queue.)
Public propertySyncRoot
Gets an object that can be used to synchronize access to the Queue.
(Inherited from Queue.)
Top
Methods
  NameDescription
Public methodClear
Removes all objects from the Queue.
(Inherited from Queue.)
Public methodClone
Creates a shallow copy of the Queue.
(Inherited from Queue.)
Public methodContains
Determines whether an element is in the Queue.
(Inherited from Queue.)
Public methodCopyTo(Array, Int32)
Copies the Queue elements to an existing one-dimensional Array, starting at the specified array index.
(Inherited from Queue.)
Public methodCopyTo(ProcessQueuedItem, Int32)
Copies ProcessQueuedItems from this collection to an array.
Public methodDequeue
Remove the next item from the queue.
Public methodEnqueue(Object)
Adds an object to the end of the Queue.
(Inherited from Queue.)
Public methodEnqueue(ProcessQueuedItem)
Add a new item into the process queue.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the Queue.
(Inherited from Queue.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPeek
Return the next item in the process queue without removing it.
Public methodToArray
Copies the Queue elements to a new array.
(Inherited from Queue.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTrimToSize
Sets the capacity to the actual number of elements in the Queue.
(Inherited from Queue.)
Top
Remarks
When the Workspace is runing in asynchronous mode all image processing calls through the Workspace.ProcessImage method or the read and save methods will put the process into this queue. The purpose is to process images sequentially and prevent threading issues. Each workspace object can process only one image at a time, but as long as Workspace.IsAsynchronous is true, the processing will be performed in a separate thread.
See Also