Feature #2347

Add isopen() and isrecording() methods to remote interface

Added by P. Holthaus almost 9 years ago. Updated almost 9 years ago.

Status:ResolvedStart date:07/21/2015
Priority:NormalDue date:
Assignee:J. Moringen% Done:

100%

Category:Remote Interface
Target version:Robotics Service Bus - rsb-0.13

Description

Currently, rsbag has the following remotely accessible methods (when started with the -c flag):

void:start()
void:stop()
void:open(string)
void:close()
void:terminate()

In order to determine, whether a file is currently opened or written to, please add the following methods:

# return the currently open filename, or null if nothing is open
string:isopen()

# return if the logger has been started already
bool:isstarted()

Associated revisions

Revision c6c17778
Added by J. Moringen almost 9 years ago

Mention is{started,open} methods in tool-record.rst

fixes #2347

  • tool-record.rst (Remote Control): mention is{started,open} methods

Revision 61bf2e21
Added by J. Moringen almost 9 years ago

Added is{open,started} remote interface methods in src/commands/record.lisp

fixes #2347

  • src/commands/record.lisp (record): mention new "isstarted" and
    "isopen" methods in documentation string
    (call-with-control-service): added "isstarted" and "isopen" methods

Revision b77efdc2
Added by J. Moringen over 8 years ago

Backport: Added is{open,started} remote interface methods in src/commands/record.lisp

refs #2347

  • src/commands/record.lisp (record): mention new "isstarted" and
    "isopen" methods in documentation string
    (call-with-control-service): added "isstarted" and "isopen" methods

(cherry picked from commit 61bf2e21a55ce49086ab21a56cfaa0c4eb20a108)

Revision 487c61f1
Added by J. Moringen over 8 years ago

Added is{started,open} to synopsis in bag-record/main.lisp

refs #2347

  • bag-record/main.lisp (update-synopsis): added descriptions of
    is{started,open} methods

Revision 9ef3be95
Added by J. Moringen over 8 years ago

Mention is{open,started} methods in news.rst

refs #2347

  • news.rst (RSBag 0.13): mention methods is{open,started} that have been
    added to the remote interface

History

#1 Updated by J. Moringen almost 9 years ago

  • Project changed from Robotics Service Bus to RSBag
  • Subject changed from implement isopen() and isrecording() methods in rsbag to Add isopen() and isrecording() methods to remote interface
  • Category changed from C++ Tools to Remote Interface
  • Assignee set to J. Moringen
  • Target version set to rsb-0.13

#2 Updated by J. Moringen almost 9 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50

#3 Updated by J. Moringen almost 9 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 50 to 100

Also available in: Atom PDF