Public Member Functions | Public Attributes
mongodb_log.MongoWriter Class Reference
Inheritance diagram for mongodb_log.MongoWriter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def create_worker
def expand_regex_to_topics
def fill_in_topics
def get_memory_usage
def get_memory_usage_for_pid
def run
def shutdown
def start_all_topics_timer
def start_fill_in_topics_timer
def subscribe_topics
def update_topics

Public Attributes

 all_topics
 all_topics_interval
 all_topics_timer
 collnames
 drop_counter
 exclude_already
 exclude_regex
 exclude_topics
 fill_in_topics_timer
 in_counter
 missing_topics
 mongodb_collection
 mongodb_host
 mongodb_name
 mongodb_port
 no_specific
 nodename_prefix
 out_counter
 quit
 ros_master
 sep
 topics
 workers

Detailed Description

Definition at line 353 of file mongodb_log.py.


Constructor & Destructor Documentation

def mongodb_log.MongoWriter.__init__ (   self,
  topics = [],
  treat_as_regex = False,
  all_topics = False,
  all_topics_interval = 5,
  exclude_topics = [],
  mongodb_host = None,
  mongodb_port = None,
  mongodb_name = "roslog",
  mongodb_collection = None,
  no_specific = False,
  nodename_prefix = "" 
)

Definition at line 354 of file mongodb_log.py.


Member Function Documentation

def mongodb_log.MongoWriter.create_worker (   self,
  idnum,
  topic,
  collname 
)

Definition at line 457 of file mongodb_log.py.

def mongodb_log.MongoWriter.expand_regex_to_topics (   self,
  topics 
)

Definition at line 401 of file mongodb_log.py.

def mongodb_log.MongoWriter.fill_in_topics (   self,
  restart = True 
)
Called at a fixed interval (see start_all_topics_timer) to update the list of topics if we are logging all topics (e.g. --all-topics flag is given).

Definition at line 559 of file mongodb_log.py.

Definition at line 592 of file mongodb_log.py.

Definition at line 568 of file mongodb_log.py.

Definition at line 513 of file mongodb_log.py.

Definition at line 528 of file mongodb_log.py.

Definition at line 536 of file mongodb_log.py.

Definition at line 541 of file mongodb_log.py.

def mongodb_log.MongoWriter.subscribe_topics (   self,
  topics 
)

Definition at line 409 of file mongodb_log.py.

def mongodb_log.MongoWriter.update_topics (   self,
  restart = True 
)
Called at a fixed interval (see start_all_topics_timer) to update the list of topics if we are logging all topics (e.g. --all-topics flag is given).

Definition at line 548 of file mongodb_log.py.


Member Data Documentation

Definition at line 354 of file mongodb_log.py.

Definition at line 354 of file mongodb_log.py.

Definition at line 536 of file mongodb_log.py.

Definition at line 354 of file mongodb_log.py.

Definition at line 354 of file mongodb_log.py.

Definition at line 354 of file mongodb_log.py.

Definition at line 354 of file mongodb_log.py.

Definition at line 354 of file mongodb_log.py.

Definition at line 541 of file mongodb_log.py.

Definition at line 354 of file mongodb_log.py.

Definition at line 354 of file mongodb_log.py.

Definition at line 354 of file mongodb_log.py.

Definition at line 354 of file mongodb_log.py.

Definition at line 354 of file mongodb_log.py.

Definition at line 354 of file mongodb_log.py.

Definition at line 354 of file mongodb_log.py.

Definition at line 354 of file mongodb_log.py.

Definition at line 354 of file mongodb_log.py.

Definition at line 354 of file mongodb_log.py.

Definition at line 354 of file mongodb_log.py.

Definition at line 354 of file mongodb_log.py.

Definition at line 354 of file mongodb_log.py.

Definition at line 354 of file mongodb_log.py.


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


jsk_pr2_startup
Author(s):
autogenerated on Sat Jul 1 2017 02:43:24