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
15 namespace Vector {
16 namespace 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::calculateObjectSize
uint32_t calculateObjectSize() const override
Definition AfdxStatus.cpp:32
Vector::BLF::AfdxStatus::reservedAfdxStatus1
uint16_t reservedAfdxStatus1
Definition AfdxStatus.h:36
Vector::BLF::AfdxStatus::statusA
AfdxLineStatus statusA
status of adapter lineA
Definition AfdxStatus.h:41
Vector::BLF::AfdxStatus::read
void read(AbstractFile &is) override
Definition AfdxStatus.cpp:14
Vector::BLF::AfdxStatus::reservedAfdxStatus2
uint32_t reservedAfdxStatus2
Definition AfdxStatus.h:49
Vector::BLF::AfdxStatus::channel
uint16_t channel
application channel
Definition AfdxStatus.h:33
Vector::BLF::AfdxStatus::statusB
AfdxLineStatus statusB
status of adapter lineB
Definition AfdxStatus.h:46
Vector::BLF::AfdxStatus::write
void write(AbstractFile &os) override
Definition AfdxStatus.cpp:23