Vector BLF: AfdxStatus.h Source File

Vector BLF

Loading...
Searching...
No Matches
AfdxStatus.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/AfdxLineStatus.h>
11#include <Vector/BLF/ObjectHeader.h>
12
13#include <Vector/BLF/vector_blf_export.h>
14
15namespace Vector {
16namespace BLF {
17
23 struct VECTOR_BLF_EXPORT AfdxStatus final : ObjectHeader {
24 AfdxStatus();
25
26 void read(AbstractFile & is) override;
27 void write(AbstractFile & os) override;
28 uint32_t calculateObjectSize() const override;
29
33 uint16_t channel {};
34
36 uint16_t reservedAfdxStatus1 {};
37
41 AfdxLineStatus statusA {};
42
46 AfdxLineStatus statusB {};
47
49 uint32_t reservedAfdxStatus2 {};
50};
51
52}
53}
Vector::BLF::AbstractFile
Definition: AbstractFile.h:19
Vector::BLF::AfdxLineStatus
Definition: AfdxLineStatus.h:18
Vector::BLF::AfdxStatus
AFDX_STATUS.
Definition: AfdxStatus.h:23
Vector::BLF::ObjectHeader
Object header.
Definition: ObjectHeader.h:22