Vector BLF: GlobalMarker.h Source File

Vector BLF

Loading...
Searching...
No Matches
GlobalMarker.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 <string>
10
11#include <Vector/BLF/ObjectHeader.h>
12
13#include <Vector/BLF/vector_blf_export.h>
14
15namespace Vector {
16namespace BLF {
17
23 struct VECTOR_BLF_EXPORT GlobalMarker final : ObjectHeader {
24 GlobalMarker();
25
26 void read(AbstractFile & is) override;
27 void write(AbstractFile & os) override;
28 uint32_t calculateObjectSize() const override;
29
35 uint32_t commentedEventType {};
36
40 uint32_t foregroundColor {};
41
45 uint32_t backgroundColor {};
46
50 uint8_t isRelocatable {};
51
53 uint8_t reservedGlobalMarker1 {};
54
56 uint16_t reservedGlobalMarker2 {};
57
63 uint32_t groupNameLength {};
64
70 uint32_t markerNameLength {};
71
77 uint32_t descriptionLength {};
78
80 uint32_t reservedGlobalMarker3 {};
81
83 uint64_t reservedGlobalMarker4 {};
84
90 std::string groupName {};
91
97 std::string markerName {};
98
104 std::string description {};
105};
106
107}
108}
Vector::BLF::AbstractFile
Definition: AbstractFile.h:19
Vector::BLF::GlobalMarker
GLOBAL_MARKER.
Definition: GlobalMarker.h:23
Vector::BLF::ObjectHeader
Object header.
Definition: ObjectHeader.h:22