HPS::DriverEventHandler Class Reference
#include <hps.h>
Inheritance diagram for HPS::DriverEventHandler:

Public Member Functions | |
DriverEventHandler (DriverEventHandler const &that) | |
virtual void | Handle (DriverEvent const *in_event) |
HPS::Type | ObjectType () const override |
![]() | |
virtual bool | Empty () const |
intptr_t | GetClassID () const |
intptr_t | GetInstanceID () const |
bool | HasType (HPS::Type in_mask) const |
Object (Object const &that) | |
Object (Object &&in_that) | |
Object & | operator= (Object const &other_object) |
Object & | operator= (Object &&in_that) |
virtual void | Reset () |
virtual HPS::Type | Type () const |
Static Public Attributes | |
static const HPS::Type | staticType = HPS::Type::DriverEventHandler |
![]() | |
static const HPS::Type | staticType = HPS::Type::None |
Additional Inherited Members | |
![]() | |
template<typename T > | |
static intptr_t | ClassID () |
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.
The documentation for this class was generated from the following file:
- include/hps.h