Arduino C++ Library for VLCB
Loading...
Searching...
No Matches
VLCB::EventConsumerService Class Reference

Service for consuming events. More...

#include <EventConsumerService.h>

Inheritance diagram for VLCB::EventConsumerService:
VLCB::Service

Public Member Functions

void setEventHandler (void(*fptr)(byte index, const VlcbMessage *msg))

Detailed Description

Service for consuming events.

Event Consumer Service API

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.

Member Function Documentation

◆ setEventHandler()

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.


The documentation for this class was generated from the following file: