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
15 namespace Vector {
16 namespace 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::read
void read(AbstractFile &is) override
Definition GlobalMarker.cpp:16
Vector::BLF::GlobalMarker::foregroundColor
uint32_t foregroundColor
Definition GlobalMarker.h:40
Vector::BLF::GlobalMarker::backgroundColor
uint32_t backgroundColor
Definition GlobalMarker.h:45
Vector::BLF::GlobalMarker::groupNameLength
uint32_t groupNameLength
group name length in bytes
Definition GlobalMarker.h:63
Vector::BLF::GlobalMarker::calculateObjectSize
uint32_t calculateObjectSize() const override
Definition GlobalMarker.cpp:61
Vector::BLF::GlobalMarker::reservedGlobalMarker4
uint64_t reservedGlobalMarker4
Definition GlobalMarker.h:83
Vector::BLF::GlobalMarker::markerNameLength
uint32_t markerNameLength
marker name length in bytes
Definition GlobalMarker.h:70
Vector::BLF::GlobalMarker::reservedGlobalMarker3
uint32_t reservedGlobalMarker3
Definition GlobalMarker.h:80
Vector::BLF::GlobalMarker::reservedGlobalMarker1
uint8_t reservedGlobalMarker1
Definition GlobalMarker.h:53
Vector::BLF::GlobalMarker::commentedEventType
uint32_t commentedEventType
commented event type
Definition GlobalMarker.h:35
Vector::BLF::GlobalMarker::reservedGlobalMarker2
uint16_t reservedGlobalMarker2
Definition GlobalMarker.h:56
Vector::BLF::GlobalMarker::groupName
std::string groupName
group name
Definition GlobalMarker.h:90
Vector::BLF::GlobalMarker::isRelocatable
uint8_t isRelocatable
Definition GlobalMarker.h:50
Vector::BLF::GlobalMarker::description
std::string description
description
Definition GlobalMarker.h:104
Vector::BLF::GlobalMarker::markerName
std::string markerName
marker name
Definition GlobalMarker.h:97
Vector::BLF::GlobalMarker::descriptionLength
uint32_t descriptionLength
description length in bytes
Definition GlobalMarker.h:77
Vector::BLF::GlobalMarker::write
void write(AbstractFile &os) override
Definition GlobalMarker.cpp:40