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
17 namespace Vector {
18 namespace 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::write
void write(AbstractFile &os) override
Definition LinSyncError2.cpp:21
Vector::BLF::LinSyncError2::timeDiff
std::array< uint16_t, 4 > timeDiff
Definition LinSyncError2.h:40
Vector::BLF::LinSyncError2::calculateObjectSize
uint32_t calculateObjectSize() const override
Definition LinSyncError2.cpp:27
Vector::BLF::LinSyncError2::read
void read(AbstractFile &is) override
Definition LinSyncError2.cpp:14
Vector::BLF::LinSynchFieldEvent
Definition LinSynchFieldEvent.h:21