Tizen Native API  5.5
Dali::ChildPropertyRegistration Class Reference

Registers a child property for the given type. More...

Public Member Functions

 ChildPropertyRegistration (TypeRegistration &registered, const std::string &name, Property::Index index, Property::Type type)
 This constructor registers an event-thread only child property (i.e. a property that the parent supports in its children) with the registered type.
 ChildPropertyRegistration (const std::string &registered, const std::string &name, Property::Index index, Property::Type type)
 This constructor registers an event-thread only child property (i.e. a property that the parent supports in its children) with the registered type.

Detailed Description

Registers a child property for the given type.

Since:
3.0, DALi version 1.1.35

Constructor & Destructor Documentation

Dali::ChildPropertyRegistration::ChildPropertyRegistration ( TypeRegistration registered,
const std::string &  name,
Property::Index  index,
Property::Type  type 
)

This constructor registers an event-thread only child property (i.e. a property that the parent supports in its children) with the registered type.

Since:
3.0, DALi version 1.1.35
Parameters:
[in]registeredThe TypeRegistration object
[in]nameThe name of the property
[in]indexThe property index. Must be a value between CHILD_PROPERTY_REGISTRATION_START_INDEX and CHILD_PROPERTY_REGISTRATION_MAX_INDEX inclusive
[in]typeThe property value type
Precondition:
"registered" must be registered with the TypeRegistry.
Dali::ChildPropertyRegistration::ChildPropertyRegistration ( const std::string &  registered,
const std::string &  name,
Property::Index  index,
Property::Type  type 
)

This constructor registers an event-thread only child property (i.e. a property that the parent supports in its children) with the registered type.

Since:
5.0, DALi version 1.3.20
Parameters:
[in]registeredThe name of the registered type
[in]nameThe name of the property
[in]indexThe property index. Must be a value between CHILD_PROPERTY_REGISTRATION_START_INDEX and CHILD_PROPERTY_REGISTRATION_MAX_INDEX inclusive
[in]typeThe property value type
Precondition:
"registered" must be registered with the TypeRegistry.