Public Member Functions | Protected Member Functions | Protected Attributes | Friends
cinder::Anim< T > Class Template Reference

#include <Tween.h>

Inherits cinder::AnimBase.

List of all members.

Public Member Functions

 Anim ()
 Anim (T value)
 Anim (const Anim< T > &rhs)
const T & operator() () const
T & operator() ()
 operator const T & () const
Anim< T > & operator= (const Anim &rhs)
 Anim (Anim &&rhs)
Anim< T > & operator= (Anim &&rhs)
Anim< T > & operator= (T value)
const T & value () const
T & value ()
const T * ptr () const
T * ptr ()
void stop ()
 removes self from Timeline
bool isComplete () const
 returns false if any tweens are active on 'this', otherwise true
TimelineRef getParent () const
 returns the parent timeline for the Anim<> or NULL if there is none

Protected Member Functions

void set (const AnimBase &rhs)
void setReplace (const AnimBase &rhs)
void setParentTimeline (TimelineRef parentTimeline)

Protected Attributes

mValue
void * mVoidPtr
TimelineRef mParentTimeline

Friends

class Timeline

template<typename T>
class cinder::Anim< T >


Constructor & Destructor Documentation

template<typename T>
cinder::Anim< T >::Anim ( )
template<typename T>
cinder::Anim< T >::Anim ( value)
template<typename T>
cinder::Anim< T >::Anim ( const Anim< T > &  rhs)
template<typename T>
cinder::Anim< T >::Anim ( Anim< T > &&  rhs)

Member Function Documentation

template<typename T>
const T& cinder::Anim< T >::operator() ( ) const
template<typename T>
T& cinder::Anim< T >::operator() ( )
template<typename T>
cinder::Anim< T >::operator const T & ( ) const
template<typename T>
Anim<T>& cinder::Anim< T >::operator= ( const Anim< T > &  rhs)
template<typename T>
Anim<T>& cinder::Anim< T >::operator= ( Anim< T > &&  rhs)
template<typename T>
Anim<T>& cinder::Anim< T >::operator= ( value)
template<typename T>
const T& cinder::Anim< T >::value ( ) const
template<typename T>
T& cinder::Anim< T >::value ( )
template<typename T>
const T* cinder::Anim< T >::ptr ( ) const
template<typename T>
T* cinder::Anim< T >::ptr ( )
void cinder::AnimBase::stop ( ) [inherited]

removes self from Timeline

bool cinder::AnimBase::isComplete ( ) const [inherited]

returns false if any tweens are active on 'this', otherwise true

returns the parent timeline for the Anim<> or NULL if there is none

void cinder::AnimBase::set ( const AnimBase rhs) [protected, inherited]
void cinder::AnimBase::setReplace ( const AnimBase rhs) [protected, inherited]
void cinder::AnimBase::setParentTimeline ( TimelineRef  parentTimeline) [protected, inherited]

Friends And Related Function Documentation

template<typename T>
friend class Timeline [friend]

Member Data Documentation

template<typename T>
T cinder::Anim< T >::mValue [protected]
void* cinder::AnimBase::mVoidPtr [protected, inherited]

The documentation for this class was generated from the following file: