Enhancement #758

Refactor bag-cat to use same output mechanism as logger

Added by J. Moringen over 12 years ago. Updated over 12 years ago.

Status:ResolvedStart date:12/09/2011
Priority:NormalDue date:
Assignee:J. Moringen% Done:

100%

Category:-
Target version:Robotics Service Bus - 0.6

Description

There are two reasons for wanting this:
  • Avoids code duplication
  • Some of the output modes of the logger may be useful in bag-cat and vice-versa

Related issues

Related to RSBag - Feature #733: Configurable output for bag-cat Resolved 11/24/2011

Associated revisions

Revision 43cbd043
Added by J. Moringen over 12 years ago

Use cl-rsb-formatting in bag-cat tools
fixes #758
  • cl-rsbag-tools-cat.asd (system connection cl-rsbag-tools-cat): added
    system dependency on cl-rsb-formatting system
  • bag-cat/package.lisp (package rsbag.tools.cat): added used package
    rsb.formatting
  • bag-cat/main.lisp (output): removed; output mechanism form
    cl-rsb-formatting is used
    (output simple-array stream): likewise
    (output string stream): likewise
    (output event stream): likewise
    (make-examples-string): added example for style option
    (update-synopsis): removed entry-separator option; added style
    option
    (main): added processing of style option and use `format-event' from
    cl-rsb-formatting system

History

#1 Updated by J. Moringen over 12 years ago

  • Status changed from New to Resolved
  • % Done changed from 30 to 100

Applied in changeset r248.

Also available in: Atom PDF