AMAnimation Class Reference

An animation allows to create realtime variations of a specified control parameter. More...

#import <AMAnimation.h>

Inheritance diagram for AMAnimation:

< AMPlayable > < AMInstanciable > < AMIdentifiable > < AMControllableHierarchy >

List of all members.

Public Member Functions

(id) - initWithParent:control:attribute:
 Creates a new animation for the specified control and parameter.
(void) - animateWithValues:
 Performs a static animation (set) with the given value.
(id< AMControllable >) - getControlParent
 Returns the parent element of the control to animate.
(NSString *) - getControlName
 Returns the name of the control to animate.
(NSString *) - getAttributeName
 Returns the attribute of the control to animate.

Protected Attributes

UID uid
id< AMControllable > parent
NSString * control
NSString * attribute
NSMutableArray * instances

Properties

AMTime * dur
 The duration of the animation.
AMTime * quantize
 The quantization value of the animation.
AMValue * from
 The starting value of the parameter to animate.
AMValue * to
 The ending value of the parameter to animate.
AMValue * by
 The relative offset value of the parameter to animate.
AMFillType fill
AMAccumulationType accumulation
float repeatCount
AMTime * repeatDur
NSArray * values
NSString * eventValue


Detailed Description

An animation allows to create realtime variations of a specified control parameter.

Animations are managed by the scheduler and can be synchronized on time and/or events.


Member Function Documentation

- (void) animateWithValues: (id)  _value  

Performs a static animation (set) with the given value.

Parameters:
values The value to apply on the specified attribute of the animation.

- (NSString *) getAttributeName  

Returns the attribute of the control to animate.

FOR INTERNAL USAGE ONLY.

Returns:
The attribute of the control to animate.

- (NSString *) getControlName  

Returns the name of the control to animate.

FOR INTERNAL USAGE ONLY.

Returns:
The name of the control to animate.

- (id< AMControllable >) getControlParent  

Returns the parent element of the control to animate.

FOR INTERNAL USAGE ONLY.

Returns:
The parent element of the control to animate.

- (id) initWithParent: (id<AMControllable>)  _parent
control: (NSString *)  _control
attribute: (NSString *)  _attribute 

Creates a new animation for the specified control and parameter.

Parameters:
parent The parent of the control to animate.
control The control to animate.
attribute The attribute of the control to animate.
Returns:
The new animation object.


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

Generated on Mon May 16 16:29:48 2011 for ARIA by  doxygen 1.5.9