Public Member Functions | |
def | __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="") |
def | create_worker (self, idnum, topic, collname) |
def | expand_regex_to_topics (self, topics) |
def | fill_in_topics (self, restart=True) |
def | get_memory_usage (self) |
def | get_memory_usage_for_pid (self, pid) |
def | run (self) |
def | shutdown (self) |
def | start_all_topics_timer (self) |
def | start_fill_in_topics_timer (self) |
def | subscribe_topics (self, topics) |
def | update_topics (self, restart=True) |
Definition at line 353 of file mongodb_log.py.
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 358 of file mongodb_log.py.
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.
def mongodb_log.MongoWriter.get_memory_usage | ( | self | ) |
Definition at line 592 of file mongodb_log.py.
def mongodb_log.MongoWriter.get_memory_usage_for_pid | ( | self, | |
pid | |||
) |
Definition at line 568 of file mongodb_log.py.
def mongodb_log.MongoWriter.run | ( | self | ) |
Definition at line 513 of file mongodb_log.py.
def mongodb_log.MongoWriter.shutdown | ( | self | ) |
Definition at line 528 of file mongodb_log.py.
def mongodb_log.MongoWriter.start_all_topics_timer | ( | self | ) |
Definition at line 536 of file mongodb_log.py.
def mongodb_log.MongoWriter.start_fill_in_topics_timer | ( | self | ) |
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.
mongodb_log.MongoWriter.all_topics |
Definition at line 359 of file mongodb_log.py.
mongodb_log.MongoWriter.all_topics_interval |
Definition at line 360 of file mongodb_log.py.
mongodb_log.MongoWriter.all_topics_timer |
Definition at line 538 of file mongodb_log.py.
mongodb_log.MongoWriter.collnames |
Definition at line 370 of file mongodb_log.py.
mongodb_log.MongoWriter.drop_counter |
Definition at line 375 of file mongodb_log.py.
mongodb_log.MongoWriter.exclude_already |
Definition at line 385 of file mongodb_log.py.
mongodb_log.MongoWriter.exclude_regex |
Definition at line 382 of file mongodb_log.py.
mongodb_log.MongoWriter.exclude_topics |
Definition at line 361 of file mongodb_log.py.
mongodb_log.MongoWriter.fill_in_topics_timer |
Definition at line 543 of file mongodb_log.py.
mongodb_log.MongoWriter.in_counter |
Definition at line 373 of file mongodb_log.py.
mongodb_log.MongoWriter.missing_topics |
Definition at line 390 of file mongodb_log.py.
mongodb_log.MongoWriter.mongodb_collection |
Definition at line 365 of file mongodb_log.py.
mongodb_log.MongoWriter.mongodb_host |
Definition at line 362 of file mongodb_log.py.
mongodb_log.MongoWriter.mongodb_name |
Definition at line 364 of file mongodb_log.py.
mongodb_log.MongoWriter.mongodb_port |
Definition at line 363 of file mongodb_log.py.
mongodb_log.MongoWriter.no_specific |
Definition at line 366 of file mongodb_log.py.
mongodb_log.MongoWriter.nodename_prefix |
Definition at line 367 of file mongodb_log.py.
mongodb_log.MongoWriter.out_counter |
Definition at line 374 of file mongodb_log.py.
mongodb_log.MongoWriter.quit |
Definition at line 368 of file mongodb_log.py.
mongodb_log.MongoWriter.ros_master |
Definition at line 396 of file mongodb_log.py.
mongodb_log.MongoWriter.sep |
Definition at line 372 of file mongodb_log.py.
mongodb_log.MongoWriter.topics |
Definition at line 369 of file mongodb_log.py.
mongodb_log.MongoWriter.workers |
Definition at line 376 of file mongodb_log.py.