00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #import "a2ml.h"
00011 #import "AMTime.h"
00012 #import "AMChunk.h"
00013 #import "AMControllable.h"
00014 #import "AMControllableHierarchy.h"
00015 #import "AMPlayable.h"
00016 #import "AMInstanciable.h"
00017 #import "AMIdentifiable.h"
00018 #import "AMCueInstance.h"
00019 #import <Foundation/Foundation.h>
00020
00021
00022
00023 @class AMChunk;
00024 @class AMCueInstance;
00025
00030 @interface AMCue : NSObject <AMControllable, AMControllableHierarchy, AMPlayable, AMInstanciable, AMIdentifiable> {
00031
00032 UID uid;
00033 AMTime *dur;
00034 AMTime *quantize;
00035 int loopCount;
00036 int priority;
00037 AMRetriggerType restartOnRetrigger;
00038 BOOL stream;
00039
00040
00041 NSMutableArray *instances;
00042 NSMutableDictionary *controls;
00043 NSMutableArray *chunks;
00044 NSMutableArray *channelGroups;
00045 }
00046
00050 @property (nonatomic, copy) AMTime *dur;
00051
00055 @property (nonatomic, copy) AMTime *quantize;
00056
00061 @property (nonatomic) int loopCount;
00062
00066 @property (nonatomic) int priority;
00067
00071 @property (nonatomic) AMRetriggerType restartOnRetrigger;
00072
00077 @property (nonatomic) BOOL stream;
00078
00079
00084 - (id)init;
00085
00090 - (void)addChunk:(AMChunk *)_chunk;
00091
00097 - (void)removeChunkAtIndex:(int)_idx;
00098
00099
00105 - (NSArray *)getChunks;
00106
00112 - (NSArray *)getInstances;
00113
00119 - (NSMutableArray **)getFMODChannelGroups;
00120
00126 - (AMCueInstance *)getCueInstanceWithParentUID:(UID)_parentUID;
00127
00128 @end