ipm::Interactive Class Reference
List of all members.
|
Public Member Functions |
def | __init__ |
def | do_help |
def | do_load |
def | onecmd |
def | run |
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.
Definition at line 183 of file ipm.py.
Member Function Documentation
def ipm::Interactive::do_help |
( |
|
self, |
|
|
|
args | |
|
) |
| | |
def ipm::Interactive::do_help |
( |
|
self, |
|
|
|
args | |
|
) |
| | |
def ipm::Interactive::do_load |
( |
|
self, |
|
|
|
args | |
|
) |
| | |
Loads a module from the host to the target device.
Definition at line 213 of file ipm.py.
def ipm::Interactive::do_load |
( |
|
self, |
|
|
|
args | |
|
) |
| | |
Loads a module from the host to the target device.
Definition at line 204 of file ipm.py.
def ipm::Interactive::onecmd |
( |
|
self, |
|
|
|
line | |
|
) |
| | |
Gathers one interactive line of input (gets more lines as needed).
Definition at line 237 of file ipm.py.
def ipm::Interactive::onecmd |
( |
|
self, |
|
|
|
line | |
|
) |
| | |
Gathers one interactive line of input (gets more lines as needed).
Definition at line 232 of file ipm.py.
def ipm::Interactive::run |
( |
|
self |
) |
|
Runs the command loop and handles keyboard interrupts (ctrl+C).
The command loop is what calls self.onecmd().
Definition at line 317 of file ipm.py.
def ipm::Interactive::run |
( |
|
self |
) |
|
Runs the command loop and handles keyboard interrupts (ctrl+C).
The command loop is what calls self.onecmd().
Definition at line 319 of file ipm.py.
The documentation for this class was generated from the following files: