Dali 3D User Interface Engine
List of all members | Public Member Functions | Public Attributes
Dali::Internal::ObjectImplHelper< DEFAULT_PROPERTY_COUNT > Struct Template Reference

Helper template class to be used by class that implement Object. More...

#include <object-impl-helper.h>

Collaboration diagram for Dali::Internal::ObjectImplHelper< DEFAULT_PROPERTY_COUNT >:
Collaboration graph
[legend]

Public Member Functions

unsigned int GetDefaultPropertyCount () const
 
void GetDefaultPropertyIndices (Property::IndexContainer &indices) const
 
const char * GetDefaultPropertyName (Property::Index index) const
 
Property::Index GetDefaultPropertyIndex (const std::string &name) const
 
bool IsDefaultPropertyWritable (Property::Index index) const
 
bool IsDefaultPropertyAnimatable (Property::Index index) const
 
bool IsDefaultPropertyAConstraintInput (Property::Index index) const
 
Property::Type GetDefaultPropertyType (Property::Index index) const
 
const SceneGraph::PropertyBaseGetRegisteredSceneGraphProperty (const Object *object, FindAnimatablePropertyMethod findAnimatablePropertyMethod, FindCustomPropertyMethod findCustomPropertyMethod, Property::Index index) const
 
void SetSceneGraphProperty (EventThreadServices &eventThreadServices, const Object *object, Property::Index index, const PropertyMetadata &entry, const Property::Value &value) const
 
int GetPropertyComponentIndex (Property::Index index) const
 

Public Attributes

const PropertyDetailsDEFAULT_PROPERTY_DETAILS
 

Detailed Description

template<int DEFAULT_PROPERTY_COUNT>
struct Dali::Internal::ObjectImplHelper< DEFAULT_PROPERTY_COUNT >

Helper template class to be used by class that implement Object.

Example:

 typename ObjectImplHelper<DEFAULT_PROPERTY_COUNT, DEFAULT_PROPERTY_DETAILS> MyObjectImpl;
 MyObjectImpl::GetDefaultPropertyCount();
 

Definition at line 67 of file object-impl-helper.h.

Member Function Documentation

template<int DEFAULT_PROPERTY_COUNT>
unsigned int Dali::Internal::ObjectImplHelper< DEFAULT_PROPERTY_COUNT >::GetDefaultPropertyCount ( ) const
inline

Definition at line 71 of file object-impl-helper.h.

Referenced by Dali::Internal::Material::GetDefaultPropertyCount().

Here is the caller graph for this function:

template<int DEFAULT_PROPERTY_COUNT>
Property::Index Dali::Internal::ObjectImplHelper< DEFAULT_PROPERTY_COUNT >::GetDefaultPropertyIndex ( const std::string &  name) const
inline
template<int DEFAULT_PROPERTY_COUNT>
void Dali::Internal::ObjectImplHelper< DEFAULT_PROPERTY_COUNT >::GetDefaultPropertyIndices ( Property::IndexContainer indices) const
inline

Definition at line 76 of file object-impl-helper.h.

References Dali::DEFAULT_OBJECT_PROPERTY_START_INDEX, Dali::Vector< T, IsTrivialType >::PushBack(), and Dali::Vector< T, IsTrivialType >::Reserve().

Referenced by Dali::Internal::Material::GetDefaultPropertyIndices().

Here is the call graph for this function:

Here is the caller graph for this function:

template<int DEFAULT_PROPERTY_COUNT>
const char* Dali::Internal::ObjectImplHelper< DEFAULT_PROPERTY_COUNT >::GetDefaultPropertyName ( Property::Index  index) const
inline
template<int DEFAULT_PROPERTY_COUNT>
Property::Type Dali::Internal::ObjectImplHelper< DEFAULT_PROPERTY_COUNT >::GetDefaultPropertyType ( Property::Index  index) const
inline
template<int DEFAULT_PROPERTY_COUNT>
int Dali::Internal::ObjectImplHelper< DEFAULT_PROPERTY_COUNT >::GetPropertyComponentIndex ( Property::Index  index) const
inline

Definition at line 304 of file object-impl-helper.h.

References DALI_ASSERT_ALWAYS.

template<int DEFAULT_PROPERTY_COUNT>
const SceneGraph::PropertyBase* Dali::Internal::ObjectImplHelper< DEFAULT_PROPERTY_COUNT >::GetRegisteredSceneGraphProperty ( const Object object,
FindAnimatablePropertyMethod  findAnimatablePropertyMethod,
FindCustomPropertyMethod  findCustomPropertyMethod,
Property::Index  index 
) const
inline
template<int DEFAULT_PROPERTY_COUNT>
bool Dali::Internal::ObjectImplHelper< DEFAULT_PROPERTY_COUNT >::IsDefaultPropertyAConstraintInput ( Property::Index  index) const
inline
template<int DEFAULT_PROPERTY_COUNT>
bool Dali::Internal::ObjectImplHelper< DEFAULT_PROPERTY_COUNT >::IsDefaultPropertyAnimatable ( Property::Index  index) const
inline
template<int DEFAULT_PROPERTY_COUNT>
bool Dali::Internal::ObjectImplHelper< DEFAULT_PROPERTY_COUNT >::IsDefaultPropertyWritable ( Property::Index  index) const
inline
template<int DEFAULT_PROPERTY_COUNT>
void Dali::Internal::ObjectImplHelper< DEFAULT_PROPERTY_COUNT >::SetSceneGraphProperty ( EventThreadServices eventThreadServices,
const Object object,
Property::Index  index,
const PropertyMetadata entry,
const Property::Value value 
) const
inline

Member Data Documentation

template<int DEFAULT_PROPERTY_COUNT>
const PropertyDetails* Dali::Internal::ObjectImplHelper< DEFAULT_PROPERTY_COUNT >::DEFAULT_PROPERTY_DETAILS

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