Vector BLF

Loading...
Searching...
No Matches
DiagRequestInterpretation.h
1// SPDX-FileCopyrightText: 2013-2021 Tobias Lorenz <tobias.lorenz@gmx.net>
2//
3// SPDX-License-Identifier: GPL-3.0-or-later
4
5#pragma once
6
7#include <Vector/BLF/platform.h>
8
9#include <Vector/BLF/AbstractFile.h>
10#include <Vector/BLF/ObjectHeader.h>
11
12#include <Vector/BLF/vector_blf_export.h>
13
14 namespace Vector {
15 namespace BLF {
16
20 struct VECTOR_BLF_EXPORT DiagRequestInterpretation final : ObjectHeader {
21 DiagRequestInterpretation();
22
23 void read(AbstractFile & is) override;
24 void write(AbstractFile & os) override;
25 uint32_t calculateObjectSize() const override;
26
30 uint32_t diagDescriptionHandle {};
31
35 uint32_t diagVariantHandle {};
36
40 uint32_t diagServiceHandle {};
41
45 uint32_t ecuQualifierLength {};
46
50 uint32_t variantQualifierLength {};
51
55 uint32_t serviceQualifierLength {};
56
60 std::string ecuQualifier {};
61
65 std::string variantQualifier {};
66
70 std::string serviceQualifier {};
71};
72
73}
74}
Vector::BLF::AbstractFile
Definition AbstractFile.h:19
Vector::BLF::DiagRequestInterpretation::ecuQualifier
std::string ecuQualifier
qualifier of the ECU the request was sent to
Definition DiagRequestInterpretation.h:60
Vector::BLF::DiagRequestInterpretation::variantQualifier
std::string variantQualifier
qualifier of the active diagnostic variant
Definition DiagRequestInterpretation.h:65
Vector::BLF::DiagRequestInterpretation::write
void write(AbstractFile &os) override
Definition DiagRequestInterpretation.cpp:30
Vector::BLF::DiagRequestInterpretation::read
void read(AbstractFile &is) override
Definition DiagRequestInterpretation.cpp:14
Vector::BLF::DiagRequestInterpretation::serviceQualifierLength
uint32_t serviceQualifierLength
string length for serviceQualifier
Definition DiagRequestInterpretation.h:55
Vector::BLF::DiagRequestInterpretation::diagServiceHandle
uint32_t diagServiceHandle
unique ID identifying the used diagnostic service
Definition DiagRequestInterpretation.h:40
Vector::BLF::DiagRequestInterpretation::diagDescriptionHandle
uint32_t diagDescriptionHandle
unique ID identifying the used diagnostic description
Definition DiagRequestInterpretation.h:30
Vector::BLF::DiagRequestInterpretation::serviceQualifier
std::string serviceQualifier
qualifier of the diagnostic service
Definition DiagRequestInterpretation.h:70
Vector::BLF::DiagRequestInterpretation::diagVariantHandle
uint32_t diagVariantHandle
unique ID identifying the used diagnostic variant
Definition DiagRequestInterpretation.h:35
Vector::BLF::DiagRequestInterpretation::calculateObjectSize
uint32_t calculateObjectSize() const override
Definition DiagRequestInterpretation.cpp:48
Vector::BLF::DiagRequestInterpretation::ecuQualifierLength
uint32_t ecuQualifierLength
string length for ecuQualifier
Definition DiagRequestInterpretation.h:45
Vector::BLF::DiagRequestInterpretation::variantQualifierLength
uint32_t variantQualifierLength
string length for variantQualifier
Definition DiagRequestInterpretation.h:50