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

◆ __init__()

def rqt_console.message.Message.__init__ (   self)

Definition at line 56 of file message.py.

Member Function Documentation

◆ _get_stamp()

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

Definition at line 76 of file message.py.

◆ _get_stamp_as_qdatetime()

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

Definition at line 107 of file message.py.

◆ _set_stamp()

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.

◆ get_stamp_as_qdatetime()

def rqt_console.message.Message.get_stamp_as_qdatetime (   self)

Definition at line 104 of file message.py.

◆ get_stamp_for_compare()

def rqt_console.message.Message.get_stamp_for_compare (   self)

Definition at line 101 of file message.py.

◆ get_stamp_string()

def rqt_console.message.Message.get_stamp_string (   self)

Definition at line 115 of file message.py.

◆ pretty_print()

def rqt_console.message.Message.pretty_print (   self)

Definition at line 123 of file message.py.

◆ set_stamp_format()

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

Definition at line 118 of file message.py.

Member Data Documentation

◆ __stamp

rqt_console.message.Message.__stamp
private

Definition at line 64 of file message.py.

◆ _next_id

int rqt_console.message.Message._next_id = 1
staticprivate

Definition at line 54 of file message.py.

◆ _stamp_compare

rqt_console.message.Message._stamp_compare
private

Definition at line 68 of file message.py.

◆ _stamp_format

rqt_console.message.Message._stamp_format
private

Definition at line 71 of file message.py.

◆ _stamp_qdatetime

rqt_console.message.Message._stamp_qdatetime
private

Definition at line 69 of file message.py.

◆ _stamp_string

rqt_console.message.Message._stamp_string
private

Definition at line 72 of file message.py.

◆ DEBUG

int rqt_console.message.Message.DEBUG = 1
static

Definition at line 40 of file message.py.

◆ ERROR

int rqt_console.message.Message.ERROR = 8
static

Definition at line 43 of file message.py.

◆ FATAL

int rqt_console.message.Message.FATAL = 16
static

Definition at line 44 of file message.py.

◆ highlighted

rqt_console.message.Message.highlighted

Definition at line 74 of file message.py.

◆ id

rqt_console.message.Message.id

Definition at line 58 of file message.py.

◆ INFO

int rqt_console.message.Message.INFO = 2
static

Definition at line 41 of file message.py.

◆ location

rqt_console.message.Message.location

Definition at line 66 of file message.py.

◆ message

rqt_console.message.Message.message

Definition at line 61 of file message.py.

◆ node

rqt_console.message.Message.node

Definition at line 63 of file message.py.

◆ severity

rqt_console.message.Message.severity

Definition at line 62 of file message.py.

◆ SEVERITY_LABELS

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

Definition at line 46 of file message.py.

◆ topics

rqt_console.message.Message.topics

Definition at line 65 of file message.py.

◆ WARN

int rqt_console.message.Message.WARN = 4
static

Definition at line 42 of file message.py.

Property Documentation

◆ stamp

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 Oct 15 2023 02:24:45