Dali 3D User Interface Engine
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
Dali::Internal::SceneGraph::AnimatablePropertyMessage< P > Class Template Reference

Templated message which bakes a property. More...

#include <property-owner-messages.h>

Inheritance diagram for Dali::Internal::SceneGraph::AnimatablePropertyMessage< P >:
Inheritance graph
[legend]
Collaboration diagram for Dali::Internal::SceneGraph::AnimatablePropertyMessage< P >:
Collaboration graph
[legend]

Public Types

typedef void(AnimatableProperty
< P >::* 
MemberFunction )(BufferIndex, typename ParameterType< P >::PassingType)
 

Public Member Functions

virtual ~AnimatablePropertyMessage ()
 Virtual destructor. More...
 
virtual void Process (BufferIndex updateBufferIndex)
 Called to process the message. More...
 
- Public Member Functions inherited from Dali::Internal::SceneGraph::PropertyOwnerMessageBase
 PropertyOwnerMessageBase ()
 Create a message. More...
 
virtual ~PropertyOwnerMessageBase ()
 Virtual destructor. More...
 
- Public Member Functions inherited from Dali::Internal::MessageBase
 MessageBase ()
 Construct the message base. More...
 
virtual ~MessageBase ()
 Virtual destructor. More...
 

Static Public Member Functions

static void Send (EventThreadServices &eventThreadServices, const PropertyOwner *sceneObject, const AnimatableProperty< P > *property, MemberFunction member, typename ParameterType< P >::PassingType value)
 Create a message. More...
 

Private Member Functions

 AnimatablePropertyMessage (const PropertyOwner *sceneObject, const AnimatableProperty< P > *property, MemberFunction member, typename ParameterType< P >::PassingType value)
 Create a message. More...
 

Private Attributes

PropertyOwnermSceneObject
 
AnimatableProperty< P > * mProperty
 
MemberFunction mMemberFunction
 
ParameterType< P >::HolderType mParam
 

Detailed Description

template<typename P>
class Dali::Internal::SceneGraph::AnimatablePropertyMessage< P >

Templated message which bakes a property.

Definition at line 69 of file property-owner-messages.h.

Member Typedef Documentation

template<typename P >
typedef void(AnimatableProperty<P>::* Dali::Internal::SceneGraph::AnimatablePropertyMessage< P >::MemberFunction)(BufferIndex, typename ParameterType< P >::PassingType)

Definition at line 73 of file property-owner-messages.h.

Constructor & Destructor Documentation

template<typename P >
virtual Dali::Internal::SceneGraph::AnimatablePropertyMessage< P >::~AnimatablePropertyMessage ( )
inlinevirtual

Virtual destructor.

Definition at line 101 of file property-owner-messages.h.

template<typename P >
Dali::Internal::SceneGraph::AnimatablePropertyMessage< P >::AnimatablePropertyMessage ( const PropertyOwner sceneObject,
const AnimatableProperty< P > *  property,
MemberFunction  member,
typename ParameterType< P >::PassingType  value 
)
inlineprivate

Create a message.

Note
The property owner is expected to be const in the thread which sends this message. However it can be modified when Process() is called in a different thread.
Parameters
[in]sceneObjectthe property owner scene object
[in]propertyThe property to bake.
[in]memberThe member function of the object.
[in]valueThe new value of the property.

Definition at line 124 of file property-owner-messages.h.

Referenced by Dali::Internal::SceneGraph::AnimatablePropertyMessage< P >::Send().

Here is the caller graph for this function:

Member Function Documentation

template<typename P >
virtual void Dali::Internal::SceneGraph::AnimatablePropertyMessage< P >::Process ( BufferIndex  updateBufferIndex)
inlinevirtual

Called to process the message.

Parameters
[in]bufferIndexThe current update/render buffer index (depending on which thread processes the message).

Implements Dali::Internal::MessageBase.

Definition at line 108 of file property-owner-messages.h.

References Dali::Internal::SceneGraph::AnimatablePropertyMessage< P >::mMemberFunction, Dali::Internal::SceneGraph::AnimatablePropertyMessage< P >::mParam, and Dali::Internal::SceneGraph::AnimatablePropertyMessage< P >::mProperty.

template<typename P >
static void Dali::Internal::SceneGraph::AnimatablePropertyMessage< P >::Send ( EventThreadServices eventThreadServices,
const PropertyOwner sceneObject,
const AnimatableProperty< P > *  property,
MemberFunction  member,
typename ParameterType< P >::PassingType  value 
)
inlinestatic

Create a message.

Note
The scene object is expected to be const in the thread which sends this message. However it can be modified when Process() is called in a different thread.
Parameters
[in]eventThreadServicesThe object used to send messages to the scene graph
[in]sceneObjectThe property owner scene object
[in]propertyThe property to bake.
[in]memberThe member function of the object.
[in]valueThe new value of the property.

Definition at line 85 of file property-owner-messages.h.

References Dali::Internal::SceneGraph::AnimatablePropertyMessage< P >::AnimatablePropertyMessage(), and Dali::Internal::EventThreadServices::ReserveMessageSlot().

Referenced by Dali::Internal::ObjectImplHelper< DEFAULT_PROPERTY_COUNT >::SetSceneGraphProperty().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

template<typename P >
MemberFunction Dali::Internal::SceneGraph::AnimatablePropertyMessage< P >::mMemberFunction
private
template<typename P >
ParameterType< P >::HolderType Dali::Internal::SceneGraph::AnimatablePropertyMessage< P >::mParam
private
template<typename P >
AnimatableProperty<P>* Dali::Internal::SceneGraph::AnimatablePropertyMessage< P >::mProperty
private
template<typename P >
PropertyOwner* Dali::Internal::SceneGraph::AnimatablePropertyMessage< P >::mSceneObject
private

Definition at line 138 of file property-owner-messages.h.


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