|
Radix Relay
Hybrid mesh communications with Signal Protocol encryption
|
Text-based user interface processor with REPL. More...
#include <processor.hpp>
Public Member Functions | |
| processor (std::string node_id, std::string mode, const std::shared_ptr< Bridge > &bridge, const std::shared_ptr< async::async_queue< core::events::raw_command > > &command_queue, const std::shared_ptr< async::async_queue< core::events::display_message > > &display_queue) | |
| Constructs a TUI processor. | |
| ~processor () | |
| processor (const processor &)=delete | |
| auto | operator= (const processor &) -> processor &=delete |
| processor (processor &&)=delete | |
| auto | operator= (processor &&) -> processor &=delete |
| auto | run () -> void |
| Runs the interactive REPL loop. | |
| auto | stop () -> void |
| Stops the TUI processor and message polling thread. | |
| auto | get_mode () const -> const std::string & |
| Returns the current network mode. | |
Text-based user interface processor with REPL.
| Bridge | Type satisfying the signal_bridge concept |
Provides an interactive command-line interface using Replxx for command input, history management, and display message output.
Definition at line 23 of file processor.hpp.
|
inline |
Constructs a TUI processor.
| node_id | Node identifier for display |
| mode | Network mode (internet/mesh/hybrid) |
| bridge | Signal Protocol bridge |
| command_queue | Queue for outgoing user commands |
| display_queue | Queue for incoming display messages |
Definition at line 34 of file processor.hpp.
|
inline |
Definition at line 43 of file processor.hpp.
References radix_relay::tui::processor< Bridge >::stop().
|
delete |
|
delete |
|
inline |
Returns the current network mode.
Definition at line 119 of file processor.hpp.
|
delete |
|
delete |
|
inline |
Runs the interactive REPL loop.
Starts message polling thread and processes user input until quit command.
Definition at line 55 of file processor.hpp.
|
inline |
Stops the TUI processor and message polling thread.
Definition at line 107 of file processor.hpp.
Referenced by radix_relay::tui::processor< Bridge >::~processor().