Vector BLF: MostGenReg.h Source File

Vector BLF

Loading...
Searching...
No Matches
MostGenReg.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/ObjectHeader2.h>
11
12#include <Vector/BLF/vector_blf_export.h>
13
14namespace Vector {
15namespace BLF {
16
25 struct VECTOR_BLF_EXPORT MostGenReg final : ObjectHeader2 {
26 MostGenReg();
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
52 uint8_t subType {};
53
55 uint8_t reservedMostGenReg1 {};
56
62 uint32_t handle {};
63
87 uint16_t regId {};
88
90 uint16_t reservedMostGenReg2 {};
91
93 uint32_t reservedMostGenReg3 {};
94
100 uint64_t regValue {};
101};
102
103}
104}
Vector::BLF::ObjectQueue
Definition ObjectQueue.h:26
Vector::BLF::ObjectQueue::read
T * read()
Definition ObjectQueue.cpp:25
Vector::BLF::ObjectQueue::write
void write(T *obj)
Definition ObjectQueue.cpp:67
Vector::BLF::AbstractFile
Definition AbstractFile.h:19
Vector::BLF::MostGenReg
MOST_GENREG.
Definition MostGenReg.h:25
Vector::BLF::ObjectHeader2
Object header.
Definition ObjectHeader2.h:22