oveRTOS C++ API
C++20 RAII wrappers for the oveRTOS C API
Loading...
Searching...
No Matches
Namespaces | Functions
shell.hpp File Reference

Interactive shell command registration. More...

#include <ove/shell.h>
#include <ove/types.hpp>
Include dependency graph for shell.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ove
 Top-level namespace for all oveRTOS C++ abstractions.
 
namespace  ove::shell
 Thin C++ wrappers around the oveRTOS interactive shell API.
 

Functions

int ove::shell::init ()
 Initialises the shell subsystem.
 
int ove::shell::register_cmd (const struct ove_shell_cmd *cmd)
 Registers a shell command.
 
void ove::shell::process_char (int c)
 Feeds a single character into the shell input processor.
 
void ove::shell::process_line (const char *line)
 Process a complete input line through the shell.
 
void ove::shell::set_output_hook (ove_shell_output_hook_t hook)
 Set a hook to capture shell output.
 

Detailed Description

Interactive shell command registration.