Vector BLF: A429Message.h Source File

Vector BLF

Loading...
Searching...
No Matches
A429Message.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
16namespace Vector {
17namespace BLF {
18
24 struct VECTOR_BLF_EXPORT A429Message final : ObjectHeader {
25 A429Message();
26
27 void read(AbstractFile & is) override;
28 void write(AbstractFile & os) override;
29 uint32_t calculateObjectSize() const override;
30
32 std::array<uint8_t, 4> a429Data {};
33
35 uint16_t channel {};
36
38 uint8_t dir {};
39
41 uint8_t reservedA429Message1 {};
42
44 uint32_t bitrate {};
45
47 int32_t errReason {};
48
50 uint16_t errPosition {};
51
53 uint16_t reservedA429Message2 {};
54
56 uint32_t reservedA429Message3 {};
57
59 uint64_t frameGap {};
60
62 uint32_t frameLength {};
63
65 uint16_t msgCtrl {};
66
68 uint16_t reservedA429Message4 {};
69
71 uint32_t cycleTime {};
72
74 uint32_t error {};
75
77 uint32_t bitLenOfLastBit {};
78
80 uint32_t reservedA429Message5 {};
81};
82
83}
84}
Vector::BLF::A429Message::channel
uint16_t channel
Definition A429Message.h:35
Vector::BLF::A429Message::msgCtrl
uint16_t msgCtrl
Definition A429Message.h:65
Vector::BLF::A429Message::reservedA429Message2
uint16_t reservedA429Message2
Definition A429Message.h:53
Vector::BLF::A429Message::write
void write(AbstractFile &os) override
Definition A429Message.cpp:35
Vector::BLF::A429Message::cycleTime
uint32_t cycleTime
Definition A429Message.h:71
Vector::BLF::A429Message::bitLenOfLastBit
uint32_t bitLenOfLastBit
Definition A429Message.h:77
Vector::BLF::A429Message::calculateObjectSize
uint32_t calculateObjectSize() const override
Definition A429Message.cpp:56
Vector::BLF::A429Message::frameLength
uint32_t frameLength
Definition A429Message.h:62
Vector::BLF::A429Message::errReason
int32_t errReason
Definition A429Message.h:47
Vector::BLF::A429Message::errPosition
uint16_t errPosition
Definition A429Message.h:50
Vector::BLF::A429Message::reservedA429Message1
uint8_t reservedA429Message1
Definition A429Message.h:41
Vector::BLF::A429Message::frameGap
uint64_t frameGap
Definition A429Message.h:59
Vector::BLF::A429Message::dir
uint8_t dir
Definition A429Message.h:38
Vector::BLF::A429Message::reservedA429Message3
uint32_t reservedA429Message3
Definition A429Message.h:56
Vector::BLF::A429Message::reservedA429Message5
uint32_t reservedA429Message5
Definition A429Message.h:80
Vector::BLF::A429Message::reservedA429Message4
uint16_t reservedA429Message4
Definition A429Message.h:68
Vector::BLF::A429Message::a429Data
std::array< uint8_t, 4 > a429Data
Definition A429Message.h:32
Vector::BLF::A429Message::bitrate
uint32_t bitrate
Definition A429Message.h:44
Vector::BLF::A429Message::read
void read(AbstractFile &is) override
Definition A429Message.cpp:14
Vector::BLF::A429Message::error
uint32_t error
Definition A429Message.h:74
Vector::BLF::AbstractFile
Definition AbstractFile.h:19