Cinder  0.9.1
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
cinder::Anim< T > Class Template Reference

#include <Tween.h>

Inherits cinder::AnimBase.

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 ()
 
bool isComplete () const
 
TimelineRef getParent () const
 

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
 

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

TimelineRef cinder::AnimBase::getParent ( ) const
inherited

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

void cinder::AnimBase::set ( const AnimBase rhs)
protectedinherited
void cinder::AnimBase::setReplace ( const AnimBase rhs)
protectedinherited
void cinder::AnimBase::setParentTimeline ( TimelineRef  parentTimeline)
protectedinherited

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
protectedinherited
TimelineRef cinder::AnimBase::mParentTimeline
protectedinherited

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