Class IPvUserSetNotify
An interface to register a state change callback for UserSets
Implements
Inherited Members
Namespace: eBUSDotNetEdge
Assembly: eBUSDotNetEdge.dll
Syntax
public class IPvUserSetNotify : IDisposable
Constructors
View SourceIPvUserSetNotify()
Declaration
public IPvUserSetNotify()
Fields
View SourceswigCMemOwn
Determines who is responsible for deleting the underlying C++ object.
Declaration
protected bool swigCMemOwn
Field Value
| Type | Description |
|---|---|
| bool |
Methods
View SourceDispose()
Dispose.
Declaration
public void Dispose()
Dispose(bool)
Dispose
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |
~IPvUserSetNotify()
Destructor.
Declaration
protected ~IPvUserSetNotify()
UserSetStateNotify(PvUserSetState, uint)
The callback that is issued when a UserSetState is reached. The DefaultUserSet is index 0 and the rest start from 1.
Declaration
public virtual PvResult UserSetStateNotify(PvUserSetState aUserSetState, uint aUserSetIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| PvUserSetState | aUserSetState | The UserSet state the device has entered |
| uint | aUserSetIndex | The numeric value of the UserSet being affected DefaultUserSet is 0 and the rest start from 1. |
Returns
| Type | Description |
|---|---|
| PvResult | PvResult indicating success or failure. |