Vector BLF: LinSyncError2.h Source File

Vector BLF

Loading...
Searching...
No Matches
LinSyncError2.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/LinSynchFieldEvent.h>
13#include <Vector/BLF/ObjectHeader.h>
14
15#include <Vector/BLF/vector_blf_export.h>
16
17namespace Vector {
18namespace BLF {
19
29 struct VECTOR_BLF_EXPORT LinSyncError2 final : ObjectHeader, LinSynchFieldEvent {
30 LinSyncError2();
31
32 void read(AbstractFile & is) override;
33 void write(AbstractFile & os) override;
34 uint32_t calculateObjectSize() const override;
35
40 std::array<uint16_t, 4> timeDiff {};
41};
42
43}
44}
Vector::BLF::AbstractFile
Definition: AbstractFile.h:19
Vector::BLF::LinSyncError2
LIN_SYN_ERROR2.
Definition: LinSyncError2.h:29
Vector::BLF::LinSynchFieldEvent
Definition: LinSynchFieldEvent.h:21
Vector::BLF::ObjectHeader
Object header.
Definition: ObjectHeader.h:22