ComSquare
Public Member Functions | Public Attributes | Protected Member Functions | Private Attributes | List of all members
ComSquare::Debugger::BusLoggerProxy Class Reference

A class to filter logs from the memory bus's debugger. More...

#include <MemoryBusDebug.hpp>

Inheritance diagram for ComSquare::Debugger::BusLoggerProxy:
Collaboration diagram for ComSquare::Debugger::BusLoggerProxy:

Public Member Functions

void refresh ()
 Refresh the view after a change of filters. More...
 
 BusLoggerProxy (BusLogModel &parent)
 
 BusLoggerProxy (const BusLoggerProxy &)=delete
 
const BusLoggerProxyoperator= (const BusLoggerProxy &)=delete
 
 ~BusLoggerProxy () override=default
 

Public Attributes

ComSquare::Debugger::BusLoggerFilters filters [2]
 Currently enabled filters, index 0 is for reads, index 1 for writes. More...
 

Protected Member Functions

bool filterAcceptsRow (int sourceRow, const QModelIndex &sourceParent) const override
 Function that filter logs. More...
 

Private Attributes

BusLogModel_parent
 The parent to get the original data for filters. More...
 

Detailed Description

A class to filter logs from the memory bus's debugger.

Constructor & Destructor Documentation

◆ BusLoggerProxy() [1/2]

ComSquare::Debugger::BusLoggerProxy::BusLoggerProxy ( BusLogModel parent)
explicit

◆ BusLoggerProxy() [2/2]

ComSquare::Debugger::BusLoggerProxy::BusLoggerProxy ( const BusLoggerProxy )
delete

◆ ~BusLoggerProxy()

ComSquare::Debugger::BusLoggerProxy::~BusLoggerProxy ( )
overridedefault

Member Function Documentation

◆ filterAcceptsRow()

bool ComSquare::Debugger::BusLoggerProxy::filterAcceptsRow ( int  sourceRow,
const QModelIndex &  sourceParent 
) const
overrideprotected

Function that filter logs.

◆ operator=()

const BusLoggerProxy& ComSquare::Debugger::BusLoggerProxy::operator= ( const BusLoggerProxy )
delete

◆ refresh()

void ComSquare::Debugger::BusLoggerProxy::refresh ( )

Refresh the view after a change of filters.

Member Data Documentation

◆ _parent

BusLogModel& ComSquare::Debugger::BusLoggerProxy::_parent
private

The parent to get the original data for filters.

◆ filters

ComSquare::Debugger::BusLoggerFilters ComSquare::Debugger::BusLoggerProxy::filters[2]
Initial value:

Currently enabled filters, index 0 is for reads, index 1 for writes.


The documentation for this class was generated from the following files:
ComSquare::Debugger::BusLoggerFilters
The struct representing filters of the memory bus's logger.
Definition: MemoryBusDebug.hpp:34