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