Arduino C++ Library for VLCB
Loading...
Searching...
No Matches
EventSlotTeachingService.h
Go to the documentation of this file.
1// Copyright (C) Sven Rosvall (sven@rosvall.ie)
2// This file is part of VLCB-Arduino project on https://github.com/SvenRosvall/VLCB-Arduino
3// Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
4// The full licence can be found at: http://creativecommons.org/licenses/by-nc-sa/4.0
5
6#pragma once
7
9
10namespace VLCB
11{
26{
27public:
29 virtual void processAction(const Action &action) override;
30 virtual VlcbServiceTypes getServiceID() const override { return SERVICE_ID_TEACH; }
31 virtual byte getServiceVersionID() const override { return 1; }
33
34private:
35 void handleMessage(const VlcbMessage *msg);
36 void handleLearnEventIndex(const VlcbMessage *msg);
37 void handleReadEventIndex(unsigned int nn, byte eventIndex);
38};
39
40} // VLCB
Base class for teaching services.
Definition AbstractEventTeachingService.h:19
Slot Event Teaching Service.
Definition EventSlotTeachingService.h:26
Definition VLCB.h:50
VlcbServiceTypes
Definition vlcbdefs.hpp:487
@ SERVICE_ID_TEACH
Definition vlcbdefs.hpp:498