LogViewer
A modern log viewer with AI-assisted analysis (Qt 6)
Loading...
Searching...
No Matches
SequenceMessages.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "ActorDiscoverer.hpp"
4#include "EventsContainer.hpp"
5
6#include <cstddef>
7#include <string>
8#include <string_view>
9#include <vector>
10
11namespace analyzer
12{
13
16{
17 std::string from;
18 std::string to;
19 std::string label;
20 std::size_t eventIndex {0};
21};
22
26[[nodiscard]] bool IsPlaceholderActor(std::string_view name);
27
30[[nodiscard]] std::vector<std::string> SplitActorList(std::string_view value);
31
38[[nodiscard]] std::vector<SequenceMessage> CollectSequenceMessages(
39 db::EventsContainer& events, const ExchangePattern& pattern, std::size_t limit);
40
41} // namespace analyzer
Container class for managing collections of LogEvent objects.
High-performance, thread-safe container for managing large collections of LogEvent objects.
Definition EventsContainer.hpp:129
Definition ActorDiscoverer.cpp:13
std::vector< std::string > SplitActorList(std::string_view value)
Definition SequenceMessages.cpp:50
bool IsPlaceholderActor(std::string_view name)
Definition SequenceMessages.cpp:43
std::vector< SequenceMessage > CollectSequenceMessages(db::EventsContainer &events, const ExchangePattern &pattern, std::size_t limit)
Definition SequenceMessages.cpp:66
One arrow of a sequence diagram: a message from one actor to another.
Definition SequenceMessages.hpp:16
std::string label
Definition SequenceMessages.hpp:19
std::string to
Definition SequenceMessages.hpp:18
std::size_t eventIndex
Index into the EventsContainer.
Definition SequenceMessages.hpp:20
std::string from
Definition SequenceMessages.hpp:17