ToolBase MethodsCognex VisionPro 9.20

The ToolBase type exposes the following members.

Methods

  NameDescription
Public methodCheckRunConditionsSelf

Performs RunCondition check by the tool itself.

Public methodCopyBase

Create a copy of this tool.

Public methodCreateCurrentRecord

Creates a new set of records that represents the tool's current state.

Public methodCreateLastRunRecord

Creates a new set of records that represents the tool's last-run state.

Public methodEquals
Compares the equality of this object with another.
(Overrides TrackedItemBase Equals(Object).)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetContainerAsILinkManager

Get the container which contains the Tool.

Public methodGetHashCode
Returns the hash code of this object.
(Overrides TrackedItemBase GetHashCode .)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetTypeMeta

Get the TypeMeta that describes the type of this object.

(Inherited from ShareableBase.)
Public methodIsCheckRunConditionsDelegateToOwner

Check if tool checks its RunCondition by its owner.

Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodResumeAndRaiseChangedEvent

Re-enables raising of the ChangedEvent after SuspendChangedEvent has been called, and raises the ChangedEvent if the ChangedEventSuspended count is reduced to zero and any changes were made while events were suspended. Must be called once for each call to SuspendChangedEvent.

(Inherited from ChangedEventShareableBase.)
Public methodRun

Runs the tool. This method is guaranteed to not throw an exception. Any exception generated in the course of running the tool will be caught and a string representation of that exception will be packaged in the Message property of the tool's RunStatus. Should this occur, the Result property of the tool's RunStatus will be set to Error. It is the user's responsibility to examine the tool's RunStatus after calling Run.

Public methodSuspendChangedEvent

Temporarily suspends the raising of the ChangedEvent. May be called more than once, and a corresponding call to ResumeAndRaiseChangedEvent must be made for each call to SuspendChangedEvent.

(Inherited from ChangedEventShareableBase.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
See Also