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

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


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

Constructor & Destructor Documentation

◆ __init__()

def rqt_logger_level.logger_level_service_caller.LoggerLevelServiceCaller.__init__ (   self)

Definition at line 47 of file

Member Function Documentation

◆ _refresh_loggers()

def rqt_logger_level.logger_level_service_caller.LoggerLevelServiceCaller._refresh_loggers (   self,
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

◆ get_levels()

def rqt_logger_level.logger_level_service_caller.LoggerLevelServiceCaller.get_levels (   self)

Definition at line 50 of file

◆ get_loggers()

def rqt_logger_level.logger_level_service_caller.LoggerLevelServiceCaller.get_loggers (   self,

Definition at line 53 of file

◆ 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

◆ send_logger_change_message()

def rqt_logger_level.logger_level_service_caller.LoggerLevelServiceCaller.send_logger_change_message (   self,
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

Member Data Documentation

◆ _current_levels


Definition at line 78 of file

◆ _current_loggers


Definition at line 77 of file

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

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