|
HikoGUI
A low latency retained GUI
|
Public Types | |
| using | callback_ptr_type = std::weak_ptr<std::function<void()>> |
Public Member Functions | |
| observable_notifier_type (observable_notifier_type const &)=delete | |
| observable_notifier_type (observable_notifier_type &&)=delete | |
| observable_notifier_type & | operator= (observable_notifier_type const &)=delete |
| observable_notifier_type & | operator= (observable_notifier_type &&)=delete |
| void | start_proxy () noexcept |
| void | finish_proxy () noexcept |
| void | push (callback_ptr_type callback_ptr) noexcept |
| Add a callback to the list. | |
| void | notify () noexcept |
| Notify all callbacks that have been pushed. | |
Data Fields | |
| uint64_t | proxy_count = 0 |
| std::vector< callback_ptr_type > | callbacks |
|
inlinenoexcept |
Notify all callbacks that have been pushed.
|
inlinenoexcept |
Add a callback to the list.