35 [[nodiscard]]
args_manager *get_args_manager()
const noexcept {
return _args; }
43 [[nodiscard]]
grid_manager *get_grid_manager()
const noexcept {
return _grid_manager; }
62 [[nodiscard]]
randomizer *get_rng()
const noexcept {
return _rng; }
70 [[nodiscard]]
const std::string *get_raw_input()
const noexcept {
return _raw_input; }
72 context &with_raw_input(
const std::string &raw_input)
noexcept
74 _raw_input = &raw_input;
83 const std::string *_raw_input{};
93 [[nodiscard]] std::string_view
apply(std::string_view unformatted_sv)
noexcept override;
100 void register_states() const noexcept;
107 [[nodiscard]] std::string_view visit_states(const std::optional<
args> &arguments) noexcept;
115 std::mutex m_logging_mtx;
116 std::vector<std::
string> m_received_logs;
118 std::
string m_last_result;
119 std::
string m_current_input;
120 grid_identifier m_last_grid_id{grid_identifier::BASIC};
121 std::unique_ptr<runtime_stack> runtime_stack_ptr;
struct representing the context passed to states in the runtime_app stack
Definition runtime_app.h:34