Vector BLF

Loading...
Searching...
No Matches
DataLostEnd.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
14 namespace Vector {
15 namespace BLF {
16
20 struct VECTOR_BLF_EXPORT DataLostEnd final : ObjectHeader {
21 DataLostEnd();
22
23 void read(AbstractFile & is) override;
24 void write(AbstractFile & os) override;
25 uint32_t calculateObjectSize() const override;
26
28 enum QueueIdentifier : uint32_t {
29 RtQueue = 0,
30 AnlyzQueue = 1,
31 RtAndAnlyzQueue = 2
32 };
33
35 uint32_t queueIdentifier {};
36
38 uint64_t firstObjectLostTimeStamp {};
39
41 uint32_t numberOfLostEvents {};
42};
43
44}
45}
Vector::BLF::AbstractFile
Definition AbstractFile.h:19
Vector::BLF::DataLostEnd::write
void write(AbstractFile &os) override
Definition DataLostEnd.cpp:21
Vector::BLF::DataLostEnd::calculateObjectSize
uint32_t calculateObjectSize() const override
Definition DataLostEnd.cpp:28
Vector::BLF::DataLostEnd::numberOfLostEvents
uint32_t numberOfLostEvents
Definition DataLostEnd.h:41
Vector::BLF::DataLostEnd::queueIdentifier
uint32_t queueIdentifier
Definition DataLostEnd.h:35
Vector::BLF::DataLostEnd::firstObjectLostTimeStamp
uint64_t firstObjectLostTimeStamp
Definition DataLostEnd.h:38
Vector::BLF::DataLostEnd::QueueIdentifier
QueueIdentifier
Definition DataLostEnd.h:28
Vector::BLF::DataLostEnd::read
void read(AbstractFile &is) override
Definition DataLostEnd.cpp:14