Crestron |
public class CrestronQueue : CrestronQueue<Object>
The CrestronQueue type exposes the following members.
| Name | Description | |
|---|---|---|
| CrestronQueue | Create a new queue of the default size (5 elements maximum) | |
| CrestronQueue(Int32) | Create a new queue of a fixed size |
| Name | Description | |
|---|---|---|
| Count |
Number of elements currently in the queue
(Inherited from CrestronQueueT) | |
| Disposed |
Property to determine if this object has been disposed.
(Inherited from CrestronQueueT) | |
| IsEmpty |
Whether the queue is empty (all the slots are not taken)
(Inherited from CrestronQueueT) | |
| IsFull |
Whether the queue is full (there are no slots remaining)
(Inherited from CrestronQueueT) | |
| Size |
Get the size of the queue
(Inherited from CrestronQueueT) |
| Name | Description | |
|---|---|---|
| Clear |
Remove all elements from the CrestronQueue.
(Inherited from CrestronQueueT) | |
| Contains |
Determines whether an element is currently in the queue
(Inherited from CrestronQueueT) | |
| CopyTo |
Copies the Queue's elements to an existing one-dimensional array, starting at the specified array index.
(Inherited from CrestronQueueT) | |
| Dequeue |
Remove an object from the queue and block indefinitely until an object can be removed
(Inherited from CrestronQueueT) | |
| Dequeue(T) |
Remove an object from the queue and block indefinitely until an object can be removed
(Inherited from CrestronQueueT) | |
| Dequeue(UInt32) |
Remove an object from the queue, but only block for the specified amount of time
Dequeue(0) is equivalent to TryToDequeue()
(Inherited from CrestronQueueT) | |
| Dequeue(UInt32, T) |
Remove an object from the queue, but only block for the specified amount of time
Dequeue with a timeout of 0 is equivalent to TryToDequeue()
(Inherited from CrestronQueueT) | |
| Dispose |
Clean up of unmanaged resources
(Inherited from CrestronQueueT) | |
| Enqueue(T) |
Add an element to the end of the queue and block indefinitely until the element can be added.
(Inherited from CrestronQueueT) | |
| Enqueue(T, UInt32) |
Add an element to the end of the queue, but only block for the specified amount of time
The addition will be continuously attempted until the end of the specified amount of time
Enqueue(element, 0) is equivalent to TryToEnqueue(element)
(Inherited from CrestronQueueT) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetEnumerator |
Returns a generic enumerator that iterates through the queue.
(Inherited from CrestronQueueT) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Peek |
Returns the element at the beginning of the queue without removing it
(Inherited from CrestronQueueT) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| TryToDequeue |
Attempt to remove an element from the queue and do not block
(Inherited from CrestronQueueT) | |
| TryToDequeue(T) |
Attempt to remove an element from the queue and do not block
(Inherited from CrestronQueueT) | |
| TryToEnqueue |
Attempt to add an element to the end of the queue and do not block
(Inherited from CrestronQueueT) |