
Public Member Functions | |
override void | Dispose () |
DriverEventHandler (HPS.DriverEventHandler that) | |
delegate HPS.Type | DriverEventHandlerDelegate_0 (IntPtr cPtr) |
delegate void | DriverEventHandlerDelegate_1 (IntPtr cPtr, IntPtr in_event) |
delegate HPS.Type | DriverEventHandlerDelegate_2 (IntPtr cPtr) |
delegate bool | DriverEventHandlerDelegate_3 (IntPtr cPtr) |
delegate void | DriverEventHandlerDelegate_4 (IntPtr cPtr) |
delegate void | DtorDelegate (IntPtr cPtr) |
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... | |
override HPS.Type | ObjectType () |
This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object). More... | |
![]() | |
virtual bool | Empty () |
Indicates whether this object has any values set on it. More... | |
IntPtr | GetClassID () |
IntPtr | GetInstanceID () |
Returns the object's database handle, which can be used to determine which instance of a class the object is. For example, controls are simply aliases for segment keys that group related functions. Therefore, a SegmentKey and all of its controls would return the same instance id. Different keys and controls will return the same value if they are backed by the same database resource. More... | |
bool | HasType (HPS.Type in_mask) |
This function indicates whether this Object has the given Type mask. More... | |
Object (HPS.Object that) | |
virtual void | Reset () |
Resets this object to its initial, uninitialized state. More... | |
virtual 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... | |
Protected Member Functions | |
override void | deleteCptr () |
virtual bool | DerivedClassHasMethod (string methodName, System.Type[] methodTypes) |
virtual bool | IsUserDerived () |
![]() | |
virtual IntPtr | GetNonDirectorClassID () |
Static Protected Attributes | |
static Dictionary < DriverEventHandler, Dictionary< IntPtr, HashSet < IntPtr > > > | cachedObjects = new Dictionary<DriverEventHandler, Dictionary<IntPtr, HashSet<IntPtr>>> () |
static ReaderWriterLockSlim | mapLock = new ReaderWriterLockSlim(LockRecursionPolicy.SupportsRecursion) |
Additional Inherited Members | |
![]() | |
static IntPtr | ClassID< T > () |
![]() | |
bool | cMemOwn |
HandleRef | cptr |
Detailed Description
The DriverEventHandler class is the base class for driver event handlers. Custom driver event handlers should inherit from this.
Member Function Documentation
|
inlinevirtual |
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.
|
inlinevirtual |
This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived 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