#include <node_list_model.h>
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_ |
LogDatabase * | db_ |
std::vector< std::string > | ordering_ |
Definition at line 42 of file node_list_model.h.
Definition at line 39 of file node_list_model.cpp.
Definition at line 49 of file node_list_model.cpp.
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 | ( | ) | [private, slot] |
Definition at line 99 of file node_list_model.cpp.
void swri_console::NodeListModel::handleMessagesAdded | ( | ) | [private, slot] |
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.
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.