VLCB
Toggle main menu visibility
Loading...
Searching...
No Matches
EventConsumerServiceWithDiagnostics.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 "
EventConsumerService.h
"
9
#include <
vlcbdefs.hpp
>
10
11
namespace
VLCB
{
12
13
struct
VlcbMessage
;
14
15
class
EventConsumerServiceWithDiagnostics
:
public
EventConsumerService
16
{
17
public
:
18
virtual
void
reportDiagnostics
(
byte
serviceIndex,
byte
diagnosticsCode)
override
;
19
virtual
int
getDiagnosticCount
()
override
;
20
21
};
22
23
}
// VLCB
EventConsumerService.h
VLCB::EventConsumerServiceWithDiagnostics
Definition
EventConsumerServiceWithDiagnostics.h:16
VLCB::EventConsumerServiceWithDiagnostics::reportDiagnostics
virtual void reportDiagnostics(byte serviceIndex, byte diagnosticsCode) override
Report a given diagnostic value.
Definition
EventConsumerServiceWithDiagnostics.cpp:11
VLCB::EventConsumerServiceWithDiagnostics::getDiagnosticCount
virtual int getDiagnosticCount() override
report how many diagnostics this service supports.
Definition
EventConsumerServiceWithDiagnostics.cpp:27
VLCB::EventConsumerService
Service for consuming events.
Definition
EventConsumerService.h:25
VLCB
Definition
AbstractEventTeachingService.cpp:13
VLCB::VlcbMessage
VLCB message type.
Definition
Controller.h:38
vlcbdefs.hpp
src
EventConsumerServiceWithDiagnostics.h
Generated by
1.18.0