dynamic_graph_manager
|
Public Member Functions | |
def | __init__ (self) |
Create a new completer for the command line. More... | |
def | complete (self, text, state) |
Return the next possible completion for 'text'.readline.parse_and_bind("tab: complete") More... | |
Public Attributes | |
client | |
buffer | |
def ros.dgcompleter.DGCompleter.__init__ | ( | self | ) |
Create a new completer for the command line.
Completer([client]) -> completer instance.
Client is a ROS proxy to dynamic_graph run_python_command service.
Completer instances should be used as the completion mechanism of readline via the set_completer() call:
readline.set_completer(Completer(client).complete)
def ros.dgcompleter.DGCompleter.complete | ( | self, | |
text, | |||
state | |||
) |
Return the next possible completion for 'text'.readline.parse_and_bind("tab: complete")
This is called successively with state == 0, 1, 2, ... until it returns None. The completion should begin with 'text'.