|
RADLib
RADical C++ application framework
|
RAII-style binding handle that keeps a bridge object alive until disconnected. More...
#include <RADUi.h>
Public Member Functions | |
| Binding ()=default | |
| Creates an empty, disconnected binding. More... | |
| Binding (std::shared_ptr< RADCore::RADObject > owner) | |
| Creates a binding that owns owner for the lifetime of the binding. More... | |
| void | disconnect () |
| Releases the owned bridge object and disconnects future delivery. More... | |
| bool | isConnected () const |
| Returns true when this binding still owns a bridge object. More... | |
RAII-style binding handle that keeps a bridge object alive until disconnected.
|
default |
Creates an empty, disconnected binding.
|
explicit |
Creates a binding that owns owner for the lifetime of the binding.
| void RADUi::Binding::disconnect | ( | ) |
Releases the owned bridge object and disconnects future delivery.
| bool RADUi::Binding::isConnected | ( | ) | const |
Returns true when this binding still owns a bridge object.