VLCB
Toggle main menu visibility
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
11
namespace
VLCB
{
12
19
class
ConsumeOwnEventsService
:
public
Service
20
{
21
public
:
23
virtual
VlcbServiceTypes
getServiceID
()
const override
24
{
25
return
SERVICE_ID_CONSUME_OWN_EVENTS
;
26
}
27
28
virtual
byte
getServiceVersionID
()
const override
29
{
30
return
1;
31
}
32
33
};
34
35
}
// VLCB
Service.h
VLCB::ConsumeOwnEventsService
Service for consuming events that this node has produced.
Definition
ConsumeOwnEventsService.h:20
VLCB::ConsumeOwnEventsService::getServiceID
virtual VlcbServiceTypes getServiceID() const override
Return a unique ID for this service.
Definition
ConsumeOwnEventsService.h:23
VLCB::ConsumeOwnEventsService::getServiceVersionID
virtual byte getServiceVersionID() const override
Return the version of the service specification implemented by this service.
Definition
ConsumeOwnEventsService.h:28
VLCB::Service
Interface base class for all VLCB services.
Definition
Service.h:25
VLCB
Definition
AbstractEventTeachingService.cpp:13
vlcbdefs.hpp
VlcbServiceTypes
VlcbServiceTypes
Definition
vlcbdefs.hpp:487
SERVICE_ID_CONSUME_OWN_EVENTS
@ SERVICE_ID_CONSUME_OWN_EVENTS
Definition
vlcbdefs.hpp:499
src
ConsumeOwnEventsService.h
Generated by
1.18.0