kanzi::NodePropertyNotificationHandler Class Reference

Node property notification handler. More...

#include <kanzi/core.ui/node/node_property_notification_handler.hpp>

Inheritance diagram for kanzi::NodePropertyNotificationHandler:
kanzi::AbstractPropertyNotificationHandler kanzi::PropertyListener kanzi::RenderValuePropertyNotificationHandlerBase kanzi::RenderStatePropertyNotificationHandler kanzi::RenderValuePropertyNotificationHandler< T > kanzi::RenderValuePropertyNotificationHandler< GraphicsBlendMode > kanzi::RenderValuePropertyNotificationHandler< kanzi::ColorRGBA > kanzi::RenderValuePropertyNotificationHandler< TextureSharedPtr > kanzi::TypedRenderStatePropertyNotificationHandler< T > kanzi::TypedRenderStatePropertyNotificationHandler< GraphicsBlendMode > kanzi::TypedRenderStatePropertyNotificationHandler< TextureSharedPtr >

Public Member Functions

NodegetNode () const
 Access the node. More...
 
void invalidate ()
 Invalidates the state of the notification handler. More...
 
bool isValid () const
 Tell if this notification handler is valid. More...
 
- Public Member Functions inherited from kanzi::AbstractPropertyNotificationHandler
virtual void onPropertyChanged (PropertyNotificationReason reason)=0
 Method to be executed when property is changed. More...
 
AbstractPropertyType getPropertyType () const
 Get the property type this handler is listening. More...
 

Protected Member Functions

 NodePropertyNotificationHandler ()
 Empty constructor. More...
 
 NodePropertyNotificationHandler (const NodePropertyNotificationHandler &rhs)
 Copy constructor. More...
 
 NodePropertyNotificationHandler (AbstractPropertyType propertyType, Node *node)
 Constructor. More...
 
virtual ~NodePropertyNotificationHandler ()
 Destructor. More...
 
NodePropertyNotificationHandleroperator= (const NodePropertyNotificationHandler &rhs)
 Assignment operator. More...
 
- Protected Member Functions inherited from kanzi::AbstractPropertyNotificationHandler
 AbstractPropertyNotificationHandler ()
 Empty constructor. More...
 
 AbstractPropertyNotificationHandler (AbstractPropertyType propertyType)
 Constructor. More...
 

Detailed Description

Node property notification handler.

Constructor & Destructor Documentation

kanzi::NodePropertyNotificationHandler::NodePropertyNotificationHandler ( )
inlineexplicitprotected

Empty constructor.

kanzi::NodePropertyNotificationHandler::NodePropertyNotificationHandler ( const NodePropertyNotificationHandler rhs)
inlineexplicitprotected

Copy constructor.

Parameters
rhsHandler to copy from.
kanzi::NodePropertyNotificationHandler::NodePropertyNotificationHandler ( AbstractPropertyType  propertyType,
Node node 
)
inlineexplicitprotected

Constructor.

Implicitly attaches to the node it's constructed on.

virtual kanzi::NodePropertyNotificationHandler::~NodePropertyNotificationHandler ( )
inlineprotectedvirtual

Destructor.

Implicitly deattaches from the node it was constructed on.

Member Function Documentation

Node* kanzi::NodePropertyNotificationHandler::getNode ( ) const
inline

Access the node.

Returns
Pointer to node.
void kanzi::NodePropertyNotificationHandler::invalidate ( )
inline

Invalidates the state of the notification handler.

Use this function to invalidate a node that you destroyed before destroying the NodePropertyNotificationHandler.

bool kanzi::NodePropertyNotificationHandler::isValid ( ) const
inline

Tell if this notification handler is valid.

Returns
True if yes, false if no.
NodePropertyNotificationHandler& kanzi::NodePropertyNotificationHandler::operator= ( const NodePropertyNotificationHandler rhs)
inlineprotected

Assignment operator.

Parameters
rhsHandler to copy from.
Returns
Reference to assignee.

The documentation for this class was generated from the following file: