DeviceEventHandler#
-
namespace Itala
-
struct DeviceEventHandler#
- #include <DeviceEventHandler.h>
Abstract for handling events coming from the device. This class must be overridden by the user. This way the user-defined OnDeviceEvent method is called when an event arrives.
Public Functions
-
inline virtual ~DeviceEventHandler()#
-
inline virtual void OnDeviceEvent(uint64_t eventId)#
This pure virtual method must be overriden by the user class implementing the interface. The event ID is provided to allow the user to identify the event itself. The device NodeMap is also automatically updated with the event data.
-
inline virtual ~DeviceEventHandler()#
-
struct DeviceEventHandler#