Vector BLF

Loading...
Searching...
No Matches
FlexRayV6StartCycleEvent.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
16 namespace Vector {
17 namespace BLF {
18
24 struct VECTOR_BLF_EXPORT FlexRayV6StartCycleEvent final : ObjectHeader {
25 FlexRayV6StartCycleEvent();
26
27 void read(AbstractFile & is) override;
28 void write(AbstractFile & os) override;
29 uint32_t calculateObjectSize() const override;
30
36 uint16_t channel {};
37
47 uint8_t dir {};
48
54 uint8_t lowTime {};
55
61 uint32_t fpgaTick {};
62
68 uint32_t fpgaTickOverflow {};
69
76 uint32_t clientIndexFlexRayV6StartCycleEvent {};
77
83 uint32_t clusterTime {};
84
90 std::array<uint8_t, 2> dataBytes {};
91
93 uint16_t reservedFlexRayV6StartCycleEvent {};
94};
95
96}
97}
Vector::BLF::AbstractFile
Definition AbstractFile.h:19
Vector::BLF::FlexRayV6StartCycleEvent::clusterTime
uint32_t clusterTime
relative clustertime, from 0 to cyclelength
Definition FlexRayV6StartCycleEvent.h:83
Vector::BLF::FlexRayV6StartCycleEvent::lowTime
uint8_t lowTime
additional time field in simulation
Definition FlexRayV6StartCycleEvent.h:54
Vector::BLF::FlexRayV6StartCycleEvent::reservedFlexRayV6StartCycleEvent
uint16_t reservedFlexRayV6StartCycleEvent
Definition FlexRayV6StartCycleEvent.h:93
Vector::BLF::FlexRayV6StartCycleEvent::calculateObjectSize
uint32_t calculateObjectSize() const override
Definition FlexRayV6StartCycleEvent.cpp:40
Vector::BLF::FlexRayV6StartCycleEvent::channel
uint16_t channel
application channel
Definition FlexRayV6StartCycleEvent.h:36
Vector::BLF::FlexRayV6StartCycleEvent::read
void read(AbstractFile &is) override
Definition FlexRayV6StartCycleEvent.cpp:14
Vector::BLF::FlexRayV6StartCycleEvent::fpgaTick
uint32_t fpgaTick
timestamp generated from xModule
Definition FlexRayV6StartCycleEvent.h:61
Vector::BLF::FlexRayV6StartCycleEvent::dir
uint8_t dir
dir flag (tx, rx)
Definition FlexRayV6StartCycleEvent.h:47
Vector::BLF::FlexRayV6StartCycleEvent::dataBytes
std::array< uint8_t, 2 > dataBytes
array of databytes
Definition FlexRayV6StartCycleEvent.h:90
Vector::BLF::FlexRayV6StartCycleEvent::fpgaTickOverflow
uint32_t fpgaTickOverflow
overflow counter of the timestamp
Definition FlexRayV6StartCycleEvent.h:68
Vector::BLF::FlexRayV6StartCycleEvent::clientIndexFlexRayV6StartCycleEvent
uint32_t clientIndexFlexRayV6StartCycleEvent
clientindex of send node
Definition FlexRayV6StartCycleEvent.h:76
Vector::BLF::FlexRayV6StartCycleEvent::write
void write(AbstractFile &os) override
Definition FlexRayV6StartCycleEvent.cpp:27