|
|
| application_win32 (std::weak_ptr< application_delegate > const &delegate, std::vector< std::string > const &arguments, os_handle instance) |
| |
|
| application_win32 (const application_win32 &)=delete |
| |
|
application_win32 & | operator= (const application_win32 &)=delete |
| |
|
| application_win32 (application_win32 &&)=delete |
| |
|
application_win32 & | operator= (application_win32 &&)=delete |
| |
| void | init () override |
| | Two phase construction.
|
| |
| void | run_from_main_loop (std::function< void()> function) override |
| |
| int | loop () override |
| |
| void | exit (int exit_code) override |
| | Exit the main loop and exit the application.
|
| |
| std::vector< void * > | win32_windows () noexcept |
| | Get a win32 handle to each window of the application.
|
| |
| void | post_message (void *window, unsigned int Msg, ptrdiff_t wParam=0, ptrdiff_t lParam=0) noexcept |
| | Send a win32 message to a window, on the thread associated with that window.
|
| |
| void | post_message (std::vector< void * > const &windows, unsigned int Msg, ptrdiff_t wParam=0, ptrdiff_t lParam=0) noexcept |
| | Send a win32 message to a list of windows, on the thread associated with each of those windows.
|
| |
| | application (std::weak_ptr< application_delegate > const &delegate, std::vector< std::string > const &arguments, os_handle instance) |
| | This function will take ownership of the delegate and delete it during destruction.
|
| |
| virtual int | main () |
| | Start the application.
|
| |
|
| application (const application &)=delete |
| |
|
application & | operator= (const application &)=delete |
| |
|
| application (application &&)=delete |
| |
|
application & | operator= (application &&)=delete |
| |
◆ exit()
| void tt::application_win32::exit |
( |
int | exit_code | ) |
|
|
overridevirtual |
◆ init()
| void tt::application_win32::init |
( |
| ) |
|
|
overridevirtual |
◆ loop()
| int tt::application_win32::loop |
( |
| ) |
|
|
overridevirtual |
◆ post_message() [1/2]
| void tt::application_win32::post_message |
( |
std::vector< void * > const & | windows, |
|
|
unsigned int | Msg, |
|
|
ptrdiff_t | wParam = 0, |
|
|
ptrdiff_t | lParam = 0 ) |
|
noexcept |
Send a win32 message to a list of windows, on the thread associated with each of those windows.
◆ post_message() [2/2]
| void tt::application_win32::post_message |
( |
void * | window, |
|
|
unsigned int | Msg, |
|
|
ptrdiff_t | wParam = 0, |
|
|
ptrdiff_t | lParam = 0 ) |
|
noexcept |
Send a win32 message to a window, on the thread associated with that window.
◆ run_from_main_loop()
| void tt::application_win32::run_from_main_loop |
( |
std::function< void()> | function | ) |
|
|
overridevirtual |
◆ win32_windows()
| std::vector< void * > tt::application_win32::win32_windows |
( |
| ) |
|
|
noexcept |
Get a win32 handle to each window of the application.
The documentation for this class was generated from the following file: