Vector BLF: FlexRayVFrReceiveMsgEx.h Source File

Vector BLF

Loading...
Searching...
No Matches
FlexRayVFrReceiveMsgEx.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#include <vector>
11
12#include <Vector/BLF/AbstractFile.h>
13#include <Vector/BLF/ObjectHeader.h>
14
15#include <Vector/BLF/vector_blf_export.h>
16
17namespace Vector {
18namespace BLF {
19
25 struct VECTOR_BLF_EXPORT FlexRayVFrReceiveMsgEx final : ObjectHeader {
26 FlexRayVFrReceiveMsgEx();
27
28 void read(AbstractFile & is) override;
29 void write(AbstractFile & os) override;
30 uint32_t calculateObjectSize() const override;
31
37 uint16_t channel {};
38
44 uint16_t version {};
45
55 uint16_t channelMask {};
56
66 uint16_t dir {};
67
74 uint32_t clientIndexFlexRayVFrReceiveMsgEx {};
75
81 uint32_t clusterNo {};
82
88 uint16_t frameId {};
89
95 uint16_t headerCrc1 {};
96
102 uint16_t headerCrc2 {};
103
109 uint16_t byteCount {};
110
119 uint16_t dataCount {};
120
126 uint16_t cycle {};
127
140 uint32_t tag {};
141
196 uint32_t data {};
197
235 uint32_t frameFlags {};
236
242 uint32_t appParameter {};
243
249 uint32_t frameCrc {};
250
258 uint32_t frameLengthNs {};
259
266 uint16_t frameId1 {};
267
274 uint16_t pduOffset {};
275
285 uint16_t blfLogMask {};
286
288 std::array<uint16_t, 13> reservedFlexRayVFrReceiveMsgEx {};
289
295 std::vector<uint8_t> dataBytes {};
296};
297
298}
299}
Vector::BLF::AbstractFile
Definition: AbstractFile.h:19
Vector::BLF::FlexRayVFrReceiveMsgEx
FR_RCVMESSAGE_EX.
Definition: FlexRayVFrReceiveMsgEx.h:25
Vector::BLF::ObjectHeader
Object header.
Definition: ObjectHeader.h:22