Contur 2
Educational OS kernel simulator
Loading...
Searching...
No Matches
contur::FtxuiApp Class Referencefinal

Full interactive TUI application using FTXUI ScreenInteractive. More...

#include <ftxui_app.h>

Public Member Functions

 FtxuiApp (ITuiController &controller, FtxuiAppConfig config={})
 Constructs the app bound to an existing controller.
 ~FtxuiApp ()
 FtxuiApp (const FtxuiApp &)=delete
FtxuiAppoperator= (const FtxuiApp &)=delete
 FtxuiApp (FtxuiApp &&) noexcept
FtxuiAppoperator= (FtxuiApp &&) noexcept
void run ()
 Starts the interactive event loop. Blocks until the user quits.

Private Attributes

std::unique_ptr< Impl > impl_

Detailed Description

Full interactive TUI application using FTXUI ScreenInteractive.

Call run() to start the event loop — this blocks until the user quits.

Definition at line 61 of file ftxui_app.h.

Constructor & Destructor Documentation

◆ FtxuiApp() [1/3]

contur::FtxuiApp::FtxuiApp ( ITuiController & controller,
FtxuiAppConfig config = {} )
explicit

Constructs the app bound to an existing controller.

Parameters
controllerController to drive (must outlive FtxuiApp).
configOptional behaviour configuration.

Referenced by FtxuiApp(), FtxuiApp(), operator=(), and operator=().

◆ ~FtxuiApp()

contur::FtxuiApp::~FtxuiApp ( )

◆ FtxuiApp() [2/3]

contur::FtxuiApp::FtxuiApp ( const FtxuiApp & )
delete

References FtxuiApp().

◆ FtxuiApp() [3/3]

contur::FtxuiApp::FtxuiApp ( FtxuiApp && )
noexcept

References FtxuiApp().

Member Function Documentation

◆ operator=() [1/2]

FtxuiApp & contur::FtxuiApp::operator= ( const FtxuiApp & )
delete

References FtxuiApp().

◆ operator=() [2/2]

FtxuiApp & contur::FtxuiApp::operator= ( FtxuiApp && )
noexcept

References FtxuiApp().

◆ run()

void contur::FtxuiApp::run ( )

Starts the interactive event loop. Blocks until the user quits.

References run().

Referenced by main(), and run().

Member Data Documentation

◆ impl_

std::unique_ptr<Impl> contur::FtxuiApp::impl_
private

Definition at line 82 of file ftxui_app.h.


The documentation for this class was generated from the following file: