RAII class for attaching code behind to an Activity or Activity Host node. More...
#include <kanzi/ui/node/concept/activity/code_behind_register_guard.hpp>
Public Member Functions | |
| CodeBehindRegisterGuard (NodeSharedPtr node, CodeBehindSharedPtr codeBehind) | |
| Constructor. | |
| CodeBehind & | get () const |
| Gets the code behind object. | |
| virtual | ~CodeBehindRegisterGuard () |
| Destructor. | |
RAII class for attaching code behind to an Activity or Activity Host node.
|
explicit |
Constructor.
| node | The Activity or Activity Host node to which to attach code behind. |
| codeBehind | the code behind object to attach. |
|
virtual |
Destructor.
| CodeBehind & kanzi::CodeBehindRegisterGuard::get | ( | ) | const |
Gets the code behind object.