Vector BLF

Loading...
Searching...
No Matches
MostAllocTab.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/ObjectHeader2.h>
13
14#include <Vector/BLF/vector_blf_export.h>
15
16 namespace Vector {
17 namespace BLF {
18
25 struct VECTOR_BLF_EXPORT MostAllocTab final : ObjectHeader2 {
26 MostAllocTab();
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
43 uint16_t length {};
44
46 uint32_t reservedMostAllocTab {};
47
65 std::vector<uint8_t> tableData {};
66};
67
68}
69}
Vector::BLF::AbstractFile
Definition AbstractFile.h:19
Vector::BLF::MostAllocTab::write
void write(AbstractFile &os) override
Definition MostAllocTab.cpp:26
Vector::BLF::MostAllocTab::channel
uint16_t channel
application channel
Definition MostAllocTab.h:37
Vector::BLF::MostAllocTab::tableData
std::vector< uint8_t > tableData
Definition MostAllocTab.h:65
Vector::BLF::MostAllocTab::read
void read(AbstractFile &is) override
Definition MostAllocTab.cpp:14
Vector::BLF::MostAllocTab::reservedMostAllocTab
uint32_t reservedMostAllocTab
Definition MostAllocTab.h:46
Vector::BLF::MostAllocTab::calculateObjectSize
uint32_t calculateObjectSize() const override
Definition MostAllocTab.cpp:40
Vector::BLF::MostAllocTab::length
uint16_t length
Definition MostAllocTab.h:43