Dali 3D User Interface Engine
List of all members | Public Member Functions | Public Attributes
Dali::Internal::Source Struct Reference

The source of an input property for a constraint. More...

#include <constraint-source-impl.h>

Collaboration diagram for Dali::Internal::Source:
Collaboration graph
[legend]

Public Member Functions

 Source ()
 Default constructor. More...
 
 Source (Dali::ConstraintSource &source)
 Create a constraint source from a public handle. More...
 

Public Attributes

SourceType sourceType
 The source type. More...
 
Property::Index propertyIndex
 The index of the source property. More...
 
Objectobject
 The target object; only valid if sourceType == OBJECT_PROPERTY. More...
 

Detailed Description

The source of an input property for a constraint.

Definition at line 39 of file constraint-source-impl.h.

Constructor & Destructor Documentation

Dali::Internal::Source::Source ( )
inline

Default constructor.

Definition at line 44 of file constraint-source-impl.h.

Dali::Internal::Source::Source ( Dali::ConstraintSource source)
inline

Create a constraint source from a public handle.

The internal object is not referenced by the Internal::Source; therefore the owner of this object is responsible for observing the Object's lifetime.

Definition at line 56 of file constraint-source-impl.h.

References Dali::GetImplementation(), and Dali::ConstraintSource::object.

Here is the call graph for this function:

Member Data Documentation

Object* Dali::Internal::Source::object
Property::Index Dali::Internal::Source::propertyIndex
SourceType Dali::Internal::Source::sourceType

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