Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
rqt_console.message_data_model.MessageDataModel Class Reference
Inheritance diagram for rqt_console.message_data_model.MessageDataModel:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def columnCount
def data
def get_message_between
def get_message_limit
def get_selected_text
def get_severity_dict
def get_time_range
def get_unique_nodes
def get_unique_severities
def get_unique_topics
def headerData
def insert_rows
def remove_rows
def rowCount
def set_message_limit

Static Public Attributes

list columns = ['message', 'severity', 'node', 'stamp', 'topics', 'location']
dictionary severity_colors

Private Member Functions

def _enforce_message_limit

Private Attributes

 _error_icon
 _info_icon
 _message_limit
 _messages
 _warning_icon

Detailed Description

Definition at line 40 of file message_data_model.py.


Constructor & Destructor Documentation

Definition at line 53 of file message_data_model.py.


Member Function Documentation

Definition at line 149 of file message_data_model.py.

Definition at line 66 of file message_data_model.py.

def rqt_console.message_data_model.MessageDataModel.data (   self,
  index,
  role = None 
)

Definition at line 69 of file message_data_model.py.

def rqt_console.message_data_model.MessageDataModel.get_message_between (   self,
  start_time,
  end_time = None 
)
:param start_time: time to start in timestamp form (including decimal
fractions of a second is acceptable, ''unixtimestamp''
:param end_time: time to end in timestamp form (including decimal
fractions of a second is acceptable, ''unixtimestamp'' (Optional)
:returns: list of messages in the time range ''list[message]''

Definition at line 254 of file message_data_model.py.

Definition at line 142 of file message_data_model.py.

Returns an easily readable block of text for the currently selected rows
:param rowlist: list of row indexes, ''list(int)''
:returns: the text from those indexes, ''str''

Definition at line 203 of file message_data_model.py.

Definition at line 251 of file message_data_model.py.

:param rowlist: a list of row indexes, ''list''
:returns: a tuple of min and max times in a rowlist in '(unix timestamp).(fraction of second)' format, ''tuple(str,str)''

Definition at line 217 of file message_data_model.py.

Definition at line 232 of file message_data_model.py.

Definition at line 238 of file message_data_model.py.

Definition at line 244 of file message_data_model.py.

def rqt_console.message_data_model.MessageDataModel.headerData (   self,
  section,
  orientation,
  role = None 
)

Definition at line 125 of file message_data_model.py.

Definition at line 155 of file message_data_model.py.

:param rowlist: list of row indexes, ''list(int)''
:returns: True if the indexes were removed successfully, ''bool''

Definition at line 167 of file message_data_model.py.

def rqt_console.message_data_model.MessageDataModel.rowCount (   self,
  parent = None 
)

Definition at line 63 of file message_data_model.py.

Definition at line 145 of file message_data_model.py.


Member Data Documentation

Definition at line 53 of file message_data_model.py.

Definition at line 53 of file message_data_model.py.

Definition at line 53 of file message_data_model.py.

Definition at line 53 of file message_data_model.py.

Definition at line 53 of file message_data_model.py.

list rqt_console::message_data_model.MessageDataModel::columns = ['message', 'severity', 'node', 'stamp', 'topics', 'location'] [static]

Definition at line 43 of file message_data_model.py.

Initial value:
{
        Message.DEBUG: QBrush(Qt.darkCyan),
        Message.INFO: QBrush(Qt.darkBlue),
        Message.WARN: QBrush(Qt.darkYellow),
        Message.ERROR: QBrush(Qt.darkRed),
        Message.FATAL: QBrush(Qt.red),
    }

Definition at line 45 of file message_data_model.py.


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


rqt_console
Author(s): Aaron Blasdel
autogenerated on Wed May 3 2017 02:48:27