Vector BLF: MostStatistic.h Source File

Vector BLF

Loading...
Searching...
No Matches
MostStatistic.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/ObjectHeader.h>
11
12#include <Vector/BLF/vector_blf_export.h>
13
14namespace Vector {
15namespace BLF {
16
23 struct VECTOR_BLF_EXPORT MostStatistic final : ObjectHeader {
24 MostStatistic();
25
26 void read(AbstractFile & is) override;
27 void write(AbstractFile & os) override;
28 uint32_t calculateObjectSize() const override;
29
35 uint16_t channel {};
36
41 uint16_t pktCnt {};
42
47 int32_t frmCnt {};
48
53 int32_t lightCnt {};
54
59 int32_t bufferLevel {};
60};
61
62}
63}
Vector::BLF::AbstractFile
Definition AbstractFile.h:19
Vector::BLF::MostStatistic::calculateObjectSize
uint32_t calculateObjectSize() const override
Definition MostStatistic.cpp:32
Vector::BLF::MostStatistic::read
void read(AbstractFile &is) override
Definition MostStatistic.cpp:14
Vector::BLF::MostStatistic::channel
uint16_t channel
application channel
Definition MostStatistic.h:35
Vector::BLF::MostStatistic::lightCnt
int32_t lightCnt
Definition MostStatistic.h:53
Vector::BLF::MostStatistic::bufferLevel
int32_t bufferLevel
Definition MostStatistic.h:59
Vector::BLF::MostStatistic::frmCnt
int32_t frmCnt
Definition MostStatistic.h:47
Vector::BLF::MostStatistic::pktCnt
uint16_t pktCnt
Definition MostStatistic.h:41
Vector::BLF::MostStatistic::write
void write(AbstractFile &os) override
Definition MostStatistic.cpp:23