Classes | Public Types | Public Slots | Signals | Public Member Functions | Private Member Functions | Private Attributes
swri_console::LogDatabaseProxyModel Class Reference

#include <log_database_proxy_model.h>

List of all members.

Classes

struct  LineMap

Public Types

enum  { ExtendedLogRole = Qt::UserRole + 0 }

Public Slots

void handleDatabaseCleared ()
void minTimeUpdated ()
void processNewMessages ()
void processOldMessages ()
void setAbsoluteTime (bool absolute)
void setColorizeLogs (bool colorize_logs)
void setDisplayTime (bool display)
void setUseRegularExpressions (bool useRegexps)

Signals

void messagesAdded ()

Public Member Functions

void clearSearchFailure ()
virtual QVariant data (const QModelIndex &index, int role) const
int getItemIndex (const QString searchText, int index, int increment)
bool isExcludeValid () const
bool isIncludeValid () const
 LogDatabaseProxyModel (LogDatabase *db)
void reset ()
virtual int rowCount (const QModelIndex &parent) const
void saveToFile (const QString &filename) const
void setDebugColor (const QColor &debug_color)
void setErrorColor (const QColor &error_color)
void setExcludeFilters (const QStringList &list)
void setExcludeRegexpPattern (const QString &pattern)
void setFatalColor (const QColor &fatal_color)
void setIncludeFilters (const QStringList &list)
void setIncludeRegexpPattern (const QString &pattern)
void setInfoColor (const QColor &info_color)
void setNodeFilter (const std::set< std::string > &names)
void setSeverityFilter (uint8_t severity_mask)
void setWarnColor (const QColor &warn_color)
 ~LogDatabaseProxyModel ()

Private Member Functions

bool acceptLogEntry (const LogEntry &item)
void saveBagFile (const QString &filename) const
void saveTextFile (const QString &filename) const
void scheduleIdleProcessing ()
bool testIncludeFilter (const LogEntry &item)

Private Attributes

bool colorize_logs_
LogDatabasedb_
QColor debug_color_
bool display_absolute_time_
bool display_time_
size_t earliest_log_index_
std::deque< LineMapearly_mapping_
QColor error_color_
QRegExp exclude_regexp_
QStringList exclude_strings_
int failedSearchIndex_
QString failedSearchText_
QColor fatal_color_
QRegExp include_regexp_
QStringList include_strings_
QColor info_color_
size_t latest_log_index_
std::deque< LineMapmsg_mapping_
std::set< std::string > names_
uint8_t severity_mask_
bool use_regular_expressions_
QColor warn_color_

Detailed Description

Definition at line 49 of file log_database_proxy_model.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
ExtendedLogRole 

Definition at line 54 of file log_database_proxy_model.h.


Constructor & Destructor Documentation

Definition at line 51 of file log_database_proxy_model.cpp.

Definition at line 75 of file log_database_proxy_model.cpp.


Member Function Documentation

Definition at line 646 of file log_database_proxy_model.cpp.

Definition at line 325 of file log_database_proxy_model.cpp.

QVariant swri_console::LogDatabaseProxyModel::data ( const QModelIndex &  index,
int  role 
) const [virtual]

Definition at line 332 of file log_database_proxy_model.cpp.

int swri_console::LogDatabaseProxyModel::getItemIndex ( const QString  searchText,
int  index,
int  increment 
)

Definition at line 256 of file log_database_proxy_model.cpp.

Definition at line 555 of file log_database_proxy_model.cpp.

Definition at line 244 of file log_database_proxy_model.cpp.

Definition at line 236 of file log_database_proxy_model.cpp.

Definition at line 700 of file log_database_proxy_model.cpp.

Definition at line 561 of file log_database_proxy_model.cpp.

Definition at line 594 of file log_database_proxy_model.cpp.

Definition at line 480 of file log_database_proxy_model.cpp.

int swri_console::LogDatabaseProxyModel::rowCount ( const QModelIndex &  parent) const [virtual]

