Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
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
32
33//#include <string>
34//#include <memory>
35//#include <functional>
36
37namespace lumiera {
38
39 using lib::time::Time;
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
89 {
90 UNIMPLEMENTED ("install a controller for influencing the 'playhead position'");
91 }
92
93
97 void
99 {
100 UNIMPLEMENTED ("install a controller for influencing the overall playback duration");
101 }
102
103
107 void
109 {
110 UNIMPLEMENTED ("install a controller for adjusting looped playback");
111 }
112
113
117 void
119 {
120 UNIMPLEMENTED ("toggle the use of proxy(placeholder) media");
121 }
122
123
127 void
129 {
130 UNIMPLEMENTED ("adjust the quality level of the current render");
131 }
132
133
137 bool
139 {
140 UNIMPLEMENTED ("retrieve the playback state");
141 }
142
143
147 bool
149 {
150 UNIMPLEMENTED ("retrieve the state of scrubbing playback");
151 }
152
153
157 double
159 {
160 UNIMPLEMENTED ("retrieve the current playback speed");
161 }
162
163
167 uint
169 {
170 UNIMPLEMENTED ("retrieve the current render quality setting");
171 }
172
173
177 bool
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
197namespace steam{
198namespace 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
Frontend/Interface: controller-element to retrieve and change running time values.
Definition control.hpp:127
Duration is the internal Lumiera time metric.
A time interval anchored at a specific point in time.
Lumiera's internal time value datatype.
void controlPlayhead(time::Control< time::Time > &ctrl)
void play(bool)
play/pause toggle
void adjustSpeed(double)
playback speed control
void controlLooping(time::Control< time::TimeSpan > &ctrl)
void scrub(bool)
scrubbing playback
void go(time::Time)
skip to the given point in time
void controlDuration(time::Control< time::Duration > &ctrl)
Playback/Render process within the Lumiera Player.
unsigned int uint
Definition integral.hpp:29
Lumiera public interface.
Definition advice.hpp:102
Steam-Layer implementation namespace root.
Functionality for driving and controlling an ongoing playback or render.
Organisational unit of an ongoing render- or playback process.
a family of time value like entities and their relationships.