Vector BLF: MostSystemEvent.h Source File

Vector BLF

Loading...
Searching...
No Matches
MostSystemEvent.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
22 struct VECTOR_BLF_EXPORT MostSystemEvent final : ObjectHeader2 {
23 MostSystemEvent();
24
25 void read(AbstractFile & is) override;
26 void write(AbstractFile & os) override;
27 uint32_t calculateObjectSize() const override;
28
34 uint16_t channel {};
35
45 uint16_t id {};
46
52 uint32_t value {};
53
59 uint32_t valueOld {};
60
62 uint32_t reservedMostSystemEvent {};
63};
64
65}
66}
Vector::BLF::AbstractFile
Definition AbstractFile.h:19
Vector::BLF::MostSystemEvent::value
uint32_t value
current value
Definition MostSystemEvent.h:52
Vector::BLF::MostSystemEvent::calculateObjectSize
uint32_t calculateObjectSize() const override
Definition MostSystemEvent.cpp:32
Vector::BLF::MostSystemEvent::write
void write(AbstractFile &os) override
Definition MostSystemEvent.cpp:23
Vector::BLF::MostSystemEvent::channel
uint16_t channel
application channel
Definition MostSystemEvent.h:34
Vector::BLF::MostSystemEvent::reservedMostSystemEvent
uint32_t reservedMostSystemEvent
Definition MostSystemEvent.h:62
Vector::BLF::MostSystemEvent::read
void read(AbstractFile &is) override
Definition MostSystemEvent.cpp:14
Vector::BLF::MostSystemEvent::valueOld
uint32_t valueOld
previous value
Definition MostSystemEvent.h:59