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