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:
kanzi::NodePropertyNotificationHandler kanzi::AbstractPropertyNotificationHandler kanzi::RenderStatePropertyNotificationHandler kanzi::RenderValuePropertyNotificationHandler< T > kanzi::RenderValuePropertyNotificationHandler< GraphicsBlendMode > kanzi::RenderValuePropertyNotificationHandler< kanzi::ColorRGBA > kanzi::TypedRenderStatePropertyNotificationHandler< T > kanzi::TypedRenderStatePropertyNotificationHandler< GraphicsBlendMode > kanzi::TypedRenderStatePropertyNotificationHandler< TextureSharedPtr >

Public Member Functions

bool isDirty () const
 Is the container dirty? More...
 
void setDirty (bool enabled)
 Set dirty flag state. More...
 
RenderValuePropertyNotificationHandlerBaseoperator= (KZ_RV_REF(RenderValuePropertyNotificationHandlerBase) other)
 Assignment operator. More...
 
- Public Member Functions inherited from kanzi::NodePropertyNotificationHandler
NodegetNode () const
 Access the node. 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

 RenderValuePropertyNotificationHandlerBase ()
 Empty constructor. More...
 
 RenderValuePropertyNotificationHandlerBase (AbstractPropertyType propertyType, Node *node)
 Constructor. More...
 
 RenderValuePropertyNotificationHandlerBase (AbstractPropertyType propertyType, Node *node, ShaderProgram::UniformTransformation transformation)
 Constructor. More...
 
 RenderValuePropertyNotificationHandlerBase (KZ_RV_REF(RenderValuePropertyNotificationHandlerBase) other)
 Move constructor. More...
 
virtual void onPropertyChanged (PropertyNotificationReason) KZ_OVERRIDE
 AbstractPropertyNotificationHandler::onPropertyChanged() implementation. More...
 
ShaderProgram::UniformTransformation getTransformation () const
 Gets the uniform transformation. 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...
 
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

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

Constructor & Destructor Documentation

kanzi::RenderValuePropertyNotificationHandlerBase::RenderValuePropertyNotificationHandlerBase ( )
inlineexplicitprotected

Empty constructor.

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

Constructor.

Parameters
propertyTypeProperty type to listen on.
nodeNode to listen for changes on.
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.
kanzi::RenderValuePropertyNotificationHandlerBase::RenderValuePropertyNotificationHandlerBase ( KZ_RV_REF(RenderValuePropertyNotificationHandlerBase other)
inlineprotected

Move constructor.

Parameters
otherSource object.

Member Function Documentation

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

Is the container dirty?

Returns
True if dirty, false if not.
void kanzi::RenderValuePropertyNotificationHandlerBase::setDirty ( bool  enabled)
inline

Set dirty flag state.

Parameters
enabledNew dirty flag state.
RenderValuePropertyNotificationHandlerBase& kanzi::RenderValuePropertyNotificationHandlerBase::operator= ( KZ_RV_REF(RenderValuePropertyNotificationHandlerBase other)
inline

Assignment operator.

Parameters
otherSource object.
virtual void kanzi::RenderValuePropertyNotificationHandlerBase::onPropertyChanged ( PropertyNotificationReason  )
protectedvirtual
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: