|
APM:Libraries
|
#include <Util.h>
Public Member Functions | |
| size_t | write (uint8_t) |
| size_t | write (const uint8_t *buffer, size_t size) |
| int16_t | read () override |
| uint32_t | available () override |
| uint32_t | txspace () override |
Public Member Functions inherited from AP_HAL::BetterStream | |
| virtual void | printf (const char *,...) FMT_PRINTF(2 |
| virtual void virtual void | vprintf (const char *, va_list) |
| void | print (const char *str) |
| void | println (const char *str) |
| size_t | write (const char *str) |
Private Member Functions | |
| void | start_shell (void) |
Static Private Member Functions | |
| static void | shell_thread (void *arg) |
Private Attributes | |
| int | shell_stdin = -1 |
| int | shell_stdout = -1 |
| pthread_t | shell_thread_ctx |
| struct { | |
| int in = -1 | |
| int out = -1 | |
| } | child |
| bool | showed_memory_warning = false |
| bool | showed_armed_warning = false |
|
overridevirtual |
Implements AP_HAL::BetterStream.
Definition at line 124 of file NSHShellStream.cpp.
|
overridevirtual |
Implements AP_HAL::BetterStream.
Definition at line 110 of file NSHShellStream.cpp.
|
staticprivate |
Definition at line 24 of file NSHShellStream.cpp.
Referenced by start_shell().
|
private |
Definition at line 42 of file NSHShellStream.cpp.
Referenced by read(), and write().
|
overridevirtual |
Implements AP_HAL::BetterStream.
Definition at line 133 of file NSHShellStream.cpp.
|
virtual |
Implements AP_HAL::BetterStream.
Definition at line 86 of file NSHShellStream.cpp.
Referenced by write().
|
virtual |
Reimplemented from AP_HAL::BetterStream.
Definition at line 97 of file NSHShellStream.cpp.
| struct { ... } VRBRAIN::NSHShellStream::child |
Referenced by shell_thread(), and start_shell().
| int VRBRAIN::NSHShellStream::in = -1 |
Definition at line 20 of file Util.h.
Referenced by shell_thread().
| int VRBRAIN::NSHShellStream::out = -1 |
Definition at line 21 of file Util.h.
Referenced by shell_thread().
|
private |
Definition at line 15 of file Util.h.
Referenced by available(), read(), shell_thread(), and start_shell().
|
private |
Definition at line 16 of file Util.h.
Referenced by shell_thread(), start_shell(), txspace(), and write().
|
private |
Definition at line 17 of file Util.h.
Referenced by start_shell().
|
private |
Definition at line 24 of file Util.h.
Referenced by start_shell().
|
private |
Definition at line 23 of file Util.h.
Referenced by start_shell().
1.8.13