Debian Codegraph @

gstreamer/gstreamermm/pipeline.cc

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/pipeline.cc`/
2
3
4 #include <glibmm.h>
5
6 #include <gstreamermm/pipeline.h>cxx . . $ `<file>/gstreamer/gstreamermm/pipeline.h`/
7 #include <gstreamermm/private/pipeline_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/pipeline_p.h`/
8
9
10 /* gstreamermm - a C++ wrapper for gstreamer
11 *
12 * Copyright 2008-2016 The gstreamermm Development Team
13 *
14 * This library is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU Lesser General Public
16 * License as published by the Free Software Foundation; either
17 * version 2.1 of the License, or (at your option) any later version.
18 *
19 * This library is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 * Lesser General Public License for more details.
23 *
24 * You should have received a copy of the GNU Lesser General Public
25 * License along with this library; if not, write to the Free
26 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
27 */
28
29 #include <gst/gst.h>
30 #include <gstreamermm/bus.h>cxx . . $ `<file>/gstreamer/gstreamermm/bus.h`/
31
32
33 namespace Gstcxx . . $ Gst/
34 {
35
36 Pipelinecxx . . $ Gst/Pipeline#::Pipelinecxx . . $ Gst/Pipeline#Pipeline(49f6e7a06ebc5aa8).()
37 : // Mark this class as non-derived to allow C++ vfuncs to be skipped.
38 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#(nullptr),
39 Bincxx . . $ Gst/Bin#(Glibcxx . . $ Glib/ConstructParams#ConstructParams(88d8205c725482fb).::ConstructParamscxx . . $ Glib/ConstructParams#(pipeline_class_cxx . . $ Gst/Pipeline#pipeline_class_..initcxx . . $ Gst/Pipeline_Class#init(bf348c0cd369184d).(), "name",static_cast<char*>(0), nullptr))
40 {}
41
42 } // namespace Gst
43
44 namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/pipeline.cc`/
45 {
46 } // anonymous namespace
47
48
49 namespace Glibcxx . . $ Glib/
50 {
51
52 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Pipelinecxx . . $ Gst/Pipeline#> wrapcxx . . $ Glib/wrap(6ce087e4dd13c494).(GstPipelinecxx . . $ GstPipeline#* object, bool take_copy)
53 {
54 return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Pipelinecxx . . $ Gst/Pipeline#>( dynamic_cast<Gstcxx . . $ Gst/::Pipelinecxx . . $ Gst/Pipeline#*> (Glibcxx . . $ Glib/::wrap_autocxx . . $ Glib/wrap_auto(fd1af59aa43b0601). ((GObjectcxx . . $ GObject#*)(object), take_copy)) );
55 //We use dynamic_cast<> in case of multiple inheritance.
56 }
57
58 } /* namespace Glib */
59
60
61 namespace Gstcxx . . $ Gst/
62 {
63
64
65 /* The *_Class implementation: */
66
67 const Glibcxx . . $ Glib/::Classcxx . . $ Glib/Class#& Pipeline_Classcxx . . $ Gst/Pipeline_Class#::initcxx . . $ Gst/Pipeline_Class#init(bf348c0cd369184d).()
68 {
69 if(!gtype_cxx . . $ Glib/Class#gtype_.) // create the GType if necessary
70 {
71 // Glib::Class has to know the class init function to clone custom types.
72 class_init_func_cxx . . $ Glib/Class#class_init_func_. = &Pipeline_Classcxx . . $ Gst/Pipeline_Class#::class_init_functioncxx . . $ Gst/Pipeline_Class#class_init_function(6c58c5e2437d25a2).;
73
74 // This is actually just optimized away, apparently with no harm.
75 // Make sure that the parent type has been created.
76 //CppClassParent::CppObjectType::get_type();
77
78 // Create the wrapper type, with the same class/instance size as the base type.
79 register_derived_typecxx . . $ Glib/Class#register_derived_type(2c44cd906ae4e829).(gst_pipeline_get_type());
80
81 // Add derived versions of interfaces, if the C type implements any interfaces:
82
83 }
84
85 return *this;
86 }
87
88
89 void Pipeline_Classcxx . . $ Gst/Pipeline_Class#::class_init_functioncxx . . $ Gst/Pipeline_Class#class_init_function(6c58c5e2437d25a2).(void* g_class, void* class_data)
90 {
91 const auto klass = static_cast<BaseClassTypecxx . . $ Gst/Pipeline_Class#BaseClassType#*>(g_class);
92 CppClassParentcxx . . $ Gst/Pipeline_Class#CppClassParent#::class_init_functioncxx . . $ Gst/Bin_Class#class_init_function(6c58c5e2437d25a2).(klass, class_data);
93
94
95 }
96
97
98 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#* Pipeline_Classcxx . . $ Gst/Pipeline_Class#::wrap_newcxx . . $ Gst/Pipeline_Class#wrap_new(893eec6d4349e251).(GObjectcxx . . $ GObject#* object)
99 {
100 return new Pipelinecxx . . $ Gst/Pipeline#((GstPipelinecxx . . $ GstPipeline#*)object);
101 }
102
103
104 /* The implementation: */
105
106 GstPipelinecxx . . $ GstPipeline#* Pipelinecxx . . $ Gst/Pipeline#::gobj_copycxx . . $ Gst/Pipeline#gobj_copy(777c9ef6cc99e163).()
107 {
108 referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).();
109 return gobjcxx . . $ Gst/Pipeline#gobj(777c9ef6cc99e163).();
110 }
111
112 Pipelinecxx . . $ Gst/Pipeline#::Pipelinecxx . . $ Gst/Pipeline#Pipeline(237165b4a42a691a).(const Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#& construct_params)
113 :
114 Bincxx . . $ Gst/Bin#(construct_params)
115 {
116
117 }
118
119 Pipelinecxx . . $ Gst/Pipeline#::Pipelinecxx . . $ Gst/Pipeline#Pipeline(51f59b3c0eb8c96d).(GstPipelinecxx . . $ GstPipeline#* castitem)
120 :
121 Bincxx . . $ Gst/Bin#((GstBincxx . . $ GstBin#*)(castitem))
122 {}
123
124
125 Pipelinecxx . . $ Gst/Pipeline#::Pipelinecxx . . $ Gst/Pipeline#Pipeline(f7ff70297b6364fd).(Pipelinecxx . . $ Gst/Pipeline#&& src) noexcept
126 : Bincxx . . $ Gst/Bin#(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src))
127 {}
128
129 Pipelinecxx . . $ Gst/Pipeline#& Pipelinecxx . . $ Gst/Pipeline#::operatorcxx . . $ Gst/Pipeline#`operator=`(19b43b03fd06c3ba).=(Pipelinecxx . . $ Gst/Pipeline#&& src) noexcept
130 {
131 Bincxx . . $ Gst/Bin#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src));
132 return *this;
133 }
134
135
136 Pipelinecxx . . $ Gst/Pipeline#::~cxx . . $ Gst/Pipeline#`~Pipeline`(ced63f7c635d850d).Pipelinecxx . . $ Gst/Pipeline#() noexcept
137 {}
138
139
140 Pipelinecxx . . $ Gst/Pipeline#::CppClassTypecxx . . $ Gst/Pipeline#CppClassType# Pipelinecxx . . $ Gst/Pipeline#::pipeline_class_cxx . . $ Gst/Pipeline#pipeline_class_.; // initialize static member
141
142 GType Pipelinecxx . . $ Gst/Pipeline#::get_typecxx . . $ Gst/Pipeline#get_type(f708dce9a8856c70).()
143 {
144 return pipeline_class_cxx . . $ Gst/Pipeline#pipeline_class_..initcxx . . $ Gst/Pipeline_Class#init(bf348c0cd369184d).().get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).();
145 }
146
147
148 GType Pipelinecxx . . $ Gst/Pipeline#::get_base_typecxx . . $ Gst/Pipeline#get_base_type(f708dce9a8856c70).()
149 {
150 return gst_pipeline_get_type();
151 }
152
153
154 Pipelinecxx . . $ Gst/Pipeline#::Pipelinecxx . . $ Gst/Pipeline#Pipeline(1ff0bff2cee2bc51).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name)
155 :
156 // Mark this class as non-derived to allow C++ vfuncs to be skipped.
157 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#(nullptr),
158 Bincxx . . $ Gst/Bin#(Glibcxx . . $ Glib/ConstructParams#ConstructParams(88d8205c725482fb).::ConstructParamscxx . . $ Glib/ConstructParams#(pipeline_class_cxx . . $ Gst/Pipeline#pipeline_class_..initcxx . . $ Gst/Pipeline_Class#init(bf348c0cd369184d).(), "name", name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), nullptr))
159 {
160
161
162 }
163
164 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Pipelinecxx . . $ Gst/Pipeline#> Pipelinecxx . . $ Gst/Pipeline#::createcxx . . $ Gst/Pipeline#create(4db98da4abd65927).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name)
165 {
166 return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Pipelinecxx . . $ Gst/Pipeline#>( new Pipelinecxx . . $ Gst/Pipeline#(name) );
167 }
168
169 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Pipelinecxx . . $ Gst/Pipeline#> Pipelinecxx . . $ Gst/Pipeline#::createcxx . . $ Gst/Pipeline#create(5502e112d2933258).()
170 {
171 return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Pipelinecxx . . $ Gst/Pipeline#>( new Pipelinecxx . . $ Gst/Pipeline#() );
172 }
173
174 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buscxx . . $ Gst/Bus#> Pipelinecxx . . $ Gst/Pipeline#::get_buscxx . . $ Gst/Pipeline#get_bus(ada66d6ded80d30d).()
175 {
176 return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(79deee541be19870).(gst_pipeline_get_bus(gobjcxx . . $ Gst/Pipeline#gobj(777c9ef6cc99e163).()));
177 }
178
179 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Buscxx . . $ Gst/Bus#> Pipelinecxx . . $ Gst/Pipeline#::get_buscxx . . $ Gst/Pipeline#get_bus(efc00cdb06f7ebfe).() const
180 {
181 return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<Pipelinecxx . . $ Gst/Pipeline#*>(this)->get_buscxx . . $ Gst/Pipeline#get_bus(ada66d6ded80d30d).();
182 }
183
184 bool Pipelinecxx . . $ Gst/Pipeline#::set_clockcxx . . $ Gst/Pipeline#set_clock(1ff05c66ddfda83a).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Clockcxx . . $ Gst/Clock#>& clock)
185 {
186 return gst_pipeline_set_clock(gobjcxx . . $ Gst/Pipeline#gobj(777c9ef6cc99e163).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(clock));
187 }
188
189 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Clockcxx . . $ Gst/Clock#> Pipelinecxx . . $ Gst/Pipeline#::get_clockcxx . . $ Gst/Pipeline#get_clock(675458b535f1101e).()
190 {
191 return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(72ee10a641f5814b).(gst_pipeline_get_clock(gobjcxx . . $ Gst/Pipeline#gobj(777c9ef6cc99e163).()));
192 }
193
194 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Clockcxx . . $ Gst/Clock#> Pipelinecxx . . $ Gst/Pipeline#::get_clockcxx . . $ Gst/Pipeline#get_clock(d423a9683e0d77bf).() const
195 {
196 return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<Pipelinecxx . . $ Gst/Pipeline#*>(this)->get_clockcxx . . $ Gst/Pipeline#get_clock(675458b535f1101e).();
197 }
198
199 void Pipelinecxx . . $ Gst/Pipeline#::use_clockcxx . . $ Gst/Pipeline#use_clock(e5e3afe181dde1a3).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Clockcxx . . $ Gst/Clock#>& clock)
200 {
201 gst_pipeline_use_clock(gobjcxx . . $ Gst/Pipeline#gobj(777c9ef6cc99e163).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(clock));
202 }
203
204 void Pipelinecxx . . $ Gst/Pipeline#::auto_clockcxx . . $ Gst/Pipeline#auto_clock(49f6e7a06ebc5aa8).()
205 {
206 gst_pipeline_auto_clock(gobjcxx . . $ Gst/Pipeline#gobj(777c9ef6cc99e163).());
207 }
208
209 void Pipelinecxx . . $ Gst/Pipeline#::set_auto_flush_buscxx . . $ Gst/Pipeline#set_auto_flush_bus(d4f767463ce0a6b3).(gboolean auto_flush)
210 {
211 gst_pipeline_set_auto_flush_bus(gobjcxx . . $ Gst/Pipeline#gobj(777c9ef6cc99e163).(), auto_flush);
212 }
213
214 bool Pipelinecxx . . $ Gst/Pipeline#::get_auto_flush_buscxx . . $ Gst/Pipeline#get_auto_flush_bus(50ce9a9e25b4a850).() const
215 {
216 return gst_pipeline_get_auto_flush_bus(const_cast<GstPipelinecxx . . $ GstPipeline#*>(gobjcxx . . $ Gst/Pipeline#gobj(eca8bb62b340ddcf).()));
217 }
218
219 void Pipelinecxx . . $ Gst/Pipeline#::set_delaycxx . . $ Gst/Pipeline#set_delay(2c44cd906ae4e829).(ClockTimecxx . . $ Gst/ClockTime# delay)
220 {
221 gst_pipeline_set_delay(gobjcxx . . $ Gst/Pipeline#gobj(777c9ef6cc99e163).(), ((GstClockTime)(delay)));
222 }
223
224 ClockTimecxx . . $ Gst/ClockTime# Pipelinecxx . . $ Gst/Pipeline#::get_delaycxx . . $ Gst/Pipeline#get_delay(fe4d2d262d4164a8).() const
225 {
226 return ((ClockTimecxx . . $ Gst/ClockTime#)(gst_pipeline_get_delay(const_cast<GstPipelinecxx . . $ GstPipeline#*>(gobjcxx . . $ Gst/Pipeline#gobj(eca8bb62b340ddcf).()))));
227 }
228
229 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Clockcxx . . $ Gst/Clock#> Pipelinecxx . . $ Gst/Pipeline#::get_pipeline_clockcxx . . $ Gst/Pipeline#get_pipeline_clock(675458b535f1101e).()
230 {
231 return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(72ee10a641f5814b).(gst_pipeline_get_pipeline_clock(gobjcxx . . $ Gst/Pipeline#gobj(777c9ef6cc99e163).()));
232 }
233
234 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Clockcxx . . $ Gst/Clock#> Pipelinecxx . . $ Gst/Pipeline#::get_pipeline_clockcxx . . $ Gst/Pipeline#get_pipeline_clock(d423a9683e0d77bf).() const
235 {
236 return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<Pipelinecxx . . $ Gst/Pipeline#*>(this)->get_pipeline_clockcxx . . $ Gst/Pipeline#get_pipeline_clock(675458b535f1101e).();
237 }
238
239 void Pipelinecxx . . $ Gst/Pipeline#::set_latencycxx . . $ Gst/Pipeline#set_latency(2c44cd906ae4e829).(Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime# latency)
240 {
241 gst_pipeline_set_latency(gobjcxx . . $ Gst/Pipeline#gobj(777c9ef6cc99e163).(), ((GstClockTime)(latency)));
242 }
243
244 Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime# Pipelinecxx . . $ Gst/Pipeline#::get_latencycxx . . $ Gst/Pipeline#get_latency(fe4d2d262d4164a8).() const
245 {
246 return ((Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime#)(gst_pipeline_get_latency(const_cast<GstPipelinecxx . . $ GstPipeline#*>(gobjcxx . . $ Gst/Pipeline#gobj(eca8bb62b340ddcf).()))));
247 }
248
249
250 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< guint64 > Pipelinecxx . . $ Gst/Pipeline#::property_latencycxx . . $ Gst/Pipeline#property_latency(d486e8c449033ce8).()
251 {
252 return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< guint64 >(this, "latency");
253 }
254
255 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint64 > Pipelinecxx . . $ Gst/Pipeline#::property_latencycxx . . $ Gst/Pipeline#property_latency(626cd103ac35282).() const
256 {
257 return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint64 >(this, "latency");
258 }
259
260 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< bool > Pipelinecxx . . $ Gst/Pipeline#::property_auto_flush_buscxx . . $ Gst/Pipeline#property_auto_flush_bus(962e4b383dc974dc).()
261 {
262 return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< bool >(this, "auto-flush-bus");
263 }
264
265 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool > Pipelinecxx . . $ Gst/Pipeline#::property_auto_flush_buscxx . . $ Gst/Pipeline#property_auto_flush_bus(bb701360c56d84c7).() const
266 {
267 return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool >(this, "auto-flush-bus");
268 }
269
270 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< ClockTimecxx . . $ Gst/ClockTime# > Pipelinecxx . . $ Gst/Pipeline#::property_delaycxx . . $ Gst/Pipeline#property_delay(d486e8c449033ce8).()
271 {
272 return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< ClockTimecxx . . $ Gst/ClockTime# >(this, "delay");
273 }
274
275 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< ClockTimecxx . . $ Gst/ClockTime# > Pipelinecxx . . $ Gst/Pipeline#::property_delaycxx . . $ Gst/Pipeline#property_delay(626cd103ac35282).() const
276 {
277 return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< ClockTimecxx . . $ Gst/ClockTime# >(this, "delay");
278 }
279
280
281 } // namespace Gst
282
283