Vector BLF: CanFdExtFrameData.h Source File

Vector BLF

Loading...
Searching...
No Matches
CanFdExtFrameData.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>
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
20 struct VECTOR_BLF_EXPORT CanFdExtFrameData {
21 CanFdExtFrameData() = default;
22 virtual ~CanFdExtFrameData() noexcept = default;
23 CanFdExtFrameData(const CanFdExtFrameData &) = default;
24 CanFdExtFrameData & operator=(const CanFdExtFrameData &) = default;
25 CanFdExtFrameData(CanFdExtFrameData &&) = default;
26 CanFdExtFrameData & operator=(CanFdExtFrameData &&) = default;
27
29 virtual void read(AbstractFile & is);
30
32 virtual void write(AbstractFile & os);
33
35 virtual uint32_t calculateObjectSize() const;
36
48 uint32_t btrExtArb {};
49
61 uint32_t btrExtData {};
62
64 std::vector<uint8_t> reservedCanFdExtFrameData {};
65
66 // @note might be extended in future versions
67};
68
69}
70}
Vector::BLF::AbstractFile
Definition: AbstractFile.h:19
Vector::BLF::CanFdExtFrameData
Definition: CanFdExtFrameData.h:20