Vector BLF: LinSpikeEvent2.h Source File

Vector BLF

Loading...
Searching...
No Matches
LinSpikeEvent2.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/LinBusEvent.h>
11#include <Vector/BLF/ObjectHeader.h>
12
13#include <Vector/BLF/vector_blf_export.h>
14
15namespace Vector {
16namespace BLF {
17
24 struct VECTOR_BLF_EXPORT LinSpikeEvent2 final : ObjectHeader, LinBusEvent {
25 LinSpikeEvent2();
26
27 void read(AbstractFile & is) override;
28 void write(AbstractFile & os) override;
29 uint32_t calculateObjectSize() const override;
30
36 uint32_t width {};
37
44 uint8_t internal {};
45
47 uint8_t reservedLinSpikeEvent1 {};
48
50 uint16_t reservedLinSpikeEvent2 {};
51};
52
53}
54}
Vector::BLF::AbstractFile
Definition AbstractFile.h:19
Vector::BLF::LinBusEvent
Definition LinBusEvent.h:20
Vector::BLF::LinSpikeEvent2
LIN_SPIKE_EVENT2.
Definition LinSpikeEvent2.h:24
Vector::BLF::ObjectHeader
Object header.
Definition ObjectHeader.h:22