Kanzi Framework  3.9.0
Kanzi Engine API
kanzi::RenderValuePropertyNotificationHandlerBase Class Reference

Base class for notification handlers for render values and render state values (through handles). More...

#include <kanzi/core.ui/platform/graphics_backend/gl/render_value_property_notification_handler_base.hpp>

Inheritance diagram for kanzi::RenderValuePropertyNotificationHandlerBase:
[legend]

Public Member Functions

bool isDirty () const
 Is the container dirty? More...
 
RenderValuePropertyNotificationHandlerBaseoperator= (RenderValuePropertyNotificationHandlerBase &&other)
 Assignment operator. More...
 
void setDirty (bool enabled)
 Set dirty flag state. More...
 
- Public Member Functions inherited from kanzi::NodePropertyNotificationHandler
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
AbstractPropertyType getPropertyType () const
 Get the property type this handler is listening. More...
 

Protected Member Functions

ShaderProgram::UniformTransformation getTransformation () const
 Gets the uniform transformation. More...
 
void onPropertyChanged (PropertyNotificationReason) override
 AbstractPropertyNotificationHandler::onPropertyChanged() implementation. More...
 
 RenderValuePropertyNotificationHandlerBase ()
 Empty constructor. More...
 
 RenderValuePropertyNotificationHandlerBase (AbstractPropertyType propertyType, Node *node)
 Constructor. More...
 
 RenderValuePropertyNotificationHandlerBase (AbstractPropertyType propertyType, Node *node, ShaderProgram::UniformTransformation transformation)
 Constructor. More...
 
 RenderValuePropertyNotificationHandlerBase (RenderValuePropertyNotificationHandlerBase &&other)
 Move constructor. More...
 
- Protected Member Functions inherited from kanzi::NodePropertyNotificationHandler
 NodePropertyNotificationHandler ()
 Empty constructor. More...
 
 NodePropertyNotificationHandler (const NodePropertyNotificationHandler &rhs)
 Copy constructor. More...
 
 NodePropertyNotificationHandler (AbstractPropertyType propertyType, Node *node)
 Constructor. More...
 
NodePropertyNotificationHandleroperator= (const NodePropertyNotificationHandler &rhs)
 Assignment operator. More...
 
 ~NodePropertyNotificationHandler () override
 Destructor. More...
 
- Protected Member Functions inherited from kanzi::AbstractPropertyNotificationHandler
 AbstractPropertyNotificationHandler ()
 Empty constructor. More...
 
 AbstractPropertyNotificationHandler (AbstractPropertyType propertyType)
 Constructor. More...
 
virtual ~AbstractPropertyNotificationHandler ()=default
 

Detailed Description

Base class for notification handlers for render values and render state values (through handles).

Constructor & Destructor Documentation

◆ RenderValuePropertyNotificationHandlerBase() [1/4]

kanzi::RenderValuePropertyNotificationHandlerBase::RenderValuePropertyNotificationHandlerBase ( )
inlineexplicitprotected

Empty constructor.

◆ RenderValuePropertyNotificationHandlerBase() [2/4]

kanzi::RenderValuePropertyNotificationHandlerBase::RenderValuePropertyNotificationHandlerBase ( AbstractPropertyType  propertyType,
Node node 
)
inlineexplicitprotected

Constructor.

Parameters
propertyTypeProperty type to listen on.
nodeNode to listen for changes on.

◆ RenderValuePropertyNotificationHandlerBase() [3/4]

kanzi::RenderValuePropertyNotificationHandlerBase::RenderValuePropertyNotificationHandlerBase ( AbstractPropertyType  propertyType,
Node node,
ShaderProgram::UniformTransformation  transformation 
)
inlineexplicitprotected

Constructor.

Parameters
propertyTypeProperty type to listen on.
nodeNode to listen for changes on.
transformationUniform transformation.

◆ RenderValuePropertyNotificationHandlerBase() [4/4]

kanzi::RenderValuePropertyNotificationHandlerBase::RenderValuePropertyNotificationHandlerBase ( RenderValuePropertyNotificationHandlerBase &&  other)
inlineprotected

Move constructor.

Parameters
otherSource object.

Member Function Documentation

◆ isDirty()

bool kanzi::RenderValuePropertyNotificationHandlerBase::isDirty ( ) const
inline

Is the container dirty?

Returns
True if dirty, false if not.

◆ setDirty()

void kanzi::RenderValuePropertyNotificationHandlerBase::setDirty ( bool  enabled)
inline

Set dirty flag state.

Parameters
enabledNew dirty flag state.

◆ operator=()

RenderValuePropertyNotificationHandlerBase& kanzi::RenderValuePropertyNotificationHandlerBase::operator= ( RenderValuePropertyNotificationHandlerBase &&  other)
inline

Assignment operator.

Parameters
otherSource object.

◆ onPropertyChanged()

void kanzi::RenderValuePropertyNotificationHandlerBase::onPropertyChanged ( PropertyNotificationReason  )
overrideprotectedvirtual

◆ getTransformation()

ShaderProgram::UniformTransformation kanzi::RenderValuePropertyNotificationHandlerBase::getTransformation ( ) const
inlineprotected

Gets the uniform transformation.

Returns
Uniform transformation for this

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