Lumiera  0.pre.03
»edit your freedom«
play-controller.cpp
Go to the documentation of this file.
1 /*
2  PlayProcess - frontend to control an play process
3 
4  Copyright (C)
5  2011, Hermann Vosseler <Ichthyostega@web.de>
6 
7   **Lumiera** is free software; you can redistribute it and/or modify it
8   under the terms of the GNU General Public License as published by the
9   Free Software Foundation; either version 2 of the License, or (at your
10   option) any later version. See the file COPYING for further details.
11 
12 * *****************************************************************/
13 
14 
31 #include "lib/time/timevalue.hpp"
32 
33 //#include <string>
34 //#include <memory>
35 //#include <functional>
36 
37 namespace lumiera {
38 
39  using lib::time::Time;
40  using lib::time::Duration;
41  using lib::time::TimeSpan;
43 
44 
45 
46  /* ==== Play::Controller implementation ==== */
47 
50  void
52  {
53  UNIMPLEMENTED ("toggle play/pause state");
54  }
55 
56 
60  void
62  {
63  UNIMPLEMENTED ("scrubbing playback");
64  }
65 
66 
67  void
69  {
70  UNIMPLEMENTED ("adjust actual playback speed");
71  }
72 
73 
77  void
79  {
80  UNIMPLEMENTED ("jump to given time");
81  }
82 
83 
87  void
88  Play::Controller::controlPlayhead (time::Control<Time> & ctrl)
89  {
90  UNIMPLEMENTED ("install a controller for influencing the 'playhead position'");
91  }
92 
93 
97  void
98  Play::Controller::controlDuration (time::Control<Duration> & ctrl)
99  {
100  UNIMPLEMENTED ("install a controller for influencing the overall playback duration");
101  }
102 
103 
107  void
108  Play::Controller::controlLooping (time::Control<TimeSpan> & ctrl)
109  {
110  UNIMPLEMENTED ("install a controller for adjusting looped playback");
111  }
112 
113 
117  void
118  Play::Controller::useProxyMedia (bool)
119  {
120  UNIMPLEMENTED ("toggle the use of proxy(placeholder) media");
121  }
122 
123 
127  void
128  Play::Controller::setQuality (uint)
129  {
130  UNIMPLEMENTED ("adjust the quality level of the current render");
131  }
132 
133 
137  bool
138  Play::Controller::is_playing() const
139  {
140  UNIMPLEMENTED ("retrieve the playback state");
141  }
142 
143 
147  bool
148  Play::Controller::is_scrubbing() const
149  {
150  UNIMPLEMENTED ("retrieve the state of scrubbing playback");
151  }
152 
153 
157  double
158  Play::Controller::getSpeed() const
159  {
160  UNIMPLEMENTED ("retrieve the current playback speed");
161  }
162 
163 
167  uint
168  Play::Controller::getQuality() const
169  {
170  UNIMPLEMENTED ("retrieve the current render quality setting");
171  }
172 
173 
177  bool
178  Play::Controller::usesProxy() const
179  {
180  UNIMPLEMENTED ("determine if the current render/playback uses proxy media");
181  }
182 
183 
187  Play::Controller::operator weak_ptr<PlayProcess>() const
188  {
189  return weak_ptr<PlayProcess> (this->smPtr_);
190  }
191 
192 
193 
194 }
195 
196 
197 namespace steam{
198 namespace play{
199 
200 // using std::string;
201 // using lumiera::Subsys;
202 // using std::bind;
203 
204 
205  namespace { // hidden local details of the service implementation....
206 
207 
208 
209  } // (End) hidden service impl details
210 
211 
212 
213 
217 }} // namespace steam::play
void play(bool)
play/pause toggle
Frontend/Interface: controller-element to retrieve and change running time values.
Definition: control.hpp:125
void scrub(bool)
scrubbing playback
Steam-Layer implementation namespace root.
Playback/Render process within the Lumiera Player.
Lumiera&#39;s internal time value datatype.
Definition: timevalue.hpp:299
Functionality for driving and controlling an ongoing playback or render.
void adjustSpeed(double)
playback speed control
Lumiera public interface.
Definition: advice.cpp:104
Duration is the internal Lumiera time metric.
Definition: timevalue.hpp:468
A time interval anchored at a specific point in time.
Definition: timevalue.hpp:573
a family of time value like entities and their relationships.
Organisational unit of an ongoing render- or playback process.
void go(time::Time)
skip to the given point in time