Vector BLF: Most150AllocTab.h Source File

Vector BLF

Loading...
Searching...
No Matches
Most150AllocTab.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
16namespace Vector {
17namespace BLF {
18
24 struct VECTOR_BLF_EXPORT Most150AllocTab final : ObjectHeader2 { /* applied for MOST50 and MOST150 */
25 Most150AllocTab();
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
43 uint16_t eventModeFlags {};
44
52 uint16_t freeBytes {};
53
60 uint16_t length {};
61
63 uint64_t reservedMost150AllocTab {};
64
93 std::vector<uint8_t> tableData {};
94};
95
96}
97}
Vector::BLF::AbstractFile
Definition: AbstractFile.h:19
Vector::BLF::Most150AllocTab
MOST_150_ALLOCTAB.
Definition: Most150AllocTab.h:24
Vector::BLF::ObjectHeader2
Object header.
Definition: ObjectHeader2.h:22