The DriverEventHandler class is the base class for driver event handlers. Custom driver event handlers should inherit from this.
More...
|
override void | Dispose () |
|
override HPS.Type | ObjectType () |
| This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object. More...
|
|
| DriverEventHandler (HPS.DriverEventHandler that) |
|
virtual void | Handle (HPS.DriverEvent in_event) |
| Function that gets triggered if this DriverEventHandler receives an event it is subscribed to. This should be overridden by subclasses of DriverEventHandler to perform any custom behavior. This will be called on the driver updater thread. More...
|
|
IntPtr | GetClassID () |
|
| Object (HPS.Object that) |
|
HPS.Type | Type () |
| This function returns the true type of the underlying object. This function is useful for finding the type of smart pointer objects that have been cast to more generic types. More...
|
|
virtual bool | Empty () |
| Indicates whether this object has any values set on it. More...
|
|
virtual void | Reset () |
| Resets this object to its initial, uninitialized state. More...
|
|
bool | HasType (HPS.Type in_mask) |
| This function indicates whether this Object has the given Type mask. More...
|
|
IntPtr | GetInstanceID () |
| Returns an identifier that can be used to identify which instance of a class an object is. Different keys and controls will return the same value if they are backed by the same database resource. More...
|
|
|
override void | deleteCptr () |
|
virtual IntPtr | GetNonDirectorClassID () |
|
|
static IntPtr | ClassID< T > () |
|
HandleRef | cptr |
|
HandleRef | scptr |
|
bool | cMemOwn |
|
The DriverEventHandler class is the base class for driver event handlers. Custom driver event handlers should inherit from this.
Function that gets triggered if this DriverEventHandler receives an event it is subscribed to. This should be overridden by subclasses of DriverEventHandler to perform any custom behavior. This will be called on the driver updater thread.
- Parameters
-
in_event | Event which was triggered. |
override HPS.Type HPS.DriverEventHandler.ObjectType |
( |
| ) |
|
|
inlinevirtual |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.
- Returns
- The declared type of the object in question, which may differ from the true, underlying type.
Reimplemented from HPS.Object.
The documentation for this class was generated from the following file:
- internals/hps_core/source/cs/HPS.DriverEventHandler.cs