Definition at line 226 of file log_database_proxy_model.cpp.

void swri_console::LogDatabaseProxyModel::saveBagFile ( const QString &  filename) const [private]

Definition at line 502 of file log_database_proxy_model.cpp.

void swri_console::LogDatabaseProxyModel::saveTextFile ( const QString &  filename) const [private]

Definition at line 541 of file log_database_proxy_model.cpp.

void swri_console::LogDatabaseProxyModel::saveToFile ( const QString &  filename) const

Definition at line 492 of file log_database_proxy_model.cpp.

Definition at line 637 of file log_database_proxy_model.cpp.

Definition at line 91 of file log_database_proxy_model.cpp.

void swri_console::LogDatabaseProxyModel::setColorizeLogs ( bool  colorize_logs) [slot]

Definition at line 108 of file log_database_proxy_model.cpp.

void swri_console::LogDatabaseProxyModel::setDebugColor ( const QColor &  debug_color)

Definition at line 186 of file log_database_proxy_model.cpp.

Definition at line 123 of file log_database_proxy_model.cpp.

void swri_console::LogDatabaseProxyModel::setErrorColor ( const QColor &  error_color)

Definition at line 210 of file log_database_proxy_model.cpp.

void swri_console::LogDatabaseProxyModel::setExcludeFilters ( const QStringList &  list)

Definition at line 160 of file log_database_proxy_model.cpp.

Definition at line 178 of file log_database_proxy_model.cpp.

void swri_console::LogDatabaseProxyModel::setFatalColor ( const QColor &  fatal_color)

Definition at line 218 of file log_database_proxy_model.cpp.

void swri_console::LogDatabaseProxyModel::setIncludeFilters ( const QStringList &  list)

Definition at line 151 of file log_database_proxy_model.cpp.

Definition at line 170 of file log_database_proxy_model.cpp.

void swri_console::LogDatabaseProxyModel::setInfoColor ( const QColor &  info_color)

Definition at line 194 of file log_database_proxy_model.cpp.

void swri_console::LogDatabaseProxyModel::setNodeFilter ( const std::set< std::string > &  names)

Definition at line 79 of file log_database_proxy_model.cpp.

Definition at line 85 of file log_database_proxy_model.cpp.

Definition at line 139 of file log_database_proxy_model.cpp.

void swri_console::LogDatabaseProxyModel::setWarnColor ( const QColor &  warn_color)

Definition at line 202 of file log_database_proxy_model.cpp.

Definition at line 681 of file log_database_proxy_model.cpp.


Member Data Documentation

Definition at line 107 of file log_database_proxy_model.h.

Definition at line 140 of file log_database_proxy_model.h.

Definition at line 135 of file log_database_proxy_model.h.

Definition at line 109 of file log_database_proxy_model.h.

Definition at line 108 of file log_database_proxy_model.h.

Definition at line 127 of file log_database_proxy_model.h.

Definition at line 128 of file log_database_proxy_model.h.

Definition at line 138 of file log_database_proxy_model.h.

Definition at line 131 of file log_database_proxy_model.h.

Definition at line 133 of file log_database_proxy_model.h.

Definition at line 143 of file log_database_proxy_model.h.

Definition at line 142 of file log_database_proxy_model.h.

Definition at line 139 of file log_database_proxy_model.h.

Definition at line 130 of file log_database_proxy_model.h.

Definition at line 132 of file log_database_proxy_model.h.

Definition at line 136 of file log_database_proxy_model.h.

Definition at line 124 of file log_database_proxy_model.h.

Definition at line 125 of file log_database_proxy_model.h.

Definition at line 105 of file log_database_proxy_model.h.

Definition at line 106 of file log_database_proxy_model.h.

Definition at line 110 of file log_database_proxy_model.h.

Definition at line 137 of file log_database_proxy_model.h.


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


swri_console
Author(s): Elliot Johnson
autogenerated on Tue Sep 12 2017 03:09:35