24 const std::vector<unsigned long>& indices,
25 const std::vector<unsigned long>& shown)
30 m_previous = base ? std::optional(*base) : std::nullopt;
51 [[nodiscard]]
const std::vector<unsigned long>&
Shown()
const {
return m_shown; }
57 const bool active =
IsActive(view, events);
Container class for managing collections of LogEvent objects.
High-performance, thread-safe container for managing large collections of LogEvent objects.
Definition EventsContainer.hpp:129
std::uint64_t Generation() const noexcept
Counter bumped whenever existing indices stop referring to the same events: Clear() of a non-empty co...
Definition EventsContainer.hpp:212
Definition DrillDownFilter.hpp:20
std::vector< unsigned long > m_applied
Definition DrillDownFilter.hpp:73
std::vector< unsigned long > m_shown
Definition DrillDownFilter.hpp:75
void Apply(EventsTableView &view, const db::EventsContainer &events, const std::vector< unsigned long > &indices, const std::vector< unsigned long > &shown)
Narrows view to indices. shown: the events the panel shows.
Definition DrillDownFilter.hpp:23
std::uint64_t m_generation
Definition DrillDownFilter.hpp:72
bool m_active
Definition DrillDownFilter.hpp:71
std::optional< std::vector< unsigned long > > m_previous
Definition DrillDownFilter.hpp:74
const std::vector< unsigned long > & Shown() const
The events the panel showed before the drill-down.
Definition DrillDownFilter.hpp:51
void Reset()
Forgets the drill-down (the filter was replaced by someone else).
Definition DrillDownFilter.hpp:68
void Restore(EventsTableView &view, const db::EventsContainer &events)
Definition DrillDownFilter.hpp:55
bool IsActive(const EventsTableView &view, const db::EventsContainer &events) const
Definition DrillDownFilter.hpp:41
Definition EventsTableView.hpp:29
void SetFilteredEvents(const std::vector< unsigned long > &filteredIndices) override
Applies filtered indices so only selected events are shown.
Definition EventsTableView.cpp:219
const std::vector< unsigned long > * GetBaseFilteredIndices() const
Definition EventsTableView.cpp:246
void ClearFilter() override
Clears any active filter; all events become visible via O(1) path.
Definition EventsTableView.cpp:229
Definition ConfigEditorDialog.cpp:19