CYD-UI
A C++ library for building native graphic user interfaces
Loading...
Searching...
No Matches
cydui::Application Class Referenceexport
+ Inheritance diagram for cydui::Application:
+ Collaboration diagram for cydui::Application:

Public Member Functions

 ~Application ()
 

Static Public Member Functions

static Applicationget_instance ()
 
template<typename... Args>
static auto run_async (auto &&fun, Args &&... args)
 
template<typename... Args>
static auto run (auto &&fun, Args &&... args)
 
template<typename... Args>
static auto schedule (auto &&fun, Args &&... args)
 
template<typename... Args>
static auto schedule (fabric::tasks::time_point tp, auto &&fun, Args &&... args)
 
template<typename... Args>
static auto schedule (fabric::tasks::duration duration, auto &&fun, Args &&... args)
 
static void register_window (std::size_t id, fabric::async::async_bus_t *window)
 
static void unregister_window (std::size_t id)
 
static void terminate ()
 

Detailed Description

Definition at line 20 of file application.cppm.

Constructor & Destructor Documentation

◆ ~Application()

cydui::Application::~Application ( )
inline

Definition at line 63 of file application.cppm.

Member Function Documentation

◆ get_instance()

static Application & cydui::Application::get_instance ( )
inlinestatic

Definition at line 68 of file application.cppm.

+ Here is the caller graph for this function:

◆ register_window()

static void cydui::Application::register_window ( std::size_t id,
fabric::async::async_bus_t * window )
inlinestatic

Definition at line 109 of file application.cppm.

+ Here is the call graph for this function:

◆ run()

template<typename... Args>
static auto cydui::Application::run ( auto && fun,
Args &&... args )
inlinestatic

Definition at line 86 of file application.cppm.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ run_async()

template<typename... Args>
static auto cydui::Application::run_async ( auto && fun,
Args &&... args )
inlinestatic

Definition at line 74 of file application.cppm.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ schedule() [1/3]

template<typename... Args>
static auto cydui::Application::schedule ( auto && fun,
Args &&... args )
inlinestatic

Definition at line 92 of file application.cppm.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ schedule() [2/3]

template<typename... Args>
static auto cydui::Application::schedule ( fabric::tasks::duration duration,
auto && fun,
Args &&... args )
inlinestatic

Definition at line 104 of file application.cppm.

+ Here is the call graph for this function:

◆ schedule() [3/3]

template<typename... Args>
static auto cydui::Application::schedule ( fabric::tasks::time_point tp,
auto && fun,
Args &&... args )
inlinestatic

Definition at line 98 of file application.cppm.

+ Here is the call graph for this function:

◆ terminate()

static void cydui::Application::terminate ( )
inlinestatic

Definition at line 127 of file application.cppm.

+ Here is the call graph for this function:

◆ unregister_window()

static void cydui::Application::unregister_window ( std::size_t id)
inlinestatic

Definition at line 115 of file application.cppm.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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