LogViewer
A modern log viewer with AI-assisted analysis (Qt 6)
Loading...
Searching...
No Matches
ui::qt::CanStatisticsStrategy Class Referencefinal

#include <CanStatisticsStrategy.hpp>

Inheritance diagram for ui::qt::CanStatisticsStrategy:
Inheritance graph
Collaboration diagram for ui::qt::CanStatisticsStrategy:
Collaboration graph

Public Member Functions

bool Matches (db::EventsContainer &events) const override
 Returns true if this strategy is applicable to the current event data.
 
std::vector< StatsSection > Compute (db::EventsContainer &events, const std::vector< unsigned long > &indices) const override
 Compute format-specific statistics for the given visible event indices.
 

Detailed Description

Format-specific statistics for CAN bus logs (ASC files). Computes Rx/Tx/error frame breakdown, unique IDs, frame rate, and signal ranges.

Member Function Documentation

◆ Compute()

std::vector< StatsSection > ui::qt::CanStatisticsStrategy::Compute ( db::EventsContainer &  events,
const std::vector< unsigned long > &  indices 
) const
overridevirtual

Compute format-specific statistics for the given visible event indices.

Implements ui::qt::IStatisticsStrategy.

Here is the call graph for this function:

◆ Matches()

bool ui::qt::CanStatisticsStrategy::Matches ( db::EventsContainer &  events) const
overridevirtual

Returns true if this strategy is applicable to the current event data.

Implements ui::qt::IStatisticsStrategy.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: