Class that provides API to control application state.
Inheritance Hierarchy
Cognex.VisionPro CogApplicationState
Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 83.0.0.0
Syntax
The CogApplicationState type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CogApplicationState | Default constructor. All default values for this class are not read from the global state of the application. |
Methods
| Name | Description | |
|---|---|---|
| ApplyMultiThreadingApplicationState | Make the global MultiThreading state of the current application equivalent to the values in the MultiThreading properties of this class. The following properties will be applied to application: MultiThreadingEnabled, MultiThreadingThreadCount, and MultiThreadingThreadCountMode. | |
| 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.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ReadMultiThreadingApplicationState | Read from global MultiThreading state of the current application and use it set the values of the MultiThreading properties of this class. The following properties will be set: MultiThreadingEnabled, MultiThreadingThreadCount, MultiThreadingThreadCountMode. | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| MultiThreadingEnabled | Get/set if multithreading flag is enabled or not. | |
| MultiThreadingThreadCount | Get/set the number of threads. | |
| MultiThreadingThreadCountMode | Get/set the thread count mode. |
Remarks
See Also