Public Member Functions | List of all members
HPS::DriverEventHandler Class Reference

#include <hps.h>

Inheritance diagram for HPS::DriverEventHandler:
HPS::Object

Public Member Functions

HPS::Type ObjectType () const OVERRIDE
 
 DriverEventHandler (DriverEventHandler const &that)
 
virtual void Handle (DriverEvent const *in_event)
 
- Public Member Functions inherited from HPS::Object
 Object (Object const &that)
 
Objectoperator= (Object const &other_object)
 
 Object (Object &&in_that)
 
Objectoperator= (Object &&in_that)
 
HPS::Type Type () const
 
virtual bool Empty () const
 
virtual void Reset ()
 
bool HasType (HPS::Type in_mask) const
 
intptr_t GetClassID () const
 
intptr_t GetInstanceID () const
 

Additional Inherited Members

- Static Public Member Functions inherited from HPS::Object
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

virtual void HPS::DriverEventHandler::Handle ( DriverEvent const *  in_event)
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_eventEvent which was triggered.
HPS::Type HPS::DriverEventHandler::ObjectType ( ) const
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: