CogRandomAccessQueue
Inheritance Hierarchy
System MarshalByRefObject
Cognex.VisionPro.Implementation CogObjectBase
Cognex.VisionPro.Implementation CogSerializableObjectBase
Cognex.VisionPro.QuickBuild.Implementation.Internal CogRandomAccessQueue
Namespace: Cognex.VisionPro.QuickBuild.Implementation.Internal
Assembly: Cognex.VisionPro.QuickBuild.Core (in Cognex.VisionPro.QuickBuild.Core.dll) Version: 65.1.0.0 (65.1.0.0)
Syntax
The CogRandomAccessQueue type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CogRandomAccessQueue |
ctor (default capacity is 32)
| |
| CogRandomAccessQueue(Int32) |
ctor
|
Methods
| Name | Description | |
|---|---|---|
| Clear |
Remove all items in the queue
| |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
| Data |
Return internal data for testing purpose only
| |
| Dequeue |
Remove the item from head of the queue
| |
| Dequeue(Int32) |
Remove and return the item at index
| |
| Enqueue |
Adds object to the back of the queue.
If the queue is full, just overwrite the tail item
| |
| Equals | (Inherited from Object.) | |
| FreeList |
Return internal freeList for testing purpose only
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| OrderList |
Return internal orderList for testing purpose only
| |
| Peek |
Just return the item at the index
| |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| AvailableCount |
Number of available spaces in the queue
| |
| Capacity |
Capacity of the queue
| |
| Count |
Number of items in the queue
| |
| IsFull |
Is the queue currently full
| |
| IsOverflowing |
Is the queue currently overflowing
|
Events
| Name | Description | |
|---|---|---|
| Enqueued |
This event is raised when an item is enqueued
|
See Also