Public Slots | Public Member Functions | Private Slots | Private Attributes
swri_console::NodeListModel Class Reference

#include <node_list_model.h>

List of all members.

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

Definition at line 39 of file node_list_model.cpp.

Definition at line 49 of file node_list_model.cpp.


Member Function Documentation

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.

Definition at line 99 of file node_list_model.cpp.

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.

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 Sat Jun 8 2019 18:46:13