CogJobResultHistory is a class for accumulating and managing queues of historical
job results.
Inheritance Hierarchy
Cognex.VisionPro.QuickBuild CogJobResultHistory
Namespace: Cognex.VisionPro.QuickBuild
Assembly: Cognex.VisionPro.QuickBuild.Core (in Cognex.VisionPro.QuickBuild.Core.dll) Version: 75.0.0.0 (75.0.0.0)
Syntax
The CogJobResultHistory type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CogJobResultHistory(String) |
Constructor
| |
| CogJobResultHistory(String, Int32) |
Constructor
| |
| CogJobResultHistory(String, Int32, Int32) |
Constructor
|
Methods
| Name | Description | |
|---|---|---|
| AddNewUserResult |
Add a new user result to this history. The result will be added to each queue, as appropriate.
| |
| Clear | ||
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetQueueViewer |
Get access to the specified result history queue.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnCurrentItemChanged |
Raise the OnCurrentItemChanged event.
| |
| OnCurrentItemIndexChanged |
Raise the OnCurrentItemIndexChanged event.
| |
| OnCurrentQueueChanged |
Raise the CurrentQueueChanged event.
| |
| OnLatestQueueItemChanged |
Raise the OnLatestQueueItemChanged event.
| |
| OnQueueItemsChanged |
Raise the OnQueueItemsChanged event.
| |
| ToString |
Return the name of this object.
(Overrides Object ToString .) |
Properties
| Name | Description | |
|---|---|---|
| CurrentItem |
Get or set the currently selected item. This item must be in the CurrentQueue.
| |
| CurrentItemIndex |
Get or set the currently selected item by index. This index must be in the CurrentQueue.
| |
| CurrentQueue |
Select one of the available result history queues.
| |
| CurrentQueueViewer |
Get access to the currently selected result history queue.
| |
| LatestItem | ||
| MaxQueueLength | ||
| Running |
Get whether the queues are running or not.
|
Events
| Name | Description | |
|---|---|---|
| CurrentItemChanged |
Raised when the current item is changed. Note that the current item can change as a
side-effect of changing the CurrentQueue.
| |
| CurrentItemIndexChanged |
Raised when the current item index is changed. Note that the current item can change as a
side-effect of changing the CurrentQueue.
| |
| CurrentQueueChanged |
Raised when the currently selected queue changes.
| |
| LatestQueueItemChanged |
Raised when only the latest item (index 0) of the currently selected queue is changed.
Every time a new item is added, either the QueueItemsChanged or LatestQueueItemChanged
event will be raised (not both).
| |
| QueueItemsChanged |
Raised when a major change is made to the currently selected queue contents - generally
this occurs when a new queue item is pushed on, shifting all queue items by one.
Every time a new item is added, either the QueueItemsChanged or LatestQueueItemChanged
event will be raised (not both).
|
See Also