Node property notification handler. More...
#include <kanzi/core.ui/node/node_property_notification_handler.hpp>
Public Member Functions | |
| Node * | getNode () const |
| Access the node. | |
| void | invalidate () |
| Invalidates the state of the notification handler. | |
| bool | isValid () const |
| Tell if this notification handler is valid. | |
Public Member Functions inherited from kanzi::AbstractPropertyNotificationHandler | |
| AbstractPropertyType | getPropertyType () const |
| Get the property type this handler is listening. | |
| virtual void | onPropertyChanged (PropertyNotificationReason reason)=0 |
| Method to be executed when property is changed. | |
Static Protected Member Functions | |
| template<typename T > | |
| static void | notificationHandler (PropertyObject &, const typename PropertyType< T >::Traits::StorageType &, PropertyNotificationReason reason, void *data) |
| Notification handler function. | |
Protected Attributes | |
| Node * | m_node |
| Node attached to. | |
Node property notification handler.
|
explicitprotected |
Constructor.
Implicitly attaches to the node it's constructed on.
|
overrideprotected |
Destructor.
Implicitly detaches from the node it was constructed on.
|
inlineprotectednoexcept |
Move constructor.
| other | Source object. |
|
inline |
Access the node.
|
inline |
Invalidates the state of the notification handler.
Use this function to invalidate a node that you destroyed before destroying the NodePropertyNotificationHandler.
|
inline |
Tell if this notification handler is valid.
|
inlineprotectednoexcept |
Move operator.
| other | Source object. |
|
staticprotected |
Notification handler function.
|
protected |
Attach to node.
|
protected |
Detach from node.