Dali 3D User Interface Engine
List of all members | Public Types | Public Member Functions | Private Attributes
Dali::Internal::MessageDoubleBuffered4< T, P2, P3, P4, P5 > Class Template Reference

Templated message which calls a member function of an object. More...

#include <message.h>

Inheritance diagram for Dali::Internal::MessageDoubleBuffered4< T, P2, P3, P4, P5 >:
Inheritance graph
[legend]
Collaboration diagram for Dali::Internal::MessageDoubleBuffered4< T, P2, P3, P4, P5 >:
Collaboration graph
[legend]

Public Types

typedef void(T::* MemberFunction )(BufferIndex, typename ParameterType< P2 >::PassingType, typename ParameterType< P3 >::PassingType, typename ParameterType< P4 >::PassingType, typename ParameterType< P5 >::PassingType)
 

Public Member Functions

 MessageDoubleBuffered4 (const T *obj, MemberFunction member, typename ParameterType< P2 >::PassingType p2, typename ParameterType< P3 >::PassingType p3, typename ParameterType< P4 >::PassingType p4, typename ParameterType< P5 >::PassingType p5)
 Create a message. More...
 
virtual ~MessageDoubleBuffered4 ()
 Virtual destructor. More...
 
virtual void Process (BufferIndex bufferIndex)
 Called to process the message. More...
 
- Public Member Functions inherited from Dali::Internal::MessageBase
 MessageBase ()
 Construct the message base. More...
 
virtual ~MessageBase ()
 Virtual destructor. More...
 

Private Attributes

T * object
 
MemberFunction memberFunction
 
ParameterType< P2 >::HolderType param2
 
ParameterType< P3 >::HolderType param3
 
ParameterType< P4 >::HolderType param4
 
ParameterType< P5 >::HolderType param5
 

Detailed Description

template<typename T, typename P2, typename P3, typename P4, typename P5>
class Dali::Internal::MessageDoubleBuffered4< T, P2, P3, P4, P5 >

Templated message which calls a member function of an object.

This overload passes four value-types to set double-buffered properties. Template parameters need to match the MemberFunction! The message will contain copy of the value (in case of & or const&)

Definition at line 798 of file message.h.

Member Typedef Documentation

template<typename T , typename P2 , typename P3 , typename P4 , typename P5 >
typedef void(T::* Dali::Internal::MessageDoubleBuffered4< T, P2, P3, P4, P5 >::MemberFunction)(BufferIndex, typename ParameterType< P2 >::PassingType, typename ParameterType< P3 >::PassingType, typename ParameterType< P4 >::PassingType, typename ParameterType< P5 >::PassingType)

Definition at line 802 of file message.h.

Constructor & Destructor Documentation

template<typename T , typename P2 , typename P3 , typename P4 , typename P5 >
Dali::Internal::MessageDoubleBuffered4< T, P2, P3, P4, P5 >::MessageDoubleBuffered4 ( const T *  obj,
MemberFunction  member,
typename ParameterType< P2 >::PassingType  p2,
typename ParameterType< P3 >::PassingType  p3,
typename ParameterType< P4 >::PassingType  p4,
typename ParameterType< P5 >::PassingType  p5 
)
inline

Create a message.

Note
The 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]objThe object.
[in]memberThe member function of the object.
[in]p2The second parameter to pass.
[in]p3The third parameter to pass.
[in]p4The forth parameter to pass.
[in]p5The fifth parameter to pass.

Definition at line 820 of file message.h.

template<typename T , typename P2 , typename P3 , typename P4 , typename P5 >
virtual Dali::Internal::MessageDoubleBuffered4< T, P2, P3, P4, P5 >::~MessageDoubleBuffered4 ( )
inlinevirtual

Virtual destructor.

Definition at line 839 of file message.h.

Member Function Documentation

template<typename T , typename P2 , typename P3 , typename P4 , typename P5 >
virtual void Dali::Internal::MessageDoubleBuffered4< T, P2, P3, P4, P5 >::Process ( BufferIndex  bufferIndex)
inlinevirtual

Member Data Documentation

template<typename T , typename P2 , typename P3 , typename P4 , typename P5 >
MemberFunction Dali::Internal::MessageDoubleBuffered4< T, P2, P3, P4, P5 >::memberFunction
private
template<typename T , typename P2 , typename P3 , typename P4 , typename P5 >
T* Dali::Internal::MessageDoubleBuffered4< T, P2, P3, P4, P5 >::object
private

Definition at line 859 of file message.h.

template<typename T , typename P2 , typename P3 , typename P4 , typename P5 >
ParameterType< P2 >::HolderType Dali::Internal::MessageDoubleBuffered4< T, P2, P3, P4, P5 >::param2
private
template<typename T , typename P2 , typename P3 , typename P4 , typename P5 >
ParameterType< P3 >::HolderType Dali::Internal::MessageDoubleBuffered4< T, P2, P3, P4, P5 >::param3
private
template<typename T , typename P2 , typename P3 , typename P4 , typename P5 >
ParameterType< P4 >::HolderType Dali::Internal::MessageDoubleBuffered4< T, P2, P3, P4, P5 >::param4
private
template<typename T , typename P2 , typename P3 , typename P4 , typename P5 >
ParameterType< P5 >::HolderType Dali::Internal::MessageDoubleBuffered4< T, P2, P3, P4, P5 >::param5
private

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