Lumiera  0.pre.03
»edityourfreedom«
clip-track.hpp
Go to the documentation of this file.
1 /*
2  clip-track.hpp - Declaration of a clip containing track object
3 
4  Copyright (C) Lumiera.org
5  2008, Joel Holdsworth <joel@airwebreathe.org.uk>
6 
7  This program is free software; you can redistribute it and/or
8  modify it under the terms of the GNU General Public License as
9  published by the Free Software Foundation; either version 2 of
10  the License, or (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program; if not, write to the Free Software
19  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 
21 */
22 
31 #ifndef CLIP_TRACK_HPP
32 #define CLIP_TRACK_HPP
33 
34 #include "gui/model/track.hpp"
35 #include "lib/observable-list.hpp"
36 
37 namespace gui {
38 namespace model {
39 
40  class Clip;
41 
42  class ClipTrack : public Track
43  {
44  public:
48  ClipTrack();
49 
53  std::string
54  print_track();
55 
60  getClipList(void);
61 
62  private:
63 
65 
66  };
67 
68 } // namespace timeline
69 } // namespace gui
70 
71 #endif // CLIP_TRACK_HPP
lumiera::observable_list< shared_ptr< Clip > > & getClipList(void)
Gets the list of clips associated with this track.
Definition: clip-track.cpp:60
An observable_list is an STL list with an inbuilt sigc++ signal that allows observers to be notified ...
Lumiera GTK UI implementation root.
Definition: guifacade.cpp:47
lumiera::observable_list< shared_ptr< Clip > > clips
Definition: clip-track.hpp:64
Preliminary UI-model: Definition of Track, a class which represents a track, and wraps proc layer dat...
ClipTrack()
Constructor.
Definition: clip-track.cpp:38
std::string print_track()
Gets a string representation of the track that is suitable for debugging.
Definition: clip-track.cpp:50
This file contains the definition of the observable list class.
The model representation of a track.
Definition: track.hpp:51