ipm::Interactive Class Reference
List of all members.
|
Public Member Functions |
|
def | __init__ |
| def | do_help |
| def | do_load |
| def | onecmd |
| def | run |
Public Attributes |
|
| prompt |
|
| conn |
|
| pic |
|
| stop |
Static Public Attributes |
|
tuple | ipmcommands = ("?", "help", "load",) |
Detailed Description
The interactive command line parser accepts typed input line-by-line.
If a statement requires multiple lines to complete, the input
is collected until two sequential end-of-line characters are received.
Member Function Documentation
| def ipm::Interactive::do_help |
( |
|
self, |
|
|
|
args | |
|
) |
| | |
| def ipm::Interactive::do_load |
( |
|
self, |
|
|
|
args | |
|
) |
| | |
Loads a module from the host to the target device.
| def ipm::Interactive::onecmd |
( |
|
self, |
|
|
|
line | |
|
) |
| | |
Gathers one interactive line of input (gets more lines as needed).
| def ipm::Interactive::run |
( |
|
self |
) |
|
Runs the command loop and handles keyboard interrupts (ctrl+C).
The command loop is what calls self.onecmd().
The documentation for this class was generated from the following file: