VLCB
Toggle main menu visibility
Loading...
Searching...
No Matches
EventProducerServiceWithDiagnostics.h
Go to the documentation of this file.
1
// Copyright (C) Martin Da Costa 2024 (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 "
EventProducerService.h
"
9
#include <
vlcbdefs.hpp
>
10
11
namespace
VLCB
{
12
13
struct
VlcbMessage
;
14
15
class
EventProducerServiceWithDiagnostics
:
public
EventProducerService
16
{
17
public
:
18
virtual
void
reportDiagnostics
(
byte
serviceIndex,
byte
diagnosticsCode)
override
;
19
virtual
int
getDiagnosticCount
()
override
;
20
21
};
22
23
}
// VLCB
EventProducerService.h
VLCB::EventProducerServiceWithDiagnostics
Definition
EventProducerServiceWithDiagnostics.h:16
VLCB::EventProducerServiceWithDiagnostics::reportDiagnostics
virtual void reportDiagnostics(byte serviceIndex, byte diagnosticsCode) override
Report a given diagnostic value.
Definition
EventProducerServiceWithDiagnostics.cpp:11
VLCB::EventProducerServiceWithDiagnostics::getDiagnosticCount
virtual int getDiagnosticCount() override
report how many diagnostics this service supports.
Definition
EventProducerServiceWithDiagnostics.cpp:24
VLCB::EventProducerService
Service for producing events.
Definition
EventProducerService.h:24
VLCB
Definition
AbstractEventTeachingService.cpp:13
VLCB::VlcbMessage
VLCB message type.
Definition
Controller.h:38
vlcbdefs.hpp
src
EventProducerServiceWithDiagnostics.h
Generated by
1.18.0