Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
iv::panels::editor::ModelTreeDownloadLogs Class Reference

#include <ModelTreeDownloadLogs.hpp>

Inheritance diagram for iv::panels::editor::ModelTreeDownloadLogs:
[legend]
Collaboration diagram for iv::panels::editor::ModelTreeDownloadLogs:
[legend]

Public Member Functions

 ModelTreeDownloadLogs (const std::shared_ptr< std::vector< std::shared_ptr< iv::logs::DownloadLoggerInfo > > > &downloadLogs, const std::shared_ptr< std::mutex > &mutex)
 
uint64_t numRows () const override
 
std::shared_ptr< CDataListgetDataCell (uint64_t indRow, uint64_t indColumn) const override
 
uint64_t getParentRow (uint64_t indRow) const override
 
void addColumns (CTree *tree) override
 
bool hasBackground (uint64_t indRow, uint64_t indColumn, iv::types::color *rgbBackground) const override
 
virtual bool isCellActive (uint64_t indRow, uint64_t indCol) const
 
virtual bool hasForeground (uint64_t indRow, uint64_t indColumn, iv::types::color *rgbForeground) const
 

Private Member Functions

std::weak_ptr< iv::logs::DownloadLogsgetLog (uint64_t indRow) const
 

Private Attributes

std::weak_ptr< std::vector< std::shared_ptr< iv::logs::DownloadLoggerInfo > > > m_downloadLogsRef
 
std::shared_ptr< std::mutex > m_mutex
 
std::vector< std::vector< std::weak_ptr< iv::logs::DownloadLogs > > > m_flattenedLogs
 

Constructor & Destructor Documentation

◆ ModelTreeDownloadLogs()

iv::panels::editor::ModelTreeDownloadLogs::ModelTreeDownloadLogs ( const std::shared_ptr< std::vector< std::shared_ptr< iv::logs::DownloadLoggerInfo > > > & downloadLogs,
const std::shared_ptr< std::mutex > & mutex )
explicit

Member Function Documentation

◆ addColumns()

void iv::panels::editor::ModelTreeDownloadLogs::addColumns ( CTree * tree)
overridevirtual

Implements IModelTree.

◆ getDataCell()

std::shared_ptr< CDataList > iv::panels::editor::ModelTreeDownloadLogs::getDataCell ( uint64_t indRow,
uint64_t indColumn ) const
nodiscardoverridevirtual

Implements IModelTree.

◆ getLog()

std::weak_ptr< iv::logs::DownloadLogs > iv::panels::editor::ModelTreeDownloadLogs::getLog ( uint64_t indRow) const
private

◆ getParentRow()

uint64_t iv::panels::editor::ModelTreeDownloadLogs::getParentRow ( uint64_t indRow) const
nodiscardoverridevirtual

Implements IModelTree.

◆ hasBackground()

bool iv::panels::editor::ModelTreeDownloadLogs::hasBackground ( uint64_t indRow,
uint64_t indColumn,
iv::types::color * rgbBackground ) const
overridevirtual

Reimplemented from IModelTree.

◆ hasForeground()

virtual bool IModelTree::hasForeground ( uint64_t indRow,
uint64_t indColumn,
iv::types::color * rgbForeground ) const
inlinevirtualinherited

◆ isCellActive()

virtual bool IModelTree::isCellActive ( uint64_t indRow,
uint64_t indCol ) const
inlinenodiscardvirtualinherited

◆ numRows()

uint64_t iv::panels::editor::ModelTreeDownloadLogs::numRows ( ) const
nodiscardoverridevirtual

Implements IModelTree.

Member Data Documentation

◆ m_downloadLogsRef

std::weak_ptr<std::vector<std::shared_ptr<iv::logs::DownloadLoggerInfo> > > iv::panels::editor::ModelTreeDownloadLogs::m_downloadLogsRef
private

◆ m_flattenedLogs

std::vector<std::vector<std::weak_ptr<iv::logs::DownloadLogs> > > iv::panels::editor::ModelTreeDownloadLogs::m_flattenedLogs
mutableprivate

◆ m_mutex

std::shared_ptr<std::mutex> iv::panels::editor::ModelTreeDownloadLogs::m_mutex
private

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