Public Member Functions | Static Public Attributes | List of all members
jsk_topic_tools.log_utils.LoggingThrottle Class Reference
Inheritance diagram for jsk_topic_tools.log_utils.LoggingThrottle:
Inheritance graph
[legend]

Public Member Functions

def __call__ (self, id, logging_func, period, msg)
 

Static Public Attributes

dictionary last_logging_time_table = {}
 

Detailed Description

Definition at line 47 of file log_utils.py.

Member Function Documentation

def jsk_topic_tools.log_utils.LoggingThrottle.__call__ (   self,
  id,
  logging_func,
  period,
  msg 
)
Do logging specified message periodically.

- id (str): Id to identify the caller
- logging_func (function): Function to do logging.
- period (float): Period to do logging in second unit.
- msg (object): Message to do logging.

Definition at line 51 of file log_utils.py.

Member Data Documentation

dictionary jsk_topic_tools.log_utils.LoggingThrottle.last_logging_time_table = {}
static

Definition at line 49 of file log_utils.py.


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


jsk_topic_tools
Author(s): Kei Okada , Yusuke Furuta
autogenerated on Tue Feb 6 2018 03:45:19