Dali 3D User Interface Engine
List of all members | Public Member Functions | Protected Attributes
Dali::Internal::AnimatorConnectorBase Class Referenceabstract

An abstract base class for animator connectors. More...

#include <animator-connector-base.h>

Inheritance diagram for Dali::Internal::AnimatorConnectorBase:
Inheritance graph
[legend]
Collaboration diagram for Dali::Internal::AnimatorConnectorBase:
Collaboration graph
[legend]

Public Member Functions

 AnimatorConnectorBase (AlphaFunction alpha, const TimePeriod &period)
 Constructor. More...
 
virtual ~AnimatorConnectorBase ()
 Virtual destructor. More...
 
virtual void SetParent (Animation &parent)=0
 Set the parent of the AnimatorConnector. More...
 
AnimationGetParent ()
 Retrieve the parent of the AnimatorConnector. More...
 

Protected Attributes

AnimationmParent
 The parent owns the connector. More...
 
AlphaFunction mAlphaFunction
 
TimePeriod mTimePeriod
 

Detailed Description

An abstract base class for animator connectors.

Definition at line 47 of file animator-connector-base.h.

Constructor & Destructor Documentation

Dali::Internal::AnimatorConnectorBase::AnimatorConnectorBase ( AlphaFunction  alpha,
const TimePeriod period 
)
inline

Constructor.

Definition at line 54 of file animator-connector-base.h.

virtual Dali::Internal::AnimatorConnectorBase::~AnimatorConnectorBase ( )
inlinevirtual

Virtual destructor.

Definition at line 64 of file animator-connector-base.h.

Member Function Documentation

Animation* Dali::Internal::AnimatorConnectorBase::GetParent ( )
inline

Retrieve the parent of the AnimatorConnector.

Returns
The parent object, or NULL.

Definition at line 79 of file animator-connector-base.h.

References mParent.

virtual void Dali::Internal::AnimatorConnectorBase::SetParent ( Animation parent)
pure virtual

Set the parent of the AnimatorConnector.

Precondition
The connector does not already have a parent.
Parameters
[in]parentThe parent object.

Implemented in Dali::Internal::AnimatorConnector< PropertyType >.

Referenced by Dali::Internal::Animation::AddAnimatorConnector().

Here is the caller graph for this function:

Member Data Documentation

AlphaFunction Dali::Internal::AnimatorConnectorBase::mAlphaFunction
protected
Animation* Dali::Internal::AnimatorConnectorBase::mParent
protected
TimePeriod Dali::Internal::AnimatorConnectorBase::mTimePeriod
protected

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