Dali 3D User Interface Engine
List of all members | Public Types | Public Member Functions | Public Attributes
Dali::Internal::KeyFrameChannel< V > Class Template Reference

#include <key-frame-channel.h>

Inheritance diagram for Dali::Internal::KeyFrameChannel< V >:
Inheritance graph
[legend]
Collaboration diagram for Dali::Internal::KeyFrameChannel< V >:
Collaboration graph
[legend]

Public Types

typedef std::vector
< ProgressValue< V > > 
ProgressValues
 
- Public Types inherited from Dali::Internal::KeyFrameChannelBase
enum  KeyFrameChannelId { Translate, Rotate, Scale }
 

Public Member Functions

 KeyFrameChannel (KeyFrameChannelId channel_id, ProgressValues &values)
 
virtual ~KeyFrameChannel ()
 
bool IsActive (float progress)
 
GetValue (float progress, Dali::Animation::Interpolation interpolation) const
 
bool FindInterval (typename ProgressValues::iterator &start, typename ProgressValues::iterator &end, float progress) const
 Use a linear search to find the interval containing progress. More...
 
- Public Member Functions inherited from Dali::Internal::KeyFrameChannelBase
 KeyFrameChannelBase (KeyFrameChannelId channel_id)
 
virtual ~KeyFrameChannelBase ()
 
KeyFrameChannelId GetId () const
 

Public Attributes

ProgressValuesmValues
 

Additional Inherited Members

- Protected Attributes inherited from Dali::Internal::KeyFrameChannelBase
KeyFrameChannelId mChannelId
 

Detailed Description

template<typename V>
class Dali::Internal::KeyFrameChannel< V >

Definition at line 61 of file key-frame-channel.h.

Member Typedef Documentation

template<typename V>
typedef std::vector<ProgressValue<V> > Dali::Internal::KeyFrameChannel< V >::ProgressValues

Definition at line 64 of file key-frame-channel.h.

Constructor & Destructor Documentation

template<typename V>
Dali::Internal::KeyFrameChannel< V >::KeyFrameChannel ( KeyFrameChannelId  channel_id,
ProgressValues values 
)
inline

Definition at line 66 of file key-frame-channel.h.

template<typename V>
virtual Dali::Internal::KeyFrameChannel< V >::~KeyFrameChannel ( )
inlinevirtual

Definition at line 73 of file key-frame-channel.h.

Member Function Documentation

template<class V >
bool Dali::Internal::KeyFrameChannel< V >::FindInterval ( typename ProgressValues::iterator &  start,
typename ProgressValues::iterator &  end,
float  progress 
) const

Use a linear search to find the interval containing progress.

Definition at line 108 of file key-frame-channel.h.

template<class V >
V Dali::Internal::KeyFrameChannel< V >::GetValue ( float  progress,
Dali::Animation::Interpolation  interpolation 
) const
template<class V >
bool Dali::Internal::KeyFrameChannel< V >::IsActive ( float  progress)
virtual

Implements Dali::Internal::KeyFrameChannelBase.

Definition at line 89 of file key-frame-channel.h.

References Dali::Internal::ProgressValue< T >::GetProgress().

Here is the call graph for this function:

Member Data Documentation

template<typename V>
ProgressValues& Dali::Internal::KeyFrameChannel< V >::mValues

Definition at line 85 of file key-frame-channel.h.


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