VLCB
Loading...
Searching...
No Matches
ConsumeOwnEventsService.h
Go to the documentation of this file.
1// Copyright (C) Martin Da Costa 2023 (martindc.merg@gmail.com)
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
8#include "Service.h"
9#include <vlcbdefs.hpp>
10
11namespace VLCB {
12
20{
21public:
23 virtual VlcbServiceTypes getServiceID() const override
24 {
26 }
27
28 virtual byte getServiceVersionID() const override
29 {
30 return 1;
31 }
32
33};
34
35} // VLCB
Service for consuming events that this node has produced.
Definition ConsumeOwnEventsService.h:20
virtual VlcbServiceTypes getServiceID() const override
Return a unique ID for this service.
Definition ConsumeOwnEventsService.h:23
virtual byte getServiceVersionID() const override
Return the version of the service specification implemented by this service.
Definition ConsumeOwnEventsService.h:28
Interface base class for all VLCB services.
Definition Service.h:25
Definition AbstractEventTeachingService.cpp:13
VlcbServiceTypes
Definition vlcbdefs.hpp:487
@ SERVICE_ID_CONSUME_OWN_EVENTS
Definition vlcbdefs.hpp:499