Vector BLF

Loading...
Searching...
No Matches
A429Error.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 <array>
10
11#include <Vector/BLF/AbstractFile.h>
12#include <Vector/BLF/ObjectHeader.h>
13
14#include <Vector/BLF/vector_blf_export.h>
15
16 namespace Vector {
17 namespace BLF {
18
24 struct VECTOR_BLF_EXPORT A429Error final : ObjectHeader {
25 A429Error();
26
27 void read(AbstractFile & is) override;
28 void write(AbstractFile & os) override;
29 uint32_t calculateObjectSize() const override;
30
32 uint16_t channel {};
33
35 uint16_t errorType {};
36
38 uint32_t sourceIdentifier {};
39
41 uint32_t errReason {};
42
44 std::array<char, 512> errorText {};
45
47 std::array<char, 512> errorAttributes {};
48
50 uint32_t reservedA429Error {};
51};
52
53}
54}
Vector::BLF::A429Error::reservedA429Error
uint32_t reservedA429Error
Definition A429Error.h:50
Vector::BLF::A429Error::write
void write(AbstractFile &os) override
Definition A429Error.cpp:25
Vector::BLF::A429Error::read
void read(AbstractFile &is) override
Definition A429Error.cpp:14
Vector::BLF::A429Error::errorText
std::array< char, 512 > errorText
Definition A429Error.h:44
Vector::BLF::A429Error::errorAttributes
std::array< char, 512 > errorAttributes
Definition A429Error.h:47
Vector::BLF::A429Error::channel
uint16_t channel
Definition A429Error.h:32
Vector::BLF::A429Error::calculateObjectSize
uint32_t calculateObjectSize() const override
Definition A429Error.cpp:36
Vector::BLF::A429Error::sourceIdentifier
uint32_t sourceIdentifier
Definition A429Error.h:38
Vector::BLF::A429Error::errorType
uint16_t errorType
Definition A429Error.h:35
Vector::BLF::A429Error::errReason
uint32_t errReason
Definition A429Error.h:41
Vector::BLF::AbstractFile
Definition AbstractFile.h:19