4#ifndef FTXUI_COMPONENT_LOOP_HPP
5#define FTXUI_COMPONENT_LOOP_HPP
14using Component = std::shared_ptr<ComponentBase>;
15class ScreenInteractive;
bool HasQuitted()
Indica si el bucle ha terminado.
Loop(const ScreenInteractive &)=delete
Loop(ScreenInteractive *screen, Component component)
Un Loop es un envoltorio alrededor de un Component y un ScreenInteractive. Se utiliza para ejecutar u...
Loop & operator=(const Loop &)=delete
void RunOnce()
Ejecuta el bucle una vez. Hace que el component procese todas las tareas/eventos pendientes....
Loop(const Loop &)=default
Loop & operator=(Loop &&)=delete
void RunOnceBlocking()
Espera a que se maneje al menos un evento y ejecuta Loop::RunOnce().
Loop es una clase que gestiona el bucle de eventos de un componente.
ScreenInteractive es una Screen que puede manejar eventos, ejecutar un bucle principal y administrar ...
El espacio de nombres ftxui:: de FTXUI.
std::shared_ptr< ComponentBase > Component