1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
#ifndef _AggregateLink_h_
#define _AggregateLink_h_
#include "AggregateEvent.h"
/** AggregateLink
* Aggregates many smaller links, between specific pair of org-dest containers.
*/
@interface AggregateLink : AggregateEvent
{
PajeContainer *sourceContainer; // not retained
PajeContainer *destContainer; // not retained
}
/** returns a newly created aggregate link made from the entities array.
*/
+ (PajeEntity *)entityWithEntities:(NSArray *)entities;
- (id)initWithEntities:(NSArray *)entities;
- (double)subDurationAtIndex:(unsigned)i;
@end
#endif
|