Public Member Functions |
Protected Member Functions |
Static Protected Attributes |
List of all members
HPS.DriverEventHandler Class Reference
Inheritance diagram for HPS.DriverEventHandler:

Public Member Functions | |
override void | Dispose () |
DriverEventHandler (HPS.DriverEventHandler that) | |
delegate void | DtorDelegate (IntPtr cPtr) |
virtual void | Handle (HPS.DriverEvent in_event) |
override HPS.Type | ObjectType () |
![]() | |
virtual bool | Empty () |
IntPtr | GetClassID () |
IntPtr | GetInstanceID () |
bool | HasType (HPS.Type in_mask) |
Object (HPS.Object that) | |
virtual void | Reset () |
virtual HPS.Type | Type () |
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
◆ Handle()
|
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.
◆ ObjectType()
|
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