Vector BLF

Loading...
Searching...
No Matches
DataLostBegin.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 DataLostBegin final : ObjectHeader {
21 DataLostBegin();
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};
37
38}
39}
Vector::BLF::AbstractFile
Definition AbstractFile.h:19
Vector::BLF::DataLostBegin::QueueIdentifier
QueueIdentifier
Definition DataLostBegin.h:28
Vector::BLF::DataLostBegin::queueIdentifier
uint32_t queueIdentifier
Definition DataLostBegin.h:35
Vector::BLF::DataLostBegin::calculateObjectSize
uint32_t calculateObjectSize() const override
Definition DataLostBegin.cpp:24
Vector::BLF::DataLostBegin::write
void write(AbstractFile &os) override
Definition DataLostBegin.cpp:19
Vector::BLF::DataLostBegin::read
void read(AbstractFile &is) override
Definition DataLostBegin.cpp:14