source: trunk/src_apollo/org/apollo/audio/structure/AbsoluteTrackNode.java@ 315

Last change on this file since 315 was 315, checked in by bjn8, 16 years ago

Apollo spin-off added

File size: 989 bytes
Line 
1package org.apollo.audio.structure;
2
3/**
4 * An immutable class that points to a TrackGraphInfo and gives
5 * a absolute initiation time.
6 *
7 * @see OverdubbedFrame#getAbsoluteTrackLayoutDeep()
8 *
9 * @author Brook Novak
10 *
11 */
12public class AbsoluteTrackNode {
13
14 private TrackGraphNode tnode;
15 private long absStartTime;
16 private String channelID;
17 private String parentFrameName;
18
19 AbsoluteTrackNode(TrackGraphNode tnode, long absStartTime, String channelID, String parentFrameName) {
20 assert(tnode != null);
21 assert(channelID != null);
22 assert(absStartTime >= 0);
23 assert(parentFrameName != null);
24
25 this.tnode = tnode;
26 this.absStartTime = absStartTime;
27 this.channelID = channelID;
28 this.parentFrameName = parentFrameName;
29 }
30
31 public long getABSStartTime() {
32 return absStartTime;
33 }
34
35 public TrackGraphNode getTrackNode() {
36 return tnode;
37 }
38
39 public String getChannelID() {
40 return channelID;
41 }
42
43 public String getParentFrameName() {
44 return parentFrameName;
45 }
46}
Note: See TracBrowser for help on using the repository browser.