Tizen Native API
Dali::PropertyInput Class Reference

An abstract interface for receiving property values. More...

Public Member Functions

virtual ~PropertyInput ()=0
 Forward declare future extension interface.
virtual Property::Type GetType () const =0
 Query the type of property input.
virtual const bool & GetBoolean () const =0
 Retrieve a boolean value.
virtual const float & GetFloat () const =0
 Retrieve a float value.
virtual const int & GetInteger () const =0
 Retrieve an integer value.
virtual const Vector2GetVector2 () const =0
 Retrieve a Vector2 value.
virtual const Vector3GetVector3 () const =0
 Retrieve a Vector3 value.
virtual const Vector4GetVector4 () const =0
 Retrieve a Vector4 value.
virtual const Matrix3GetMatrix3 () const =0
 Retrieve a Matrix (3x3) value.
virtual const MatrixGetMatrix () const =0
 Retrieve a Matrix (4x4) value.
virtual const QuaternionGetQuaternion () const =0
 Retrieve a Quaternion value.
virtual Extension * GetExtension ()
 Retrieve the extension for the PropertyInput.

Detailed Description

An abstract interface for receiving property values.

Since :
2.4

Constructor & Destructor Documentation

virtual Dali::PropertyInput::~PropertyInput ( ) [pure virtual]

Forward declare future extension interface.

Virtual destructor.

Since :
2.4

Member Function Documentation

virtual const bool& Dali::PropertyInput::GetBoolean ( ) const [pure virtual]

Retrieve a boolean value.

Since :
2.4
Returns:
The boolean value.
Precondition:
GetType() returns Property::BOOLEAN.
virtual Extension* Dali::PropertyInput::GetExtension ( ) [virtual]

Retrieve the extension for the PropertyInput.

Since :
2.4
Returns:
The extension if available, NULL otherwise
virtual const float& Dali::PropertyInput::GetFloat ( ) const [pure virtual]

Retrieve a float value.

Since :
2.4
Returns:
The float value.
Precondition:
GetType() returns Property::FLOAT.
virtual const int& Dali::PropertyInput::GetInteger ( ) const [pure virtual]

Retrieve an integer value.

Since :
2.4
Returns:
The integer value.
Precondition:
GetType() returns Property::INTEGER.
virtual const Matrix& Dali::PropertyInput::GetMatrix ( ) const [pure virtual]

Retrieve a Matrix (4x4) value.

Since :
2.4
Returns:
The Matrix value.
Precondition:
GetType() returns Property::Matrix4.
virtual const Matrix3& Dali::PropertyInput::GetMatrix3 ( ) const [pure virtual]

Retrieve a Matrix (3x3) value.

Since :
2.4
Returns:
The Matrix value.
Precondition:
GetType() returns Property::Matrix3.
virtual const Quaternion& Dali::PropertyInput::GetQuaternion ( ) const [pure virtual]

Retrieve a Quaternion value.

Since :
2.4
Returns:
The Quaternion value.
Precondition:
GetType() returns Property::Quaternion.
virtual Property::Type Dali::PropertyInput::GetType ( ) const [pure virtual]

Query the type of property input.

Since :
2.4
Returns:
The property type.
virtual const Vector2& Dali::PropertyInput::GetVector2 ( ) const [pure virtual]

Retrieve a Vector2 value.

Since :
2.4
Returns:
The Vector2 value.
Precondition:
GetType() returns Property::VECTOR2.
virtual const Vector3& Dali::PropertyInput::GetVector3 ( ) const [pure virtual]

Retrieve a Vector3 value.

Since :
2.4
Returns:
The Vector3 value.
Precondition:
GetType() returns Property::VECTOR3.
virtual const Vector4& Dali::PropertyInput::GetVector4 ( ) const [pure virtual]

Retrieve a Vector4 value.

Since :
2.4
Returns:
The Vector4 value.
Precondition:
GetType() returns Property::VECTOR4.