loop.hpp
memory
ftxui/component/component_base.hpp
src/ftxui/component/loop.cpp
src/ftxui/component/screen_interactive.cpp
ftxui/component/captured_mouse.hpp
ftxui/component/component_base.hpp
include/ftxui/component/loop.hpp
ftxui/dom/canvas.hpp
ftxui/dom/deprecated.hpp
ftxui/dom/direction.hpp
ftxui/dom/elements.hpp
ftxui/dom/flexbox_config.hpp
ftxui/dom/linear_gradient.hpp
ftxui/dom/node.hpp
ftxui/dom/requirement.hpp
ftxui/dom/selection.hpp
ftxui/screen/box.hpp
ftxui/screen/color.hpp
ftxui/screen/image.hpp
ftxui/screen/pixel.hpp
ftxui/screen/screen.hpp
ftxui/screen/string.hpp
ftxui/screen/terminal.hpp
ftxui/util/autoreset.hpp
ftxui/util/ref.hpp
cstddef
cstdint
ftxui/dom/take_any_args.hpp
functional
memory
optional
sstream
string
unordered_map
utility
variant
vector
include/ftxui/component/loop.hpp
src/ftxui/component/loop.cpp
src/ftxui/component/screen_interactive.cpp
ftxui::Loop
ftxui

    //Copyright2022ArthurSonzogni.Allrightsreserved.
    //UseofthissourcecodeisgovernedbytheMITlicensethatcanbefoundin
    //theLICENSEfile.
    #ifndefFTXUI_COMPONENT_LOOP_HPP
    #defineFTXUI_COMPONENT_LOOP_HPP

    #include<memory>//forshared_ptr

    #include"ftxui/component/component_base.hpp"//forComponentBase

    namespaceftxui{
    classComponentBase;

    usingComponent=std::shared_ptr<ComponentBase>;
    classScreenInteractive;

    classLoop{
    public:
    Loop(ScreenInteractive*screen,Componentcomponent);
    ~Loop();

    boolHasQuitted();
    voidRunOnce();
    voidRunOnceBlocking();
    voidRun();

    //Thisclassisnoncopyable/movable.
    Loop(constLoop&)=default;
    Loop(Loop&&)=delete;
    Loop&operator=(Loop&&)=delete;
    Loop(constScreenInteractive&)=delete;
    Loop&operator=(constLoop&)=delete;

    private:
    ScreenInteractive*screen_;
    Componentcomponent_;
    };

    }//namespaceftxui

    #endif//FTXUI_COMPONENT_LOOP_HPP