26#include <ArmarXCore/interface/core/Log.h>
95 std::vector<LogMarker>
markers()
const;
110 mutable std::mutex mutex;
111 std::vector<LogMarker> entries;
113 std::size_t colorIndex = 0;
bool expireBefore(LogSeq firstSeq)
Remove every marker whose line has been dropped from the store, i.e.
LogMarkerId markerIdForSeq(LogSeq seq) const
Id of the marker pinning seq, or 0 if it is not pinned.
void recolor(LogMarkerId id, const QColor &color)
Reassign a marker's color (no-op if unknown).
bool isMarked(LogSeq seq) const
Whether seq is pinned.
LogMarkerRegistry(QObject *parent=nullptr)
QColor colorForSeq(LogSeq seq) const
Color of the marker pinning seq, or an invalid QColor if it is not pinned.
void add(LogSeq seq)
Pin the store entry seq, assigning it the next Glasbey color.
void clear()
Drop all markers.
std::vector< LogMarker > markers() const
Ordered (insertion-order) view of all markers.
void remove(LogMarkerId id)
Remove the marker with the given id (no-op if unknown).
This file offers overloads of toIce() and fromIce() functions for STL container types.
std::uint64_t LogMarkerId
quint64 LogSeq
Identifies a stored log entry for as long as it is retained.
A single pinned log line: the store entry it refers to plus the color assigned to it.
LogSeq seq
The pinned line, as a sequence number into the shared LogStore.