Public Slots | Public Member Functions | Private Slots | Private Attributes | List of all members
swri_console::NodeListModel Class Reference

#include <node_list_model.h>

Inheritance diagram for swri_console::NodeListModel:
Inheritance graph
[legend]

Public Slots

void clear ()
 

Public Member Functions

virtual QVariant data (const QModelIndex &index, int role) const
 
 NodeListModel (LogDatabase *db)
 
std::string nodeName (const QModelIndex &index) const
 
virtual int rowCount (const QModelIndex &parent) const
 
 ~NodeListModel ()
 

Private Slots

void handleDatabaseCleared ()
 
void handleMessagesAdded ()
 

Private Attributes

std::map< std::string, size_t > data_
 
LogDatabasedb_
 
std::vector< std::string > ordering_
 

Detailed Description

Definition at line 42 of file node_list_model.h.

Constructor & Destructor Documentation

◆ NodeListModel()

swri_console::NodeListModel::NodeListModel ( LogDatabase db)

Definition at line 39 of file node_list_model.cpp.

◆ ~NodeListModel()

swri_console::NodeListModel::~NodeListModel ( )

Definition at line 49 of file node_list_model.cpp.

Member Function Documentation

◆ clear

void swri_console::NodeListModel::clear ( )
slot

Definition at line 88 of file node_list_model.cpp.

◆ data()

QVariant swri_console::NodeListModel::data ( const QModelIndex &  index,
int  role 
) const
virtual

Definition at line 68 of file node_list_model.cpp.

◆ handleDatabaseCleared

void swri_console::NodeListModel::handleDatabaseCleared ( )
privateslot

Definition at line 99 of file node_list_model.cpp.

◆ handleMessagesAdded

void swri_console::NodeListModel::handleMessagesAdded ( )
privateslot

Definition at line 114 of file node_list_model.cpp.

◆ nodeName()

std::string swri_console::NodeListModel::nodeName ( const QModelIndex &  index) const

Definition at line 58 of file node_list_model.cpp.

◆ rowCount()

int swri_console::NodeListModel::rowCount ( const QModelIndex &  parent) const
virtual

Definition at line 53 of file node_list_model.cpp.

Member Data Documentation

◆ data_

std::map<std::string, size_t> swri_console::NodeListModel::data_
private

Definition at line 65 of file node_list_model.h.

◆ db_

LogDatabase* swri_console::NodeListModel::db_
private

Definition at line 63 of file node_list_model.h.

◆ ordering_

std::vector<std::string> swri_console::NodeListModel::ordering_
private

Definition at line 66 of file node_list_model.h.


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


swri_console
Author(s): P. J. Reed , Jerry Towler , David Anthony
autogenerated on Sat Sep 23 2023 02:55:37