CogChangedEventImpl ClassCognex VisionPro 9.25 SR1
Implements the behavior of the ICogChangedEvent interface for classes that cannot derive directly from CogChangedEventBase.
Inheritance Hierarchy

System Object
  Cognex.VisionPro.Implementation CogChangedEventImpl

Namespace: Cognex.VisionPro.Implementation
Assembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 93.1.0.0 (93.1.0.0)
Syntax

public sealed class CogChangedEventImpl

The CogChangedEventImpl type exposes the following members.

Constructors

  NameDescription
Public methodCogChangedEventImpl
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodOnChanged(Object, CogChangedEventArgs)
This method should be called internally whenever the object's state may have changed. This overload is useful when firing an EventArgs class that is derived from CogChangedEventArgs.
Public methodOnChanged(Object, Int64)
This method should be called internally whenever the object's state may have changed.
Public methodResumeAndRaiseChangedEvent
Implements the ResumeAndRaiseChangedEvent member of the ICogChangedEvent interface.
Public methodSuspendChangedEvent
Implements the SuspendChangedEvent member of the ICogChangedEvent interface.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Properties

  NameDescription
Public propertyChangedEventSuspended
Implements the ChangedEventSuspended member of the ICogChangedEvent interface.
Public propertyStateFlags
Returns the complete set of state flags supported on this object. The flags may be indexed by name as shown in the following C# code snippet: if (changedObject.StateFlags["Color"] & eventArgs.StateFlags) { ... }
Top
Events

  NameDescription
Public eventChanged
Implements the Changed member of the ICogChangedEvent interface.
Top
Remarks

A class can implement ICogChangedEvent by creating a private instance of CogChangedEventImpl and delegating each function of ICogChangedEvent to the corresponding function of CogChangedEventImpl.
See Also