Public Member Functions | Private Member Functions | Private Attributes | List of all members
rqt_logger_level.logger_level_service_caller.LoggerLevelServiceCaller Class Reference
Inheritance diagram for rqt_logger_level.logger_level_service_caller.LoggerLevelServiceCaller:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self)
 
def get_levels (self)
 
def get_loggers (self, node)
 
def get_node_names (self)
 
def send_logger_change_message (self, node, logger, level)
 

Private Member Functions

def _refresh_loggers (self, node)
 

Private Attributes

 _current_levels
 
 _current_loggers
 

Detailed Description

Handles service calls for getting lists of nodes and loggers
Also handles sending requests to change logger levels

Definition at line 40 of file logger_level_service_caller.py.

Constructor & Destructor Documentation

◆ __init__()

def rqt_logger_level.logger_level_service_caller.LoggerLevelServiceCaller.__init__ (   self)

Definition at line 47 of file logger_level_service_caller.py.

Member Function Documentation

◆ _refresh_loggers()

def rqt_logger_level.logger_level_service_caller.LoggerLevelServiceCaller._refresh_loggers (   self,
  node 
)
private
Stores a list of loggers available for passed in node
:param node: name of the node to query, ''str''

Definition at line 72 of file logger_level_service_caller.py.

◆ get_levels()

def rqt_logger_level.logger_level_service_caller.LoggerLevelServiceCaller.get_levels (   self)

Definition at line 50 of file logger_level_service_caller.py.

◆ get_loggers()

def rqt_logger_level.logger_level_service_caller.LoggerLevelServiceCaller.get_loggers (   self,
  node 
)

Definition at line 53 of file logger_level_service_caller.py.

◆ get_node_names()

def rqt_logger_level.logger_level_service_caller.LoggerLevelServiceCaller.get_node_names (   self)
Gets a list of available services via a ros service call.
:returns: a list of all nodes that provide the set_logger_level service, ''list(str)''

Definition at line 59 of file logger_level_service_caller.py.

◆ send_logger_change_message()

def rqt_logger_level.logger_level_service_caller.LoggerLevelServiceCaller.send_logger_change_message (   self,
  node,
  logger,
  level 
)
Sends a logger level change request to 'node'.
:param node: name of the node to chaange, ''str''
:param logger: name of the logger to change, ''str''
:param level: name of the level to change, ''str''
:returns: True if the response is valid, ''bool''
:returns: False if the request raises an exception or would not change the cached state, ''bool''

Definition at line 103 of file logger_level_service_caller.py.

Member Data Documentation

◆ _current_levels

rqt_logger_level.logger_level_service_caller.LoggerLevelServiceCaller._current_levels
private

Definition at line 78 of file logger_level_service_caller.py.

◆ _current_loggers

rqt_logger_level.logger_level_service_caller.LoggerLevelServiceCaller._current_loggers
private

Definition at line 77 of file logger_level_service_caller.py.


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


rqt_logger_level
Author(s): Aaron Blasdel
autogenerated on Mon Feb 28 2022 23:36:33