Cinder  0.8.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
cinder::Anim< T > Class Template Reference

#include <Tween.h>

Inheritance diagram for cinder::Anim< T >:
[legend]

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 More...
 
bool isComplete () const
 returns false if any tweens are active on 'this', otherwise true More...
 
TimelineRef getParent () const
 returns the parent timeline for the Anim<> or NULL if there is none More...
 

Protected Member Functions

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

Protected Attributes

mValue
 
voidmVoidPtr
 
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: