Dali 3D User Interface Engine
List of all members | Public Member Functions | Private Member Functions
Dali::Internal::SceneGraph::PropertyBase Class Referenceabstract

Polymorphic base class for scene-graph properties, held by Nodes etc. More...

#include <property-base.h>

Inheritance diagram for Dali::Internal::SceneGraph::PropertyBase:
Inheritance graph
[legend]
Collaboration diagram for Dali::Internal::SceneGraph::PropertyBase:
Collaboration graph
[legend]

Public Member Functions

 PropertyBase ()
 Default constructor. More...
 
virtual ~PropertyBase ()
 Virtual destructor. More...
 
virtual void ResetToBaseValue (BufferIndex updateBufferIndex)=0
 Reset the property to a base value; only required if the property is animated. More...
 
virtual bool InputChanged () const
 Query the input value (for a constraint) has changed. More...
 
virtual bool IsClean () const =0
 Query whether the property has changed. More...
 
- Public Member Functions inherited from Dali::Internal::PropertyInputImpl
virtual ~PropertyInputImpl ()
 Virtual destructor. More...
 
virtual Property::Type GetType () const =0
 Query the type of property input. More...
 
virtual bool InputInitialized () const =0
 Query the input value (for a constraint) has been initialized. More...
 
virtual const bool & GetBoolean (BufferIndex bufferIndex) const
 Retrieve a boolean value. More...
 
virtual const int & GetInteger (BufferIndex bufferIndex) const
 Retrieve an integer value. More...
 
virtual const float & GetFloat (BufferIndex bufferIndex) const
 Retrieve a float value. More...
 
virtual const Vector2GetVector2 (BufferIndex bufferIndex) const
 Retrieve a Vector2 value. More...
 
virtual const Vector3GetVector3 (BufferIndex bufferIndex) const
 Retrieve a Vector3 value. More...
 
virtual const Vector4GetVector4 (BufferIndex bufferIndex) const
 Retrieve a Vector4 value. More...
 
virtual const QuaternionGetQuaternion (BufferIndex bufferIndex) const
 Retrieve a Quaternion value. More...
 
virtual const Matrix3GetMatrix3 (BufferIndex bufferIndex) const
 Retrieve a Matrix value. More...
 
virtual const MatrixGetMatrix (BufferIndex bufferIndex) const
 Retrieve a Matrix value. More...
 
virtual const bool & GetConstraintInputBoolean (BufferIndex updateBufferIndex) const
 Retrieve a boolean input for a constraint function. More...
 
virtual const int & GetConstraintInputInteger (BufferIndex updateBufferIndex) const
 Retrieve an integer input for a constraint function. More...
 
virtual const float & GetConstraintInputFloat (BufferIndex updateBufferIndex) const
 Retrieve a float input for a constraint function. More...
 
virtual const Vector2GetConstraintInputVector2 (BufferIndex updateBufferIndex) const
 Retrieve a Vector2 input for a constraint function. More...
 
virtual const Vector3GetConstraintInputVector3 (BufferIndex updateBufferIndex) const
 Retrieve a Vector3 input for a constraint function. More...
 
virtual const Vector4GetConstraintInputVector4 (BufferIndex updateBufferIndex) const
 Retrieve a Vector4 input for a constraint function. More...
 
virtual const QuaternionGetConstraintInputQuaternion (BufferIndex updateBufferIndex) const
 Retrieve a Quaternion input for a constraint function. More...
 
virtual const Matrix3GetConstraintInputMatrix3 (BufferIndex updateBufferIndex) const
 Retrieve a Matrix3 input for a constraint function. More...
 
virtual const MatrixGetConstraintInputMatrix (BufferIndex updateBufferIndex) const
 Retrieve a Matrix input for a constraint function. More...
 
void DebugPrint (std::ostream &debugStream, BufferIndex bufferIndex) const
 Print the property value using a stream. More...
 

Private Member Functions

 PropertyBase (const PropertyBase &property)
 
PropertyBaseoperator= (const PropertyBase &rhs)
 

Detailed Description

Polymorphic base class for scene-graph properties, held by Nodes etc.

Definition at line 42 of file property-base.h.

Constructor & Destructor Documentation

Dali::Internal::SceneGraph::PropertyBase::PropertyBase ( )

Default constructor.

Definition at line 30 of file property-base.cpp.

Dali::Internal::SceneGraph::PropertyBase::~PropertyBase ( )
virtual

Virtual destructor.

Definition at line 34 of file property-base.cpp.

Dali::Internal::SceneGraph::PropertyBase::PropertyBase ( const PropertyBase property)
private

Member Function Documentation

virtual bool Dali::Internal::SceneGraph::PropertyBase::InputChanged ( ) const
inlinevirtual

Query the input value (for a constraint) has changed.

Returns
True if the input value has changed.

Implements Dali::Internal::PropertyInputImpl.

Definition at line 65 of file property-base.h.

References IsClean().

Here is the call graph for this function:

virtual bool Dali::Internal::SceneGraph::PropertyBase::IsClean ( ) const
pure virtual

Query whether the property has changed.

Returns
True if the property has not changed.

Implemented in Dali::Internal::SceneGraph::AnimatablePropertyBase.

Referenced by InputChanged().

Here is the caller graph for this function:

PropertyBase& Dali::Internal::SceneGraph::PropertyBase::operator= ( const PropertyBase rhs)
private
virtual void Dali::Internal::SceneGraph::PropertyBase::ResetToBaseValue ( BufferIndex  updateBufferIndex)
pure virtual

The documentation for this class was generated from the following files:
Dali Docs Home
Read more about Dali