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. | |
Protected Member Functions | |
NodePropertyNotificationHandler () | |
Empty constructor. | |
NodePropertyNotificationHandler (AbstractPropertyType propertyType, Node *node) | |
Constructor. | |
NodePropertyNotificationHandler (const NodePropertyNotificationHandler &rhs) | |
Copy constructor. | |
NodePropertyNotificationHandler & | operator= (const NodePropertyNotificationHandler &rhs) |
Assignment operator. | |
~NodePropertyNotificationHandler () override | |
Destructor. | |
Protected Member Functions inherited from kanzi::AbstractPropertyNotificationHandler | |
AbstractPropertyNotificationHandler () | |
Empty constructor. | |
AbstractPropertyNotificationHandler (AbstractPropertyType propertyType) | |
Constructor. | |
virtual | ~AbstractPropertyNotificationHandler () |
Node property notification handler.
|
inlineexplicitprotected |
Empty constructor.
|
explicitprotected |
Copy constructor.
rhs | Handler to copy from. |
|
explicitprotected |
Constructor.
Implicitly attaches to the node it's constructed on.
|
overrideprotected |
Destructor.
Implicitly detaches from the node it was constructed on.
|
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.
|
protected |
Assignment operator.
rhs | Handler to copy from. |