|
Arduino C++ Library for VLCB
|
Service for consuming events. More...
#include <EventConsumerService.h>
Public Member Functions | |
| void | setEventHandler (void(*fptr)(byte index, const VlcbMessage *msg)) |
Service for consuming events.
This service provides a means of filtering received VLCB events and passing them to an event handler. A full description of events can be found in the document VLCB Event Model. The events that a module can handle are held in the Events Table. Specific events are identified by their table index number.
| void VLCB::EventConsumerService::setEventHandler | ( | void(* | fptr )(byte index, const VlcbMessage *msg) | ) |
Sets the callback function that is called when an event opcode that matches an Event Table entry is received.