Line-oriented command interface for inspecting and controlling a render session. More...
#include "donner/editor/app/EditorRepl.h"
Public Member Functions | |
| RenderSessionRepl (RenderSession &app, std::istream &in, std::ostream &out, RenderSessionReplOptions options={}) | |
| Connect a rendering session to line-oriented command input and output. | |
| int | run () |
| Runs the command loop until EOF or a quit/exit command. Returns the number of commands successfully dispatched. | |
| bool | dispatch (const std::string &line) |
| Dispatches a single pre-tokenized command line. Exposed for tests that want to skip the input stream entirely. | |
Line-oriented command interface for inspecting and controlling a render session.
| donner::editor::app::RenderSessionRepl::RenderSessionRepl | ( | RenderSession & | app, |
| std::istream & | in, | ||
| std::ostream & | out, | ||
| RenderSessionReplOptions | options = {} ) |
Connect a rendering session to line-oriented command input and output.
| app | Session to control; it must outlive the REPL. |
| in | Borrowed command input stream; it must outlive the REPL. |
| out | Borrowed response output stream; it must outlive the REPL. |
| options | REPL behavior and output options. |