Vector BLF

Loading...
Searching...
No Matches
MostStatisticEx.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
14 namespace Vector {
15 namespace BLF {
16
24 struct VECTOR_BLF_EXPORT MostStatisticEx final : ObjectHeader2 {
25 MostStatisticEx();
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
39 uint16_t reservedMostStatisticEx1 {};
40
44 uint32_t codingErrors {};
45
49 uint32_t frameCounter {};
50
52 uint32_t reservedMostStatisticEx2 {};
53};
54
55}
56}
Vector::BLF::AbstractFile
Definition AbstractFile.h:19
Vector::BLF::MostStatisticEx::channel
uint16_t channel
application channel
Definition MostStatisticEx.h:36
Vector::BLF::MostStatisticEx::reservedMostStatisticEx2
uint32_t reservedMostStatisticEx2
Definition MostStatisticEx.h:52
Vector::BLF::MostStatisticEx::reservedMostStatisticEx1
uint16_t reservedMostStatisticEx1
Definition MostStatisticEx.h:39
Vector::BLF::MostStatisticEx::frameCounter
uint32_t frameCounter
Definition MostStatisticEx.h:49
Vector::BLF::MostStatisticEx::calculateObjectSize
uint32_t calculateObjectSize() const override
Definition MostStatisticEx.cpp:32
Vector::BLF::MostStatisticEx::write
void write(AbstractFile &os) override
Definition MostStatisticEx.cpp:23
Vector::BLF::MostStatisticEx::codingErrors
uint32_t codingErrors
Definition MostStatisticEx.h:44
Vector::BLF::MostStatisticEx::read
void read(AbstractFile &is) override
Definition MostStatisticEx.cpp:14