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

swri_console::NodeListModel::NodeListModel ( LogDatabase db)

Definition at line 39 of file node_list_model.cpp.

swri_console::NodeListModel::~NodeListModel ( )

Definition at line 49 of file node_list_model.cpp.

Member Function Documentation

void swri_console::NodeListModel::clear ( )
slot

Definition at line 88 of file node_list_model.cpp.

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

Definition at line 68 of file node_list_model.cpp.

void swri_console::NodeListModel::handleDatabaseCleared ( )
privateslot

Definition at line 99 of file node_list_model.cpp.

void swri_console::NodeListModel::handleMessagesAdded ( )
privateslot

Definition at line 114 of file node_list_model.cpp.

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

Definition at line 58 of file node_list_model.cpp.

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

Definition at line 53 of file node_list_model.cpp.

Member Data Documentation

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

Definition at line 65 of file node_list_model.h.

LogDatabase* swri_console::NodeListModel::db_
private

Definition at line 63 of file node_list_model.h.

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):
autogenerated on Fri Apr 3 2020 03:20:03