Public Member Functions | Public Attributes | Static Public Attributes | Properties | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
rqt_console.message.Message Class Reference
Inheritance diagram for rqt_console.message.Message:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self)
 
def get_stamp_as_qdatetime (self)
 
def get_stamp_for_compare (self)
 
def get_stamp_string (self)
 
def pretty_print (self)
 
def set_stamp_format (self, format)
 

Public Attributes

 highlighted
 
 id
 
 location
 
 message
 
 node
 
 severity
 
 topics
 

Static Public Attributes

int DEBUG = 1
 
int ERROR = 8
 
int FATAL = 16
 
int INFO = 2
 
dictionary SEVERITY_LABELS
 
int WARN = 4
 

Properties

 stamp = property(_get_stamp, _set_stamp)
 

Private Member Functions

def _get_stamp (self)
 
def _get_stamp_as_qdatetime (self, stamp)
 
def _set_stamp (self, stamp)
 

Private Attributes

 __stamp
 
 _stamp_compare
 
 _stamp_format
 
 _stamp_qdatetime
 
 _stamp_string
 

Static Private Attributes

int _next_id = 1
 

Detailed Description

Definition at line 38 of file message.py.

Constructor & Destructor Documentation

def rqt_console.message.Message.__init__ (   self)

Definition at line 56 of file message.py.

Member Function Documentation

def rqt_console.message.Message._get_stamp (   self)
private

Definition at line 76 of file message.py.

def rqt_console.message.Message._get_stamp_as_qdatetime (   self,
  stamp 
)
private

Definition at line 107 of file message.py.

def rqt_console.message.Message._set_stamp (   self,
  stamp 
)
private
Update the string representation of the timestamp.
:param stamp: a tuple containing seconds and nano seconds

Definition at line 79 of file message.py.

def rqt_console.message.Message.get_stamp_as_qdatetime (   self)

Definition at line 104 of file message.py.

def rqt_console.message.Message.get_stamp_for_compare (   self)

Definition at line 101 of file message.py.

def rqt_console.message.Message.get_stamp_string (   self)

Definition at line 115 of file message.py.

def rqt_console.message.Message.pretty_print (   self)

Definition at line 123 of file message.py.

def rqt_console.message.Message.set_stamp_format (   self,
  format 
)

Definition at line 118 of file message.py.

Member Data Documentation

rqt_console.message.Message.__stamp
private

Definition at line 64 of file message.py.

int rqt_console.message.Message._next_id = 1
staticprivate

Definition at line 54 of file message.py.

rqt_console.message.Message._stamp_compare
private

Definition at line 68 of file message.py.

rqt_console.message.Message._stamp_format
private

Definition at line 71 of file message.py.

rqt_console.message.Message._stamp_qdatetime
private

Definition at line 69 of file message.py.

rqt_console.message.Message._stamp_string
private

Definition at line 72 of file message.py.

int rqt_console.message.Message.DEBUG = 1
static

Definition at line 40 of file message.py.

int rqt_console.message.Message.ERROR = 8
static

Definition at line 43 of file message.py.

int rqt_console.message.Message.FATAL = 16
static

Definition at line 44 of file message.py.

rqt_console.message.Message.highlighted

Definition at line 74 of file message.py.

rqt_console.message.Message.id

Definition at line 58 of file message.py.

int rqt_console.message.Message.INFO = 2
static

Definition at line 41 of file message.py.

rqt_console.message.Message.location

Definition at line 66 of file message.py.

rqt_console.message.Message.message

Definition at line 61 of file message.py.

rqt_console.message.Message.node

Definition at line 63 of file message.py.

rqt_console.message.Message.severity

Definition at line 62 of file message.py.

dictionary rqt_console.message.Message.SEVERITY_LABELS
static
Initial value:
1 = {
2  DEBUG: QCoreApplication.translate('Message', 'Debug'),
3  INFO: QCoreApplication.translate('Message', 'Info'),
4  WARN: QCoreApplication.translate('Message', 'Warn'),
5  ERROR: QCoreApplication.translate('Message', 'Error'),
6  FATAL: QCoreApplication.translate('Message', 'Fatal'),
7  }

Definition at line 46 of file message.py.

rqt_console.message.Message.topics

Definition at line 65 of file message.py.

int rqt_console.message.Message.WARN = 4
static

Definition at line 42 of file message.py.

Property Documentation

rqt_console.message.Message.stamp = property(_get_stamp, _set_stamp)
static

Definition at line 99 of file message.py.


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


rqt_console
Author(s): Aaron Blasdel
autogenerated on Sun May 24 2020 03:23:49