WARNING: USE THIS SOFTWARE AT YOUR OWN RISK! THIS IS EXPERIMENTAL SOFTWARE NOT INTENDED FOR PRODUCTION USE! Zuble is currently an early stage prototype. As such Zuble is minimally tested and inherently unstable. It is provided for experimental, development, and demonstration purposes only. | Zuble QML Types | Zuble C++ Classes | Zuble Overview |
Zuble
0.1
Zuble Framework C++/QML extension API
|
A mechanism for safely holding a ZblApp object pointer in thread local storage. More...
Public Member Functions | |
AppPtr (ZblApp *app) | |
Public Attributes | |
ZblApp * | m_app |
A mechanism for safely holding a ZblApp object pointer in thread local storage.
The pointer-in-class construction prevents QThreadStorage from deleting the ZblApp object directly. Instead it deletes the AppPtr object. In the GUI thread Qt's QML engine handles destruction of the singleton ZblApp object and in the script threads it's handled by ZScriptWorker.
Zuble documentation copyright © 2019 Bob Dinitto. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Zuble is a derivative work of Qt version 5. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.