| 1 |
<!DOCTYPE html> |
| 2 |
<html> |
| 3 |
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" > |
| 4 |
<title> Rework the GStreamer Editing Services class hierarchy </title> |
| 5 |
<xmp theme="cerulean" style="display:none;"> |
| 6 |
|
| 7 |
Reasoning: |
| 8 |
---------- |
| 9 |
|
| 10 |
All the time (position) related concepts are shared between GESTimelineObject and GESTrackObject |
| 11 |
and currently are repeated at the 2 levels. |
| 12 |
Moreover, if we want to add the concept of Group we end up with something quite similare to the current |
| 13 |
GESTimelineObject but that contains GESTimelineObject-s instead of GESTrackObject-s so we could share |
| 14 |
those informations creating a new class aiming at containing the objects that have that |
| 15 |
notion of timing. |
| 16 |
|
| 17 |
At the same time, we want to clarify namings. First we should remove the word Object in class names, |
| 18 |
we have been told various times that it sounds just "wrong" for people as Objects are instances and there |
| 19 |
we are talking about Classes. |
| 20 |
|
| 21 |
Class Hierarchy: |
| 22 |
------------- |
| 23 |
|
| 24 |
<pre><code> |
| 25 |
<table> |
| 26 |
<tr> |
| 27 |
<td> |
| 28 |
|
| 29 |
Before: |
| 30 |
------- |
| 31 |
|
| 32 |
GESTimelineObject |
| 33 |
GESTimelineSource |
| 34 |
GESCustomTimelineSource |
| 35 |
GESTimelineTestSource |
| 36 |
GESTimelineFileSource |
| 37 |
GESTimelineTitleSource |
| 38 |
GESTimelineOperation |
| 39 |
GESTimelineOverlay |
| 40 |
GESTimelineTextOverlay |
| 41 |
GESTimelineTransition |
| 42 |
GESTimelineTransition |
| 43 |
GESTimelineEffect |
| 44 |
GESTimelineParseLaunchEffect |
| 45 |
GESTimelineLayer |
| 46 |
GESSimpleTimelineLayer |
| 47 |
GESTrackObject |
| 48 |
GESTrackSource |
| 49 |
GESTrackAudioTestSource |
| 50 |
GESTrackFileSource |
| 51 |
GESTrackImageSource |
| 52 |
GESTrackTitleSource |
| 53 |
GESTrackVideoTestSource |
| 54 |
GESTrackOperation |
| 55 |
GESTrackTransition |
| 56 |
GESTrackAudioTransition |
| 57 |
GESTrackVideoTransition |
| 58 |
GESTrackEffect |
| 59 |
GESTrackParseLaunchEffect |
| 60 |
GESTrackTextOverlay |
| 61 |
</td> |
| 62 |
<td> |
| 63 |
|
| 64 |
After: |
| 65 |
------- |
| 66 |
|
| 67 |
GESTimelineElement |
| 68 |
GESContainer |
| 69 |
GESClip |
| 70 |
GESSourceClip |
| 71 |
GESCustomSourceClip |
| 72 |
GESTestClip |
| 73 |
GESUriClip |
| 74 |
GESTitleClip |
| 75 |
GESOperationClip |
| 76 |
GESOverlayClip |
| 77 |
GESTextOverlayClip |
| 78 |
GESBaseTransitionClip |
| 79 |
GESTransitionClip |
| 80 |
GESBaseEffectClip |
| 81 |
GESEffectClip |
| 82 |
GESClipGroup |
| 83 |
GESTrackElement |
| 84 |
GESSource |
| 85 |
GESAudioTestSource |
| 86 |
GESUriSource |
| 87 |
GESImageSource |
| 88 |
GESTitleSource |
| 89 |
GESVideoTestSource |
| 90 |
GESOperation |
| 91 |
GESTransition |
| 92 |
GESAudioTransition |
| 93 |
GESVideoTransition |
| 94 |
GESBaseEffect |
| 95 |
GESEffect |
| 96 |
GESTextOverlay |
| 97 |
</td> |
| 98 |
</tr> |
| 99 |
</table> |
| 100 |
</code></pre> |
| 101 |
</xmp> |
| 102 |
<script src="http://strapdownjs.com/v/0.1/strapdown.js"></script> |
| 103 |
</html> |