Debian Codegraph @

gstreamer/gstreamermm/pad.cc

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/pad.cc`/
2
3
4 #include <glibmm.h>
5
6 #include <gstreamermm/pad.h>cxx . . $ `<file>/gstreamer/gstreamermm/pad.h`/
7 #include <gstreamermm/private/pad_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/pad_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/buffer.h>cxx . . $ `<file>/gstreamer/gstreamermm/buffer.h`/
31 #include <gstreamermm/caps.h>cxx . . $ `<file>/gstreamer/gstreamermm/caps.h`/
32 #include <gstreamermm/element.h>cxx . . $ `<file>/gstreamer/gstreamermm/element.h`/
33 #include <gstreamermm/event.h>cxx . . $ `<file>/gstreamer/gstreamermm/event.h`/
34 #include <gstreamermm/padtemplate.h>cxx . . $ `<file>/gstreamer/gstreamermm/padtemplate.h`/
35 #include <gstreamermm/iterator.h>cxx . . $ `<file>/gstreamer/gstreamermm/iterator.h`/
36 #include <gstreamermm/message.h>cxx . . $ `<file>/gstreamer/gstreamermm/message.h`/
37 #include <gstreamermm/bus.h>cxx . . $ `<file>/gstreamer/gstreamermm/bus.h`/
38
39
40 namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/pad.cc`/
41 {
42
43 extern "C"
44 {
45 static GstPadProbeReturn Pad_Probe_gstreamermm_callback(GstPadcxx . . $ GstPad#* pad, GstPadProbeInfo* probe_info, void* data)
46 {
47 Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#::SlotProbecxx . . $ Gst/Pad#SlotProbe#* the_slot = static_cast<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#::SlotProbecxx . . $ Gst/Pad#SlotProbe#*>(data);
48 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> pad_wrapper = Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(pad, true);
49 try
50 {
51 return static_cast<GstPadProbeReturn>((*the_slot)(cxx . . $ sigc/slot2#`operator()`(d6f853cadabc373b).pad_wrapper, Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(b1571560c754b3d5).(probe_info, true)));
52 }
53 catch(...)
54 {
55 pad_wrapper->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).exception_handlercxx . . $ Gst/Pad#exception_handler(49f6e7a06ebc5aa8).();
56 }
57
58 return GST_PAD_PROBE_DROP;
59 }
60
61 static void Pad_Probe_gstreamermm_callback_disconnect(void* data)
62 {
63 Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#::SlotProbecxx . . $ Gst/Pad#SlotProbe#* the_slot = static_cast<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#::SlotProbecxx . . $ Gst/Pad#SlotProbe#*>(data);
64
65 if(the_slot)
66 delete the_slot;
67 }
68
69 } // extern "C"
70
71 } // anonymous namespace
72
73 namespace Gstcxx . . $ Gst/
74 {
75
76 Padcxx . . $ Gst/Pad#::Padcxx . . $ Gst/Pad#Pad(26112d66d7d4dce7).(PadDirectioncxx . . $ Gst/PadDirection# dir)
77 : // Mark this class as non-derived to allow C++ vfuncs to be skipped.
78 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#(nullptr),
79 Objectcxx . . $ Gst/Object#(Glibcxx . . $ Glib/ConstructParams#ConstructParams(88d8205c725482fb).::ConstructParamscxx . . $ Glib/ConstructParams#(pad_class_cxx . . $ Gst/Pad#pad_class_..initcxx . . $ Gst/Pad_Class#init(bf348c0cd369184d).(), "name",nullptr,"direction",dir, nullptr))
80 {}
81
82 Padcxx . . $ Gst/Pad#::Padcxx . . $ Gst/Pad#Pad(643e3610deda6dfd).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::PadTemplatecxx . . $ Gst/PadTemplate#>& templ,
83 const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name)
84 : // Mark this class as non-derived to allow C++ vfuncs to be skipped.
85 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#(nullptr),
86 Objectcxx . . $ Gst/Object#(Glibcxx . . $ Glib/ConstructParams#ConstructParams(88d8205c725482fb).::ConstructParamscxx . . $ Glib/ConstructParams#(pad_class_cxx . . $ Gst/Pad#pad_class_..initcxx . . $ Gst/Pad_Class#init(bf348c0cd369184d).(), "name",(name.emptycxx . . $ Glib/ustring#empty(50ce9a9e25b4a850).() ? nullptr : name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()),"direction",(templ ? static_cast<GstPadDirection>(templ->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).get_directioncxx . . $ Gst/PadTemplate#get_direction(f7efc382e3c5b6e8).())
87 : GST_PAD_UNKNOWN),"template",Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(1fce0cab713be4a0).(templ), nullptr))
88 {
89 if(!templ)
90 gstreamermm_handle_errorcxx . . $ Gst/gstreamermm_handle_error(1ff0bff2cee2bc51).(
91 "Gst::Pad::Pad(const Glib::RefPtr<Gst::PadTemplate>&, "
92 "const Glib::ustring&): Failed to construct pad (name = " +cxx . . $ Glib/operator+(733d8bb4b557ea40). name +cxx . . $ Glib/operator+(6b0655b476210372). ") "
93 "from null template.");
94 }
95
96 Padcxx . . $ Gst/Pad#::Padcxx . . $ Gst/Pad#Pad(ac695de0cf010cf5).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::PadTemplatecxx . . $ Gst/PadTemplate#>& templ)
97 : // Mark this class as non-derived to allow C++ vfuncs to be skipped.
98 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#(nullptr),
99 Objectcxx . . $ Gst/Object#(Glibcxx . . $ Glib/ConstructParams#ConstructParams(88d8205c725482fb).::ConstructParamscxx . . $ Glib/ConstructParams#(pad_class_cxx . . $ Gst/Pad#pad_class_..initcxx . . $ Gst/Pad_Class#init(bf348c0cd369184d).(), "name",nullptr,"direction",(templ ? static_cast<GstPadDirection>(templ->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).get_directioncxx . . $ Gst/PadTemplate#get_direction(f7efc382e3c5b6e8).())
100 : GST_PAD_UNKNOWN),"template",Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(1fce0cab713be4a0).(templ), nullptr))
101 {
102 if(!templ)
103 gstreamermm_handle_errorcxx . . $ Gst/gstreamermm_handle_error(1ff0bff2cee2bc51).(
104 "Gst::Pad::Pad(const Glib::RefPtr<Gst::PadTemplate>&): Failed to "cxx . . $ Glib/ustring#ustring(85c52e162fed56f9).
105 "construct pad from null template.");
106 }
107
108 void Padcxx . . $ Gst/Pad#::exception_handlercxx . . $ Gst/Pad#exception_handler(49f6e7a06ebc5aa8).()
109 {
110 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Elementcxx . . $ Gst/Element#> parent = parent.cast_dynamiccxx . . $ Glib/RefPtr#cast_dynamic(ae2f6489aab097d1).(get_parentcxx . . $ Gst/Object#get_parent(9952950db3828d1a).());
111
112 if (!parent)
113 {
114 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
115 return;
116 }
117
118 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Messagecxx . . $ Gst/Message#> error_msgcxx . . $ Glib/RefPtr#RefPtr(ced63f7c635d850d).;
119
120 try
121 {
122 throw;
123 }
124 catch(const Glibcxx . . $ Glib/::Errorcxx . . $ Glib/Error#& error)
125 {
126 Glibcxx . . $ Glib/::Errorcxx . . $ Glib/Error# err = errorcxx . . $ Glib/Error#Error(6f4a7afe376a9b07).;
127 error_msg =cxx . . $ Glib/RefPtr#`operator=`(e6fff65c9cd76846). MessageErrorcxx . . $ Gst/MessageError#::createcxx . . $ Gst/MessageError#create(b47f0c28e4aecd09).(parentcxx . . $ Glib/RefPtr#RefPtr(8440a00309d85a0)., err, "glibmm exception"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).);
128 }
129 catch(const stdcxx . . $ std/::exception& ex)
130 {
131 Glibcxx . . $ Glib/::Errorcxx . . $ Glib/Error# errcxx . . $ Glib/Error#Error(528e95a33877deb5).(GST_CORE_ERRORcxx . . $ `<external>/12315369297432834342/gsterror.h:227:9`!, GST_CORE_ERROR_FAILED, excxx . . $ Glib/ustring#ustring(85c52e162fed56f9)..what());
132 error_msg =cxx . . $ Glib/RefPtr#`operator=`(e6fff65c9cd76846). MessageErrorcxx . . $ Gst/MessageError#::createcxx . . $ Gst/MessageError#create(b47f0c28e4aecd09).(parentcxx . . $ Glib/RefPtr#RefPtr(8440a00309d85a0)., err, "standard exception"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).);
133 }
134 catch(...)
135 {
136 Glibcxx . . $ Glib/::Errorcxx . . $ Glib/Error# errcxx . . $ Glib/Error#Error(528e95a33877deb5).(GST_CORE_ERRORcxx . . $ `<external>/12315369297432834342/gsterror.h:227:9`!, GST_CORE_ERROR_FAILED, ""cxx . . $ Glib/ustring#ustring(85c52e162fed56f9).);
137 error_msg =cxx . . $ Glib/RefPtr#`operator=`(e6fff65c9cd76846). MessageErrorcxx . . $ Gst/MessageError#::createcxx . . $ Gst/MessageError#create(b47f0c28e4aecd09).(parentcxx . . $ Glib/RefPtr#RefPtr(8440a00309d85a0)., err, "unknown error type"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).);
138 }
139
140 parent->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).post_messagecxx . . $ Gst/Element#post_message(4f74b222eb4db4d7).(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(error_msg));
141 }
142
143 gulong Padcxx . . $ Gst/Pad#::add_probecxx . . $ Gst/Pad#add_probe(ae80ce1fbdc3b914).(PadProbeTypecxx . . $ Gst/PadProbeType# mask, const SlotProbecxx . . $ Gst/Pad#SlotProbe#& slot)
144 {
145 SlotProbecxx . . $ Gst/Pad#SlotProbe#* slot_copy = new SlotProbecxx . . $ Gst/Pad#SlotProbe#(slot);
146 return gst_pad_add_probe(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).(), static_cast<GstPadProbeType>(mask), &Pad_Probe_gstreamermm_callback, slot_copy, &Pad_Probe_gstreamermm_callback_disconnect);
147 }
148
149 FlowReturncxx . . $ Gst/FlowReturn# Padcxx . . $ Gst/Pad#::get_rangecxx . . $ Gst/Pad#get_range(3e8a842ebd68c874).(guint64 offset, guint size, Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#>& buffer)
150 {
151 GstBuffer* c_buffer = nullptr;
152 GstFlowReturn result = gst_pad_get_range(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).(), offset, size, &c_buffer);
153 buffer =cxx . . $ Glib/RefPtr#`operator=`(dc512bde7586264e). Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3c551c778c6a14a5).(c_buffer, false);
154 return FlowReturncxx . . $ Gst/FlowReturn#(result);
155 }
156
157 FlowReturncxx . . $ Gst/FlowReturn# Padcxx . . $ Gst/Pad#::pull_rangecxx . . $ Gst/Pad#pull_range(3e8a842ebd68c874).(guint64 offset, guint size, Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#>& buffer)
158 {
159 GstBuffer* c_buffer = nullptr;
160 GstFlowReturn result = gst_pad_pull_range(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).(), offset, size, &c_buffer);
161 buffer =cxx . . $ Glib/RefPtr#`operator=`(dc512bde7586264e). Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3c551c778c6a14a5).(c_buffer, false);
162 return FlowReturncxx . . $ Gst/FlowReturn#(result);
163 }
164
165 bool Padcxx . . $ Gst/Pad#::query_positioncxx . . $ Gst/Pad#query_position(2ba5e7f867b86a28).(Formatcxx . . $ Gst/Format#& format) const
166 {
167 return gst_pad_query_position(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()), (GstFormat)format, nullptr);
168 }
169
170 bool Padcxx . . $ Gst/Pad#::query_durationcxx . . $ Gst/Pad#query_duration(2ba5e7f867b86a28).(Formatcxx . . $ Gst/Format#& format) const
171 {
172 return gst_pad_query_duration(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()), (GstFormat)format, nullptr);
173 }
174
175 GstFlowReturn Padcxx . . $ Gst/Pad#::Pad_Chain_gstreamermm_callbackcxx . . $ Gst/Pad#Pad_Chain_gstreamermm_callback(54f753bbeb6f9567).(GstPadcxx . . $ GstPad#* pad, GstObjectcxx . . $ GstObject#*, GstBuffer *buffer)
176 {
177 //FIXME: It's made like vfunc wrappers, but why there is no reffing of pad?
178 Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad# *pad_wrapper = dynamic_cast<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#*>
179 (static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
180 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)pad)
181 )
182 );
183 g_assertcxx . . $ `<external>/15287032793271088244/gtestutils.h:275:9`!(pad);
184
185 try
186 {
187 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Buffercxx . . $ Gst/Buffer#> buffer_wrapped = Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3c551c778c6a14a5).(buffer, false); //manage object
188
189 return static_cast<GstFlowReturn>(
190 pad_wrapper->slot_chaincxx . . $ Gst/Pad#slot_chain.(cxx . . $ sigc/slot2#`operator()`(d6f853cadabc373b).Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(pad, true), //take copy
191 buffer_wrapped
192 ));
193 }
194 catch(...)
195 {
196 pad_wrapper->exception_handlercxx . . $ Gst/Pad#exception_handler(49f6e7a06ebc5aa8).();
197 }
198
199 return GST_FLOW_ERROR;
200 }
201
202 gboolean Padcxx . . $ Gst/Pad#::Pad_Query_gstreamermm_callbackcxx . . $ Gst/Pad#Pad_Query_gstreamermm_callback(d594aa1f2bceb08e).(GstPadcxx . . $ GstPad#* pad, GstObjectcxx . . $ GstObject#*, GstQuery* query)
203 {
204 Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad# *pad_wrapper = dynamic_cast<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#*>
205 (static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
206 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)pad)
207 )
208 );
209 g_assertcxx . . $ `<external>/15287032793271088244/gtestutils.h:275:9`!(pad);
210
211 try
212 {
213 //We cannot make copy of query, since some elements fail to answer the query if it's refcount>1 (is not writtable)
214 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Querycxx . . $ Gst/Query#> query_wrapped = Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7b383c8dd7fcdbfb).(query, false);
215
216 gboolean res = pad_wrapper->slot_querycxx . . $ Gst/Pad#slot_query.(cxx . . $ sigc/slot2#`operator()`(d6f853cadabc373b).Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(pad, true), query_wrapped);
217
218 //we have to increase refcount, since freeing RefPtr will decrease it which would be inaccurate here, since the
219 //caller is responsible for managing the object (see "transfer none" on this parameter)
220 query_wrapped->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).referencecxx . . $ Gst/Query#reference(83f5f38750778ac8).();
221 return res;
222 }
223 catch(...)
224 {
225 pad_wrapper->exception_handlercxx . . $ Gst/Pad#exception_handler(49f6e7a06ebc5aa8).();
226 }
227
228 return false;
229 }
230
231 gboolean Padcxx . . $ Gst/Pad#::Pad_Event_gstreamermm_callbackcxx . . $ Gst/Pad#Pad_Event_gstreamermm_callback(e8aeccb79637c5f0).(GstPadcxx . . $ GstPad#* pad, GstObjectcxx . . $ GstObject#*, GstEvent* event)
232 {
233 Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad# *pad_wrapper = dynamic_cast<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#*>
234 (static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
235 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)pad)
236 )
237 );
238 g_assertcxx . . $ `<external>/15287032793271088244/gtestutils.h:275:9`!(pad);
239
240 try
241 {
242 //we don't make copy, since ownership is transfered to the callee ("transfer full")
243 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Eventcxx . . $ Gst/Event#> event_wrapped = Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(dec56968f86598a5).(event, false);
244
245 return pad_wrapper->slot_eventcxx . . $ Gst/Pad#slot_event.(cxx . . $ sigc/slot2#`operator()`(d6f853cadabc373b).Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(pad, true), event_wrapped);
246 }
247 catch(...)
248 {
249 pad_wrapper->exception_handlercxx . . $ Gst/Pad#exception_handler(49f6e7a06ebc5aa8).();
250 }
251
252 return false;
253 }
254
255 gboolean Padcxx . . $ Gst/Pad#::Pad_Activate_gstreamermm_callbackcxx . . $ Gst/Pad#Pad_Activate_gstreamermm_callback(d8cd9edbade625d4).(GstPadcxx . . $ GstPad#* pad, GstObjectcxx . . $ GstObject#*)
256 {
257 Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad# *pad_wrapper = dynamic_cast<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#*>
258 (static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
259 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)pad)
260 )
261 );
262 g_assertcxx . . $ `<external>/15287032793271088244/gtestutils.h:275:9`!(pad);
263
264 try
265 {
266 return pad_wrapper->slot_activatecxx . . $ Gst/Pad#slot_activate.(cxx . . $ sigc/slot1#`operator()`(9ee06a69519573d9).Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(pad, true));
267 }
268 catch(...)
269 {
270 pad_wrapper->exception_handlercxx . . $ Gst/Pad#exception_handler(49f6e7a06ebc5aa8).();
271 }
272
273 return false;
274 }
275
276 gboolean Padcxx . . $ Gst/Pad#::Pad_Activatemode_gstreamermm_callbackcxx . . $ Gst/Pad#Pad_Activatemode_gstreamermm_callback(4e1391901e2e9b38).(GstPadcxx . . $ GstPad#* pad, GstObjectcxx . . $ GstObject#*, GstPadMode mode, gboolean active)
277 {
278 Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad# *pad_wrapper = dynamic_cast<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#*>
279 (static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
280 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)pad)
281 )
282 );
283 g_assertcxx . . $ `<external>/15287032793271088244/gtestutils.h:275:9`!(pad);
284
285 try
286 {
287 return pad_wrapper->slot_activatemodecxx . . $ Gst/Pad#slot_activatemode.(cxx . . $ sigc/slot3#`operator()`(c865b22a2ca68cb8).Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(pad, true), static_cast<PadModecxx . . $ Gst/PadMode#>(mode), active);
288 }
289 catch(...)
290 {
291 pad_wrapper->exception_handlercxx . . $ Gst/Pad#exception_handler(49f6e7a06ebc5aa8).();
292 }
293
294 return false;
295 }
296
297 GstFlowReturn Padcxx . . $ Gst/Pad#::Pad_Getrange_gstreamermm_callbackcxx . . $ Gst/Pad#Pad_Getrange_gstreamermm_callback(d61646eed0a3d4a2).(GstPadcxx . . $ GstPad#* pad, GstObjectcxx . . $ GstObject#*, guint64 offset, guint length, GstBuffer **buffer)
298 {
299 Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad# *pad_wrapper = dynamic_cast<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#*>
300 (static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
301 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)pad)
302 )
303 );
304 g_assertcxx . . $ `<external>/15287032793271088244/gtestutils.h:275:9`!(pad);
305 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Buffercxx . . $ Gst/Buffer#> buf = Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3c551c778c6a14a5).(*buffer, false);
306 try
307 {
308 return static_cast<GstFlowReturn>(
309 pad_wrapper->slot_getrangecxx . . $ Gst/Pad#slot_getrange.(cxx . . $ sigc/slot4#`operator()`(f6336a50c52d3eb3).Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(pad, true), offset, length, buf)
310 );
311 }
312 catch(...)
313 {
314 pad_wrapper->exception_handlercxx . . $ Gst/Pad#exception_handler(49f6e7a06ebc5aa8).();
315 }
316
317 return GST_FLOW_ERROR;
318 }
319
320 void Padcxx . . $ Gst/Pad#::set_chain_functioncxx . . $ Gst/Pad#set_chain_function(e81f202c46fb7eca).(const SlotChaincxx . . $ Gst/Pad#SlotChain#& slot)
321 {
322 slot_chaincxx . . $ Gst/Pad#slot_chain. =cxx . . $ sigc/slot#`operator=`(23146485573700a2). slot;
323 gst_pad_set_chain_functioncxx . . $ `<external>/7973622949010654678/gstpad.h:1476:9`!(GST_PADcxx . . $ `<external>/7973622949010654678/gstpad.h:86:9`!(gobj()), &Pad_Chain_gstreamermm_callback);
324 }
325
326 void Padcxx . . $ Gst/Pad#::set_query_functioncxx . . $ Gst/Pad#set_query_function(d4bad805826eac5d).(const SlotQuerycxx . . $ Gst/Pad#SlotQuery#& slot)
327 {
328 slot_querycxx . . $ Gst/Pad#slot_query. =cxx . . $ sigc/slot#`operator=`(23146485573700a2). slot;
329 gst_pad_set_query_functioncxx . . $ `<external>/7973622949010654678/gstpad.h:1623:9`!(GST_PADcxx . . $ `<external>/7973622949010654678/gstpad.h:86:9`!(gobj()), &Pad_Query_gstreamermm_callback);
330 }
331
332 void Padcxx . . $ Gst/Pad#::set_event_functioncxx . . $ Gst/Pad#set_event_function(2bf25ab9b9477c95).(const SlotEventcxx . . $ Gst/Pad#SlotEvent#& slot)
333 {
334 slot_eventcxx . . $ Gst/Pad#slot_event. =cxx . . $ sigc/slot#`operator=`(23146485573700a2). slot;
335 gst_pad_set_event_functioncxx . . $ `<external>/7973622949010654678/gstpad.h:1479:9`!(GST_PADcxx . . $ `<external>/7973622949010654678/gstpad.h:86:9`!(gobj()), &Pad_Event_gstreamermm_callback);
336 }
337
338 bool Padcxx . . $ Gst/Pad#::push_eventcxx . . $ Gst/Pad#push_event(2055ffde69ae5030).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Eventcxx . . $ Gst/Event#>& event)
339 {
340 event->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).referencecxx . . $ Gst/Event#reference(83f5f38750778ac8).();
341 return gst_pad_push_event(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).(), event->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).gobjcxx . . $ Gst/Event#gobj(a48510a589508d3).());
342 }
343
344 void Padcxx . . $ Gst/Pad#::set_activate_functioncxx . . $ Gst/Pad#set_activate_function(386f2bba2cceaac1).(const SlotActivatecxx . . $ Gst/Pad#SlotActivate#& slot)
345 {
346 slot_activatecxx . . $ Gst/Pad#slot_activate. =cxx . . $ sigc/slot#`operator=`(893a28fe133509ec). slot;
347 gst_pad_set_activate_functioncxx . . $ `<external>/7973622949010654678/gstpad.h:1474:9`!(GST_PADcxx . . $ `<external>/7973622949010654678/gstpad.h:86:9`!(gobj()), &Pad_Activate_gstreamermm_callback);
348 }
349
350 void Padcxx . . $ Gst/Pad#::set_activatemode_functioncxx . . $ Gst/Pad#set_activatemode_function(25137148f01eb65e).(const SlotActivatemodecxx . . $ Gst/Pad#SlotActivatemode#& slot)
351 {
352 slot_activatemodecxx . . $ Gst/Pad#slot_activatemode.=cxx . . $ sigc/slot#`operator=`(1459a53d38dc7eff). slot;
353 gst_pad_set_activatemode_functioncxx . . $ `<external>/7973622949010654678/gstpad.h:1475:9`!(GST_PADcxx . . $ `<external>/7973622949010654678/gstpad.h:86:9`!(gobj()), &Pad_Activatemode_gstreamermm_callback);
354 }
355
356 void Padcxx . . $ Gst/Pad#::set_getrange_functioncxx . . $ Gst/Pad#set_getrange_function(633061a20d82e62).(const SlotGetrangecxx . . $ Gst/Pad#SlotGetrange#& slot)
357 {
358 slot_getrangecxx . . $ Gst/Pad#slot_getrange. =cxx . . $ sigc/slot#`operator=`(6d2a6b1fec4dd432). slot;
359 gst_pad_set_getrange_functioncxx . . $ `<external>/7973622949010654678/gstpad.h:1478:9`!(GST_PADcxx . . $ `<external>/7973622949010654678/gstpad.h:86:9`!(gobj()), &Pad_Getrange_gstreamermm_callback);
360 }
361
362 bool Padcxx . . $ Gst/Pad#::is_ghost_padcxx . . $ Gst/Pad#is_ghost_pad(50ce9a9e25b4a850).() const
363 {
364 return GST_IS_GHOST_PADcxx . . $ `<external>/16518699909060336007/gstghostpad.h:82:9`!(gobj());
365 }
366
367 bool Padcxx . . $ Gst/Pad#::is_proxy_padcxx . . $ Gst/Pad#is_proxy_pad(50ce9a9e25b4a850).() const
368 {
369 return GST_IS_PROXY_PADcxx . . $ `<external>/16518699909060336007/gstghostpad.h:35:9`!(gobj());
370 }
371
372 bool Padcxx . . $ Gst/Pad#::send_eventcxx . . $ Gst/Pad#send_event(2055ffde69ae5030).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Eventcxx . . $ Gst/Event#>& event)
373 {
374 event->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).referencecxx . . $ Gst/Event#reference(83f5f38750778ac8).();
375 return gst_pad_send_event(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).(), event->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).gobjcxx . . $ Gst/Event#gobj(a48510a589508d3).());
376 }
377
378
379 PadProbeInfocxx . . $ Gst/PadProbeInfo#::PadProbeInfocxx . . $ Gst/PadProbeInfo#PadProbeInfo(49f6e7a06ebc5aa8).()
380 : gobj_cxx . . $ Gst/PadProbeInfo#gobj_.(g_try_newcxx . . $ `<external>/1123956534522462559/gmem.h:363:9`!(GstPadProbeInfo, 1)),
381 take_ownershipcxx . . $ Gst/PadProbeInfo#take_ownership.(true)
382 {
383 // Handle possible memory allocation failure.
384 if(!gobj_cxx . . $ Gst/PadProbeInfo#gobj_.)
385 {
386 gstreamermm_handle_errorcxx . . $ Gst/gstreamermm_handle_error(1ff0bff2cee2bc51).(
387 "Failed to allocate a new Gst::PadProbeInfo."cxx . . $ Glib/ustring#ustring(85c52e162fed56f9).);
388 }
389 }
390
391 PadProbeInfocxx . . $ Gst/PadProbeInfo#::PadProbeInfocxx . . $ Gst/PadProbeInfo#PadProbeInfo(d14c880819b3c80f).(GstPadProbeInfo& castitem, bool take_ownership)
392 : gobj_cxx . . $ Gst/PadProbeInfo#gobj_.(&castitem),
393 take_ownershipcxx . . $ Gst/PadProbeInfo#take_ownership.(take_ownership)
394 {
395 }
396
397 PadProbeInfocxx . . $ Gst/PadProbeInfo#::PadProbeInfocxx . . $ Gst/PadProbeInfo#PadProbeInfo(d60980afdb08e82b).(GstPadProbeInfo* castitem, bool take_copy)
398 : take_ownershipcxx . . $ Gst/PadProbeInfo#take_ownership.(take_copy)
399 {
400 if(take_copy)
401 {
402 gobj_cxx . . $ Gst/PadProbeInfo#gobj_. = (g_try_newcxx . . $ `<external>/1123956534522462559/gmem.h:363:9`!(GstPadProbeInfo, 1));
403
404 if(!gobj_cxx . . $ Gst/PadProbeInfo#gobj_.)
405 {
406 gstreamermm_handle_errorcxx . . $ Gst/gstreamermm_handle_error(1ff0bff2cee2bc51).(
407 "Failed to allocate a new Gst::PadProbeInfo."cxx . . $ Glib/ustring#ustring(85c52e162fed56f9).);
408 return;
409 }
410
411 if(castitem)
412 *gobj_cxx . . $ Gst/PadProbeInfo#gobj_. =cxx . . $ _GstPadProbeInfo#`operator=`(78e0cd874c2d4f8e). *castitem;
413 }
414 else
415 {
416 gobj_cxx . . $ Gst/PadProbeInfo#gobj_. = castitem;
417 }
418 }
419
420 PadProbeInfocxx . . $ Gst/PadProbeInfo#::PadProbeInfocxx . . $ Gst/PadProbeInfo#PadProbeInfo(d56566a2a3c9701).(const PadProbeInfocxx . . $ Gst/PadProbeInfo#& other)
421 : gobj_cxx . . $ Gst/PadProbeInfo#gobj_.(g_try_newcxx . . $ `<external>/1123956534522462559/gmem.h:363:9`!(GstPadProbeInfo, 1)),
422 take_ownershipcxx . . $ Gst/PadProbeInfo#take_ownership.(true)
423 {
424 if(!gobj_cxx . . $ Gst/PadProbeInfo#gobj_.)
425 {
426 gstreamermm_handle_errorcxx . . $ Gst/gstreamermm_handle_error(1ff0bff2cee2bc51).("Failed to allocate a new Gst::PadProbeInfo."cxx . . $ Glib/ustring#ustring(85c52e162fed56f9).);
427 return;
428 }
429
430 // I can do it, because there is no dynamic allocated memory in pad
431 *gobj_cxx . . $ Gst/PadProbeInfo#gobj_. =cxx . . $ _GstPadProbeInfo#`operator=`(78e0cd874c2d4f8e). *other.gobj_cxx . . $ Gst/PadProbeInfo#gobj_.;
432 }
433
434 PadProbeInfocxx . . $ Gst/PadProbeInfo#::~cxx . . $ Gst/PadProbeInfo#`~PadProbeInfo`(ced63f7c635d850d).PadProbeInfocxx . . $ Gst/PadProbeInfo#()
435 {
436 if(take_ownershipcxx . . $ Gst/PadProbeInfo#take_ownership.)
437 g_free(gobj_cxx . . $ Gst/PadProbeInfo#gobj_.);
438 }
439
440 PadProbeTypecxx . . $ Gst/PadProbeType# PadProbeInfocxx . . $ Gst/PadProbeInfo#::get_typecxx . . $ Gst/PadProbeInfo#get_type(1aeb446de4c3476b).() const
441 {
442 return static_cast<PadProbeTypecxx . . $ Gst/PadProbeType#>(GST_PAD_PROBE_INFO_TYPEcxx . . $ `<external>/7973622949010654678/gstpad.h:608:9`!(gobj()));
443 }
444
445 } //namespace Gst
446
447 namespace Glibcxx . . $ Glib/
448 {
449 Gstcxx . . $ Gst/::PadProbeInfocxx . . $ Gst/PadProbeInfo# wrapcxx . . $ Glib/wrap(b1571560c754b3d5).(GstPadProbeInfo* probe_info, bool take_copy)
450 {
451 return Gstcxx . . $ Gst/PadProbeInfo#PadProbeInfo(d60980afdb08e82b).::PadProbeInfocxx . . $ Gst/PadProbeInfo#(probe_info, take_copy);
452 }
453 }
454
455 namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/pad.cc`/
456 {
457
458
459 static void Pad_signal_linked_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/pad.cc`/Pad_signal_linked_callback(35bdcc0bc115fdb3).(GstPadcxx . . $ GstPad#* self, GstPadcxx . . $ GstPad#* p0,void* data)
460 {
461 using namespace Gst;
462 using SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/pad.cc`/Pad_signal_linked_callback(35bdcc0bc115fdb3).SlotType# = sigccxx . . $ sigc/::slotcxx . . $ sigc/slot#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>& >;
463
464 auto obj = dynamic_cast<Padcxx . . $ Gst/Pad#*>(Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*) self));
465 // Do not try to call a signal on a disassociated wrapper.
466 if(obj)
467 {
468 try
469 {
470 if(const auto slot = Glibcxx . . $ Glib/::SignalProxyNormalcxx . . $ Glib/SignalProxyNormal#::data_to_slotcxx . . $ Glib/SignalProxyBase#data_to_slot(1b18816c898558ea).(data))
471 (*static_cast<SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/pad.cc`/Pad_signal_linked_callback(35bdcc0bc115fdb3).SlotType#*>(slot))(cxx . . $ sigc/slot1#`operator()`(9ee06a69519573d9).Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(p0, true)
472 );
473 }
474 catch(...)
475 {
476 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
477 }
478 }
479 }
480
481 static const Glibcxx . . $ Glib/::SignalProxyInfocxx . . $ Glib/SignalProxyInfo# Pad_signal_linked_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/pad.cc`/Pad_signal_linked_info. =
482 {
483 "linked",
484 (GCallback) &Pad_signal_linked_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/pad.cc`/Pad_signal_linked_callback(35bdcc0bc115fdb3).,
485 (GCallback) &Pad_signal_linked_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/pad.cc`/Pad_signal_linked_callback(35bdcc0bc115fdb3).
486 };
487
488
489 static void Pad_signal_unlinked_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/pad.cc`/Pad_signal_unlinked_callback(35bdcc0bc115fdb3).(GstPadcxx . . $ GstPad#* self, GstPadcxx . . $ GstPad#* p0,void* data)
490 {
491 using namespace Gst;
492 using SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/pad.cc`/Pad_signal_unlinked_callback(35bdcc0bc115fdb3).SlotType# = sigccxx . . $ sigc/::slotcxx . . $ sigc/slot#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>& >;
493
494 auto obj = dynamic_cast<Padcxx . . $ Gst/Pad#*>(Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*) self));
495 // Do not try to call a signal on a disassociated wrapper.
496 if(obj)
497 {
498 try
499 {
500 if(const auto slot = Glibcxx . . $ Glib/::SignalProxyNormalcxx . . $ Glib/SignalProxyNormal#::data_to_slotcxx . . $ Glib/SignalProxyBase#data_to_slot(1b18816c898558ea).(data))
501 (*static_cast<SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/pad.cc`/Pad_signal_unlinked_callback(35bdcc0bc115fdb3).SlotType#*>(slot))(cxx . . $ sigc/slot1#`operator()`(9ee06a69519573d9).Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(p0, true)
502 );
503 }
504 catch(...)
505 {
506 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
507 }
508 }
509 }
510
511 static const Glibcxx . . $ Glib/::SignalProxyInfocxx . . $ Glib/SignalProxyInfo# Pad_signal_unlinked_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/pad.cc`/Pad_signal_unlinked_info. =
512 {
513 "unlinked",
514 (GCallback) &Pad_signal_unlinked_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/pad.cc`/Pad_signal_unlinked_callback(35bdcc0bc115fdb3).,
515 (GCallback) &Pad_signal_unlinked_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/pad.cc`/Pad_signal_unlinked_callback(35bdcc0bc115fdb3).
516 };
517
518
519 } // anonymous namespace
520
521 // static
522 GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::PadMode>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).()
523 {
524 return gst_pad_mode_get_type();
525 }
526
527 // static
528 GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::FlowReturn>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).()
529 {
530 return gst_flow_return_get_type();
531 }
532
533 // static
534 GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::PadDirection>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).()
535 {
536 return gst_pad_direction_get_type();
537 }
538
539 // static
540 GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::PadFlags>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).()
541 {
542 return gst_pad_flags_get_type();
543 }
544
545 // static
546 GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::PadLinkReturn>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).()
547 {
548 return gst_pad_link_return_get_type();
549 }
550
551 // static
552 GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::PadLinkCheck>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).()
553 {
554 return gst_pad_link_check_get_type();
555 }
556
557 // static
558 GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::PadProbeType>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).()
559 {
560 return gst_pad_probe_type_get_type();
561 }
562
563 // static
564 GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::PadProbeReturn>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).()
565 {
566 return gst_pad_probe_return_get_type();
567 }
568
569
570 namespace Glibcxx . . $ Glib/
571 {
572
573 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(GstPadcxx . . $ GstPad#* object, bool take_copy)
574 {
575 return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>( dynamic_cast<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#*> (Glibcxx . . $ Glib/::wrap_autocxx . . $ Glib/wrap_auto(fd1af59aa43b0601). ((GObjectcxx . . $ GObject#*)(object), take_copy)) );
576 //We use dynamic_cast<> in case of multiple inheritance.
577 }
578
579 } /* namespace Glib */
580
581
582 namespace Gstcxx . . $ Gst/
583 {
584
585
586 /* The *_Class implementation: */
587
588 const Glibcxx . . $ Glib/::Classcxx . . $ Glib/Class#& Pad_Classcxx . . $ Gst/Pad_Class#::initcxx . . $ Gst/Pad_Class#init(bf348c0cd369184d).()
589 {
590 if(!gtype_cxx . . $ Glib/Class#gtype_.) // create the GType if necessary
591 {
592 // Glib::Class has to know the class init function to clone custom types.
593 class_init_func_cxx . . $ Glib/Class#class_init_func_. = &Pad_Classcxx . . $ Gst/Pad_Class#::class_init_functioncxx . . $ Gst/Pad_Class#class_init_function(6c58c5e2437d25a2).;
594
595 // This is actually just optimized away, apparently with no harm.
596 // Make sure that the parent type has been created.
597 //CppClassParent::CppObjectType::get_type();
598
599 // Create the wrapper type, with the same class/instance size as the base type.
600 register_derived_typecxx . . $ Glib/Class#register_derived_type(2c44cd906ae4e829).(gst_pad_get_type());
601
602 // Add derived versions of interfaces, if the C type implements any interfaces:
603
604 }
605
606 return *this;
607 }
608
609
610 void Pad_Classcxx . . $ Gst/Pad_Class#::class_init_functioncxx . . $ Gst/Pad_Class#class_init_function(6c58c5e2437d25a2).(void* g_class, void* class_data)
611 {
612 const auto klass = static_cast<BaseClassTypecxx . . $ Gst/Pad_Class#BaseClassType#*>(g_class);
613 CppClassParentcxx . . $ Gst/Pad_Class#CppClassParent#::class_init_functioncxx . . $ Gst/Object_Class#class_init_function(6c58c5e2437d25a2).(klass, class_data);
614
615
616 klass->linkedcxx . . $ _GstPadClass#linked. = &linked_callbackcxx . . $ Gst/Pad_Class#linked_callback(4c130adc7be6c7e8).;
617 klass->unlinkedcxx . . $ _GstPadClass#unlinked. = &unlinked_callbackcxx . . $ Gst/Pad_Class#unlinked_callback(4c130adc7be6c7e8).;
618 }
619
620
621 void Pad_Classcxx . . $ Gst/Pad_Class#::linked_callbackcxx . . $ Gst/Pad_Class#linked_callback(4c130adc7be6c7e8).(GstPadcxx . . $ GstPad#* self, GstPadcxx . . $ GstPad#* p0)
622 {
623 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
624 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
625
626 // Non-gtkmmproc-generated custom classes implicitly call the default
627 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
628 // generated classes can use this optimisation, which avoids the unnecessary
629 // parameter conversions if there is no possibility of the virtual function
630 // being overridden:
631 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
632 {
633 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Pad_Class#CppObjectType#* const>(obj_base);
634 if(obj) // This can be NULL during destruction.
635 {
636 try // Trap C++ exceptions which would normally be lost because this is a C callback.
637 {
638 // Call the virtual member method, which derived classes might override.
639 obj->on_linkedcxx . . $ Gst/Pad#on_linked(6d8541f3277dd441).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(p0, true)
640 );
641 return;
642 }
643 catch(...)
644 {
645 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
646 }
647 }
648 }
649
650 const auto base = static_cast<BaseClassTypecxx . . $ Gst/Pad_Class#BaseClassType#*>(
651 g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class).
652 );
653
654 // Call the original underlying C function:
655 if(base && base->linkedcxx . . $ _GstPadClass#linked.)
656 (*base->linkedcxx . . $ _GstPadClass#linked.)(self, p0);
657 }
658 void Pad_Classcxx . . $ Gst/Pad_Class#::unlinked_callbackcxx . . $ Gst/Pad_Class#unlinked_callback(4c130adc7be6c7e8).(GstPadcxx . . $ GstPad#* self, GstPadcxx . . $ GstPad#* p0)
659 {
660 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
661 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
662
663 // Non-gtkmmproc-generated custom classes implicitly call the default
664 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
665 // generated classes can use this optimisation, which avoids the unnecessary
666 // parameter conversions if there is no possibility of the virtual function
667 // being overridden:
668 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
669 {
670 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/Pad_Class#CppObjectType#* const>(obj_base);
671 if(obj) // This can be NULL during destruction.
672 {
673 try // Trap C++ exceptions which would normally be lost because this is a C callback.
674 {
675 // Call the virtual member method, which derived classes might override.
676 obj->on_unlinkedcxx . . $ Gst/Pad#on_unlinked(6d8541f3277dd441).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(p0, true)
677 );
678 return;
679 }
680 catch(...)
681 {
682 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
683 }
684 }
685 }
686
687 const auto base = static_cast<BaseClassTypecxx . . $ Gst/Pad_Class#BaseClassType#*>(
688 g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class).
689 );
690
691 // Call the original underlying C function:
692 if(base && base->unlinkedcxx . . $ _GstPadClass#unlinked.)
693 (*base->unlinkedcxx . . $ _GstPadClass#unlinked.)(self, p0);
694 }
695
696
697 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#* Pad_Classcxx . . $ Gst/Pad_Class#::wrap_newcxx . . $ Gst/Pad_Class#wrap_new(893eec6d4349e251).(GObjectcxx . . $ GObject#* object)
698 {
699 return new Padcxx . . $ Gst/Pad#((GstPadcxx . . $ GstPad#*)object);
700 }
701
702
703 /* The implementation: */
704
705 GstPadcxx . . $ GstPad#* Padcxx . . $ Gst/Pad#::gobj_copycxx . . $ Gst/Pad#gobj_copy(fd39c951f44759e7).()
706 {
707 referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).();
708 return gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).();
709 }
710
711 Padcxx . . $ Gst/Pad#::Padcxx . . $ Gst/Pad#Pad(237165b4a42a691a).(const Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#& construct_params)
712 :
713 Objectcxx . . $ Gst/Object#(construct_params)
714 {
715
716 }
717
718 Padcxx . . $ Gst/Pad#::Padcxx . . $ Gst/Pad#Pad(efea21de2c3bde01).(GstPadcxx . . $ GstPad#* castitem)
719 :
720 Objectcxx . . $ Gst/Object#((GstObjectcxx . . $ GstObject#*)(castitem))
721 {}
722
723
724 Padcxx . . $ Gst/Pad#::Padcxx . . $ Gst/Pad#Pad(85c0725695afa28e).(Padcxx . . $ Gst/Pad#&& src) noexcept
725 : Objectcxx . . $ Gst/Object#(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src))
726 {}
727
728 Padcxx . . $ Gst/Pad#& Padcxx . . $ Gst/Pad#::operatorcxx . . $ Gst/Pad#`operator=`(aeff700b3381bab7).=(Padcxx . . $ Gst/Pad#&& src) noexcept
729 {
730 Objectcxx . . $ Gst/Object#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src));
731 return *this;
732 }
733
734
735 Padcxx . . $ Gst/Pad#::~cxx . . $ Gst/Pad#`~Pad`(ced63f7c635d850d).Padcxx . . $ Gst/Pad#() noexcept
736 {}
737
738
739 Padcxx . . $ Gst/Pad#::CppClassTypecxx . . $ Gst/Pad#CppClassType# Padcxx . . $ Gst/Pad#::pad_class_cxx . . $ Gst/Pad#pad_class_.; // initialize static member
740
741 GType Padcxx . . $ Gst/Pad#::get_typecxx . . $ Gst/Pad#get_type(f708dce9a8856c70).()
742 {
743 return pad_class_cxx . . $ Gst/Pad#pad_class_..initcxx . . $ Gst/Pad_Class#init(bf348c0cd369184d).().get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).();
744 }
745
746
747 GType Padcxx . . $ Gst/Pad#::get_base_typecxx . . $ Gst/Pad#get_base_type(f708dce9a8856c70).()
748 {
749 return gst_pad_get_type();
750 }
751
752
753 Padcxx . . $ Gst/Pad#::Padcxx . . $ Gst/Pad#Pad(7c86323286410bec).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name, PadDirectioncxx . . $ Gst/PadDirection# direction)
754 :
755 // Mark this class as non-derived to allow C++ vfuncs to be skipped.
756 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#(nullptr),
757 Objectcxx . . $ Gst/Object#(Glibcxx . . $ Glib/ConstructParams#ConstructParams(88d8205c725482fb).::ConstructParamscxx . . $ Glib/ConstructParams#(pad_class_cxx . . $ Gst/Pad#pad_class_..initcxx . . $ Gst/Pad_Class#init(bf348c0cd369184d).(), "name", name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), "direction", ((GstPadDirection)(direction)), nullptr))
758 {
759
760
761 }
762
763 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Padcxx . . $ Gst/Pad#> Padcxx . . $ Gst/Pad#::createcxx . . $ Gst/Pad#create(fbeb13dc5846b717).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name, PadDirectioncxx . . $ Gst/PadDirection# dir)
764 {
765 return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Padcxx . . $ Gst/Pad#>( new Padcxx . . $ Gst/Pad#(name, dir) );
766 }
767
768 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Padcxx . . $ Gst/Pad#> Padcxx . . $ Gst/Pad#::createcxx . . $ Gst/Pad#create(4e01fc00a112fd49).(PadDirectioncxx . . $ Gst/PadDirection# dir)
769 {
770 return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Padcxx . . $ Gst/Pad#>( new Padcxx . . $ Gst/Pad#(dir) );
771 }
772
773 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Padcxx . . $ Gst/Pad#> Padcxx . . $ Gst/Pad#::createcxx . . $ Gst/Pad#create(f1c0f1bea72b7368).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::PadTemplatecxx . . $ Gst/PadTemplate#>& pad_template)
774 {
775 return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Padcxx . . $ Gst/Pad#>( new Padcxx . . $ Gst/Pad#(pad_template) );
776 }
777
778 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Padcxx . . $ Gst/Pad#> Padcxx . . $ Gst/Pad#::createcxx . . $ Gst/Pad#create(b277dc7ed41d460c).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::PadTemplatecxx . . $ Gst/PadTemplate#>& pad_template, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name)
779 {
780 return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Padcxx . . $ Gst/Pad#>( new Padcxx . . $ Gst/Pad#(pad_template, name) );
781 }
782
783 Gstcxx . . $ Gst/::PadModecxx . . $ Gst/PadMode# Padcxx . . $ Gst/Pad#::get_modecxx . . $ Gst/Pad#get_mode(bbff1e2c8419fef4).() const
784 {
785 return ((Gstcxx . . $ Gst/::PadModecxx . . $ Gst/PadMode#)(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()->modecxx . . $ _GstPad#mode.));
786 }
787
788 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> Padcxx . . $ Gst/Pad#::query_capscxx . . $ Gst/Pad#query_caps(f24b7ae2e7a8d684).(Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> caps)
789 {
790 return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(gst_pad_query_caps(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(caps)));
791 }
792
793 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> Padcxx . . $ Gst/Pad#::query_capscxx . . $ Gst/Pad#query_caps(8e4c2f459aaae781).(Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> caps) const
794 {
795 return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<Padcxx . . $ Gst/Pad#*>(this)->query_capscxx . . $ Gst/Pad#query_caps(f24b7ae2e7a8d684).(capscxx . . $ Glib/RefPtr#RefPtr(4702e9e750c63a8f).);
796 }
797
798 PadDirectioncxx . . $ Gst/PadDirection# Padcxx . . $ Gst/Pad#::get_directioncxx . . $ Gst/Pad#get_direction(f7efc382e3c5b6e8).() const
799 {
800 return ((PadDirectioncxx . . $ Gst/PadDirection#)(gst_pad_get_direction(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()))));
801 }
802
803 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#> Padcxx . . $ Gst/Pad#::get_parent_elementcxx . . $ Gst/Pad#get_parent_element(3e7872c5483971d5).()
804 {
805 return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(4a5d42c130b18675).(gst_pad_get_parent_element(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).()));
806 }
807
808 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#> Padcxx . . $ Gst/Pad#::get_parent_elementcxx . . $ Gst/Pad#get_parent_element(b1c5af571c4925b8).() const
809 {
810 return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<Padcxx . . $ Gst/Pad#*>(this)->get_parent_elementcxx . . $ Gst/Pad#get_parent_element(3e7872c5483971d5).();
811 }
812
813 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::PadTemplatecxx . . $ Gst/PadTemplate#> Padcxx . . $ Gst/Pad#::get_pad_templatecxx . . $ Gst/Pad#get_pad_template(a45bef703c90203f).()
814 {
815 return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3668c1526acfc0ed).(gst_pad_get_pad_template(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).()));
816 }
817
818 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::PadTemplatecxx . . $ Gst/PadTemplate#> Padcxx . . $ Gst/Pad#::get_pad_templatecxx . . $ Gst/Pad#get_pad_template(bea45cf0009d37b).() const
819 {
820 return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<Padcxx . . $ Gst/Pad#*>(this)->get_pad_templatecxx . . $ Gst/Pad#get_pad_template(a45bef703c90203f).();
821 }
822
823 PadLinkReturncxx . . $ Gst/PadLinkReturn# Padcxx . . $ Gst/Pad#::linkcxx . . $ Gst/Pad#link(ca9408873a0c7209).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>& sink_pad)
824 {
825 return ((PadLinkReturncxx . . $ Gst/PadLinkReturn#)(gst_pad_link(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(sink_pad))));
826 }
827
828 bool Padcxx . . $ Gst/Pad#::unlinkcxx . . $ Gst/Pad#unlink(9b3f380b23eb461).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>& sink_pad)
829 {
830 return gst_pad_unlink(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(sink_pad));
831 }
832
833 bool Padcxx . . $ Gst/Pad#::is_linkedcxx . . $ Gst/Pad#is_linked(50ce9a9e25b4a850).() const
834 {
835 return gst_pad_is_linked(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()));
836 }
837
838 bool Padcxx . . $ Gst/Pad#::can_linkcxx . . $ Gst/Pad#can_link(ddcc0ca36e027aaa).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>& other_pad) const
839 {
840 return gst_pad_can_link(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()), const_cast<GstPadcxx . . $ GstPad#*>(Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(1fce0cab713be4a0).(other_pad)));
841 }
842
843 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> Padcxx . . $ Gst/Pad#::get_allowed_capscxx . . $ Gst/Pad#get_allowed_caps(22811ab509ec2061).()
844 {
845 return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(gst_pad_get_allowed_caps(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).()));
846 }
847
848 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> Padcxx . . $ Gst/Pad#::get_allowed_capscxx . . $ Gst/Pad#get_allowed_caps(b365bf96c1803900).() const
849 {
850 return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<Padcxx . . $ Gst/Pad#*>(this)->get_allowed_capscxx . . $ Gst/Pad#get_allowed_caps(22811ab509ec2061).();
851 }
852
853 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> Padcxx . . $ Gst/Pad#::get_pad_template_capscxx . . $ Gst/Pad#get_pad_template_caps(22811ab509ec2061).()
854 {
855 return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(gst_pad_get_pad_template_caps(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).()));
856 }
857
858 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> Padcxx . . $ Gst/Pad#::get_pad_template_capscxx . . $ Gst/Pad#get_pad_template_caps(b365bf96c1803900).() const
859 {
860 return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<Padcxx . . $ Gst/Pad#*>(this)->get_pad_template_capscxx . . $ Gst/Pad#get_pad_template_caps(22811ab509ec2061).();
861 }
862
863 void Padcxx . . $ Gst/Pad#::remove_probecxx . . $ Gst/Pad#remove_probe(2c44cd906ae4e829).(gulong id)
864 {
865 gst_pad_remove_probe(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).(), id);
866 }
867
868 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> Padcxx . . $ Gst/Pad#::get_peercxx . . $ Gst/Pad#get_peer(933c6ba9162839d3).()
869 {
870 return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(gst_pad_get_peer(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).()));
871 }
872
873 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> Padcxx . . $ Gst/Pad#::get_peercxx . . $ Gst/Pad#get_peer(dca65d54e9e25cdd).() const
874 {
875 return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<Padcxx . . $ Gst/Pad#*>(this)->get_peercxx . . $ Gst/Pad#get_peer(933c6ba9162839d3).();
876 }
877
878 void Padcxx . . $ Gst/Pad#::use_fixed_capscxx . . $ Gst/Pad#use_fixed_caps(49f6e7a06ebc5aa8).()
879 {
880 gst_pad_use_fixed_caps(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).());
881 }
882
883 bool Padcxx . . $ Gst/Pad#::is_activecxx . . $ Gst/Pad#is_active(50ce9a9e25b4a850).() const
884 {
885 return gst_pad_is_active(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()));
886 }
887
888 bool Padcxx . . $ Gst/Pad#::is_blockedcxx . . $ Gst/Pad#is_blocked(50ce9a9e25b4a850).() const
889 {
890 return gst_pad_is_blocked(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()));
891 }
892
893 bool Padcxx . . $ Gst/Pad#::is_blockingcxx . . $ Gst/Pad#is_blocking(50ce9a9e25b4a850).() const
894 {
895 return gst_pad_is_blocking(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()));
896 }
897
898 void Padcxx . . $ Gst/Pad#::mark_reconfigurecxx . . $ Gst/Pad#mark_reconfigure(49f6e7a06ebc5aa8).()
899 {
900 gst_pad_mark_reconfigure(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).());
901 }
902
903 bool Padcxx . . $ Gst/Pad#::needs_reconfigurecxx . . $ Gst/Pad#needs_reconfigure(50ce9a9e25b4a850).() const
904 {
905 return gst_pad_needs_reconfigure(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()));
906 }
907
908 bool Padcxx . . $ Gst/Pad#::check_reconfigurecxx . . $ Gst/Pad#check_reconfigure(c9857a73d68e59ba).()
909 {
910 return gst_pad_check_reconfigure(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).());
911 }
912
913 bool Padcxx . . $ Gst/Pad#::has_current_capscxx . . $ Gst/Pad#has_current_caps(50ce9a9e25b4a850).() const
914 {
915 return gst_pad_has_current_caps(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()));
916 }
917
918 Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# Padcxx . . $ Gst/Pad#::create_stream_idcxx . . $ Gst/Pad#create_stream_id(db53f244723e677b).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#>& parent, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& stream_id)
919 {
920 return Glibcxx . . $ Glib/::convert_return_gchar_ptr_to_ustringcxx . . $ Glib/convert_return_gchar_ptr_to_ustring(e404b3c0cee06cd1).(gst_pad_create_stream_id(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(parent), stream_id.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()));
921 }
922
923 Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# Padcxx . . $ Gst/Pad#::get_stream_idcxx . . $ Gst/Pad#get_stream_id(fff0f585954e56f3).() const
924 {
925 return Glibcxx . . $ Glib/::convert_return_gchar_ptr_to_ustringcxx . . $ Glib/convert_return_gchar_ptr_to_ustring(e404b3c0cee06cd1).(gst_pad_get_stream_id(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).())));
926 }
927
928 void Padcxx . . $ Gst/Pad#::set_offsetcxx . . $ Gst/Pad#set_offset(1624ee8275b10bda).(gint64 offset)
929 {
930 gst_pad_set_offset(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).(), offset);
931 }
932
933 gint64 Padcxx . . $ Gst/Pad#::get_offsetcxx . . $ Gst/Pad#get_offset(57a65ae535d7db84).() const
934 {
935 return gst_pad_get_offset(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()));
936 }
937
938 void Padcxx . . $ Gst/Pad#::set_element_privatecxx . . $ Gst/Pad#set_element_private(5d22bdacc48458e8).(gpointer priv)
939 {
940 gst_pad_set_element_private(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).(), priv);
941 }
942
943 gpointer Padcxx . . $ Gst/Pad#::get_element_privatecxx . . $ Gst/Pad#get_element_private(50c7df7de5344ebb).()
944 {
945 return gst_pad_get_element_private(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).());
946 }
947
948 bool Padcxx . . $ Gst/Pad#::query_accept_capscxx . . $ Gst/Pad#query_accept_caps(d9e03a89d073e5a7).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& caps) const
949 {
950 return gst_pad_query_accept_caps(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()), const_cast<GstCaps*>(Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(1fce0cab713be4a0).(caps)));
951 }
952
953 bool Padcxx . . $ Gst/Pad#::proxy_query_capscxx . . $ Gst/Pad#proxy_query_caps(49f3f197415ffc07).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#>& query) const
954 {
955 return gst_pad_proxy_query_caps(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(query));
956 }
957
958 bool Padcxx . . $ Gst/Pad#::proxy_query_accept_capscxx . . $ Gst/Pad#proxy_query_accept_caps(49f3f197415ffc07).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#>& query) const
959 {
960 return gst_pad_proxy_query_accept_caps(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(query));
961 }
962
963 bool Padcxx . . $ Gst/Pad#::peer_query_accept_capscxx . . $ Gst/Pad#peer_query_accept_caps(d9e03a89d073e5a7).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& caps) const
964 {
965 return gst_pad_peer_query_accept_caps(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()), const_cast<GstCaps*>(Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(1fce0cab713be4a0).(caps)));
966 }
967
968 bool Padcxx . . $ Gst/Pad#::peer_query_positioncxx . . $ Gst/Pad#peer_query_position(8ddfbfb863f611fe).(Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format# format, gint64& cur) const
969 {
970 return gst_pad_peer_query_position(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()), ((GstFormat)(format)), &(cur));
971 }
972
973 bool Padcxx . . $ Gst/Pad#::peer_query_durationcxx . . $ Gst/Pad#peer_query_duration(8ddfbfb863f611fe).(Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format# format, gint64& duration) const
974 {
975 return gst_pad_peer_query_duration(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()), ((GstFormat)(format)), &(duration));
976 }
977
978 FlowReturncxx . . $ Gst/FlowReturn# Padcxx . . $ Gst/Pad#::pushcxx . . $ Gst/Pad#push(3fcf03897057e391).(Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#>&& buffer)
979 {
980 return ((FlowReturncxx . . $ Gst/FlowReturn#)(gst_pad_push(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).(), (buffer) ? buffer.releasecxx . . $ Glib/RefPtr#release(258ee1c9e0a18a5c).()->gobjcxx . . $ Gst/Buffer#gobj(fb1b615d1bc4ac88).() : nullptr)));
981 }
982
983 bool Padcxx . . $ Gst/Pad#::push_eventcxx . . $ Gst/Pad#push_event(9ae445a8aac77a84).(Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Eventcxx . . $ Gst/Event#>&& event)
984 {
985 return gst_pad_push_event(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).(), (event) ? event.releasecxx . . $ Glib/RefPtr#release(258ee1c9e0a18a5c).()->gobjcxx . . $ Gst/Event#gobj(a48510a589508d3).() : nullptr);
986 }
987
988 bool Padcxx . . $ Gst/Pad#::send_eventcxx . . $ Gst/Pad#send_event(9ae445a8aac77a84).(Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Eventcxx . . $ Gst/Event#>&& event)
989 {
990 return gst_pad_send_event(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).(), (event) ? event.releasecxx . . $ Glib/RefPtr#release(258ee1c9e0a18a5c).()->gobjcxx . . $ Gst/Event#gobj(a48510a589508d3).() : nullptr);
991 }
992
993 bool Padcxx . . $ Gst/Pad#::activate_modecxx . . $ Gst/Pad#activate_mode(e9fee7e32e7366cd).(Gstcxx . . $ Gst/::PadModecxx . . $ Gst/PadMode# mode, bool active)
994 {
995 return gst_pad_activate_mode(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).(), ((GstPadMode)(mode)), static_cast<int>(active));
996 }
997
998 bool Padcxx . . $ Gst/Pad#::event_defaultcxx . . $ Gst/Pad#event_default(6693680229050af7).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#>& parent, Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Eventcxx . . $ Gst/Event#>&& event)
999 {
1000 return gst_pad_event_default(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(parent), (event) ? event.releasecxx . . $ Glib/RefPtr#release(258ee1c9e0a18a5c).()->gobjcxx . . $ Gst/Event#gobj(a48510a589508d3).() : nullptr);
1001 }
1002
1003 bool Padcxx . . $ Gst/Pad#::event_defaultcxx . . $ Gst/Pad#event_default(9ae445a8aac77a84).(Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Eventcxx . . $ Gst/Event#>&& event)
1004 {
1005 return gst_pad_event_default(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).(), nullptr, (event) ? event.releasecxx . . $ Glib/RefPtr#release(258ee1c9e0a18a5c).()->gobjcxx . . $ Gst/Event#gobj(a48510a589508d3).() : nullptr);
1006 }
1007
1008 bool Padcxx . . $ Gst/Pad#::querycxx . . $ Gst/Pad#query(49f3f197415ffc07).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#>& query) const
1009 {
1010 return gst_pad_query(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(query));
1011 }
1012
1013 bool Padcxx . . $ Gst/Pad#::peer_querycxx . . $ Gst/Pad#peer_query(49f3f197415ffc07).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#>& query) const
1014 {
1015 return gst_pad_peer_query(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(query));
1016 }
1017
1018 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> Padcxx . . $ Gst/Pad#::peer_query_capscxx . . $ Gst/Pad#peer_query_caps(74dce9e80895d45c).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& filter) const
1019 {
1020 return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(gst_pad_peer_query_caps(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(filter)));
1021 }
1022
1023 bool Padcxx . . $ Gst/Pad#::query_defaultcxx . . $ Gst/Pad#query_default(dfc30cbf13813e23).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#>& parent, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#>& query) const
1024 {
1025 return gst_pad_query_default(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(parent), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(query));
1026 }
1027
1028 bool Padcxx . . $ Gst/Pad#::query_defaultcxx . . $ Gst/Pad#query_default(49f3f197415ffc07).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#>& query) const
1029 {
1030 return gst_pad_query_default(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()), nullptr, Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(query));
1031 }
1032
1033 bool Padcxx . . $ Gst/Pad#::query_positioncxx . . $ Gst/Pad#query_position(8ddfbfb863f611fe).(Formatcxx . . $ Gst/Format# format, gint64& position) const
1034 {
1035 return gst_pad_query_position(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()), ((GstFormat)(format)), &(position));
1036 }
1037
1038 bool Padcxx . . $ Gst/Pad#::query_durationcxx . . $ Gst/Pad#query_duration(8ddfbfb863f611fe).(Formatcxx . . $ Gst/Format# format, gint64& duration) const
1039 {
1040 return gst_pad_query_duration(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()), ((GstFormat)(format)), &(duration));
1041 }
1042
1043 bool Padcxx . . $ Gst/Pad#::query_convertcxx . . $ Gst/Pad#query_convert(71f0eba8c39f35a9).(Formatcxx . . $ Gst/Format# src_format, gint64 src_value, Formatcxx . . $ Gst/Format# dst_format, gint64& dst_value) const
1044 {
1045 return gst_pad_query_convert(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()), ((GstFormat)(src_format)), src_value, ((GstFormat)(dst_format)), &(dst_value));
1046 }
1047
1048 bool Padcxx . . $ Gst/Pad#::peer_query_convertcxx . . $ Gst/Pad#peer_query_convert(71f0eba8c39f35a9).(Formatcxx . . $ Gst/Format# src_format, gint64 src_value, Formatcxx . . $ Gst/Format# dst_format, gint64& dst_value) const
1049 {
1050 return gst_pad_peer_query_convert(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()), ((GstFormat)(src_format)), src_value, ((GstFormat)(dst_format)), &(dst_value));
1051 }
1052
1053 Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> Padcxx . . $ Gst/Pad#::iterate_internal_linkscxx . . $ Gst/Pad#iterate_internal_links(10d94222ba1c486f).()
1054 {
1055 return Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>(gst_pad_iterate_internal_links(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).()));
1056 }
1057
1058 Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<const Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> Padcxx . . $ Gst/Pad#::iterate_internal_linkscxx . . $ Gst/Pad#iterate_internal_links(d2e147ad024c55a4).() const
1059 {
1060 return Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<const Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>(gst_pad_iterate_internal_links(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).())));
1061 }
1062
1063 Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> Padcxx . . $ Gst/Pad#::iterate_internal_links_defaultcxx . . $ Gst/Pad#iterate_internal_links_default(d1a4fbbaff91f8a1).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#>& parent)
1064 {
1065 return Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>(gst_pad_iterate_internal_links_default(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(parent)));
1066 }
1067
1068 Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> Padcxx . . $ Gst/Pad#::iterate_internal_links_defaultcxx . . $ Gst/Pad#iterate_internal_links_default(10d94222ba1c486f).()
1069 {
1070 return Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>(gst_pad_iterate_internal_links_default(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).(), nullptr));
1071 }
1072
1073 Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<const Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> Padcxx . . $ Gst/Pad#::iterate_internal_links_defaultcxx . . $ Gst/Pad#iterate_internal_links_default(a560ad4ab339c2d1).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#>& parent) const
1074 {
1075 return Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<const Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>(gst_pad_iterate_internal_links_default(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(parent)));
1076 }
1077
1078 Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<const Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> Padcxx . . $ Gst/Pad#::iterate_internal_links_defaultcxx . . $ Gst/Pad#iterate_internal_links_default(d2e147ad024c55a4).() const
1079 {
1080 return Gstcxx . . $ Gst/::Iteratorcxx . . $ Gst/Iterator#<const Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>(gst_pad_iterate_internal_links_default(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()), nullptr));
1081 }
1082
1083 Gstcxx . . $ Gst/::FlowReturncxx . . $ Gst/FlowReturn# Padcxx . . $ Gst/Pad#::chaincxx . . $ Gst/Pad#chain(3fcf03897057e391).(Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#>&& buffer)
1084 {
1085 return ((Gstcxx . . $ Gst/::FlowReturncxx . . $ Gst/FlowReturn#)(gst_pad_chain(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).(), (buffer) ? buffer.releasecxx . . $ Glib/RefPtr#release(258ee1c9e0a18a5c).()->gobjcxx . . $ Gst/Buffer#gobj(fb1b615d1bc4ac88).() : nullptr)));
1086 }
1087
1088 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> Padcxx . . $ Gst/Pad#::get_current_capscxx . . $ Gst/Pad#get_current_caps(22811ab509ec2061).()
1089 {
1090 return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(gst_pad_get_current_caps(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).()));
1091 }
1092
1093 bool Padcxx . . $ Gst/Pad#::pause_taskcxx . . $ Gst/Pad#pause_task(c9857a73d68e59ba).()
1094 {
1095 return gst_pad_pause_task(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).());
1096 }
1097
1098 bool Padcxx . . $ Gst/Pad#::stop_taskcxx . . $ Gst/Pad#stop_task(c9857a73d68e59ba).()
1099 {
1100 return gst_pad_stop_task(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).());
1101 }
1102
1103 bool Padcxx . . $ Gst/Pad#::set_activecxx . . $ Gst/Pad#set_active(efaadfb7dc14930a).(bool active)
1104 {
1105 return gst_pad_set_active(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).(), static_cast<int>(active));
1106 }
1107
1108 Gstcxx . . $ Gst/::FlowReturncxx . . $ Gst/FlowReturn# Padcxx . . $ Gst/Pad#::get_last_flow_returncxx . . $ Gst/Pad#get_last_flow_return(62a9a0a9259f61d8).() const
1109 {
1110 return ((Gstcxx . . $ Gst/::FlowReturncxx . . $ Gst/FlowReturn#)(gst_pad_get_last_flow_return(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()))));
1111 }
1112
1113 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Eventcxx . . $ Gst/Event#> Padcxx . . $ Gst/Pad#::get_sticky_eventcxx . . $ Gst/Pad#get_sticky_event(c7f5f97328f49c50).(Gstcxx . . $ Gst/::EventTypecxx . . $ Gst/EventType# event_type, guint idx) const
1114 {
1115 return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(dec56968f86598a5).(gst_pad_get_sticky_event(const_cast<GstPadcxx . . $ GstPad#*>(gobjcxx . . $ Gst/Pad#gobj(a2149400c1382a29).()), ((GstEventType)(event_type)), idx));
1116 }
1117
1118
1119 Glibcxx . . $ Glib/::SignalProxycxx . . $ Glib/SignalProxy#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>& > Padcxx . . $ Gst/Pad#::signal_linkedcxx . . $ Gst/Pad#signal_linked(b8ac1dfc5db9f846).()
1120 {
1121 return Glibcxx . . $ Glib/SignalProxy#SignalProxy(99c0b07349c102a).::SignalProxycxx . . $ Glib/SignalProxy#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>& >(this, &Pad_signal_linked_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/pad.cc`/Pad_signal_linked_info.);
1122 }
1123
1124
1125 Glibcxx . . $ Glib/::SignalProxycxx . . $ Glib/SignalProxy#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>& > Padcxx . . $ Gst/Pad#::signal_unlinkedcxx . . $ Gst/Pad#signal_unlinked(b8ac1dfc5db9f846).()
1126 {
1127 return Glibcxx . . $ Glib/SignalProxy#SignalProxy(99c0b07349c102a).::SignalProxycxx . . $ Glib/SignalProxy#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>& >(this, &Pad_signal_unlinked_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/pad.cc`/Pad_signal_unlinked_info.);
1128 }
1129
1130
1131 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> > Padcxx . . $ Gst/Pad#::property_capscxx . . $ Gst/Pad#property_caps(e0fc34847650ee7e).() const
1132 {
1133 return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> >(this, "caps");
1134 }
1135
1136 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< PadDirectioncxx . . $ Gst/PadDirection# > Padcxx . . $ Gst/Pad#::property_directioncxx . . $ Gst/Pad#property_direction(dc50ea6d86fb99f7).() const
1137 {
1138 return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< PadDirectioncxx . . $ Gst/PadDirection# >(this, "direction");
1139 }
1140
1141 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< PadTemplatecxx . . $ Gst/PadTemplate# > Padcxx . . $ Gst/Pad#::property_templatecxx . . $ Gst/Pad#property_template(b44167728ac7a31c).()
1142 {
1143 return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< PadTemplatecxx . . $ Gst/PadTemplate# >(this, "template");
1144 }
1145
1146 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< PadTemplatecxx . . $ Gst/PadTemplate# > Padcxx . . $ Gst/Pad#::property_templatecxx . . $ Gst/Pad#property_template(83ead077afeabc56).() const
1147 {
1148 return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< PadTemplatecxx . . $ Gst/PadTemplate# >(this, "template");
1149 }
1150
1151 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< gint64 > Padcxx . . $ Gst/Pad#::property_offsetcxx . . $ Gst/Pad#property_offset(6b69460574dd6a75).()
1152 {
1153 return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< gint64 >(this, "offset");
1154 }
1155
1156 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< gint64 > Padcxx . . $ Gst/Pad#::property_offsetcxx . . $ Gst/Pad#property_offset(593ac6380b69f4e9).() const
1157 {
1158 return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< gint64 >(this, "offset");
1159 }
1160
1161
1162 void Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#::on_linkedcxx . . $ Gst/Pad#on_linked(6d8541f3277dd441).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>& peer_pad)
1163 {
1164 const auto base = static_cast<BaseClassTypecxx . . $ Gst/Pad#BaseClassType#*>(
1165 g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class).
1166 );
1167
1168 if(base && base->linkedcxx . . $ _GstPadClass#linked.)
1169 (*base->linkedcxx . . $ _GstPadClass#linked.)(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(peer_pad));
1170 }
1171 void Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#::on_unlinkedcxx . . $ Gst/Pad#on_unlinked(6d8541f3277dd441).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>& peer_pad)
1172 {
1173 const auto base = static_cast<BaseClassTypecxx . . $ Gst/Pad#BaseClassType#*>(
1174 g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class).
1175 );
1176
1177 if(base && base->unlinkedcxx . . $ _GstPadClass#unlinked.)
1178 (*base->unlinkedcxx . . $ _GstPadClass#unlinked.)(gobjcxx . . $ Gst/Pad#gobj(fd39c951f44759e7).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(peer_pad));
1179 }
1180
1181
1182 } // namespace Gst
1183
1184
1185 namespace Gstcxx . . $ Gst/
1186 {
1187
1188
1189 gulong PadProbeInfocxx . . $ Gst/PadProbeInfo#::get_idcxx . . $ Gst/PadProbeInfo#get_id(fe4d2d262d4164a8).() const
1190 {
1191 return gobjcxx . . $ Gst/PadProbeInfo#gobj(804245df1bf29309).()->idcxx . . $ _GstPadProbeInfo#id.;
1192 }
1193
1194 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Eventcxx . . $ Gst/Event#> PadProbeInfocxx . . $ Gst/PadProbeInfo#::get_eventcxx . . $ Gst/PadProbeInfo#get_event(4f53527c86b80796).()
1195 {
1196 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Eventcxx . . $ Gst/Event#> retvalue = Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(dec56968f86598a5).(gst_pad_probe_info_get_event(gobjcxx . . $ Gst/PadProbeInfo#gobj(a0715923149ef9ff).()));
1197 if(retvalue)
1198 retvalue->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).referencecxx . . $ Gst/Event#reference(83f5f38750778ac8).(); //The function does not do a ref for us.
1199 return retvaluecxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).;
1200 }
1201
1202 const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Eventcxx . . $ Gst/Event#> PadProbeInfocxx . . $ Gst/PadProbeInfo#::get_eventcxx . . $ Gst/PadProbeInfo#get_event(a38918fb3090d59d).() const
1203 {
1204 return const_cast<PadProbeInfocxx . . $ Gst/PadProbeInfo#*>(this)->get_eventcxx . . $ Gst/PadProbeInfo#get_event(4f53527c86b80796).();
1205 }
1206
1207 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#> PadProbeInfocxx . . $ Gst/PadProbeInfo#::get_querycxx . . $ Gst/PadProbeInfo#get_query(69f77bd15c554518).()
1208 {
1209 return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7b383c8dd7fcdbfb).(gst_pad_probe_info_get_query(gobjcxx . . $ Gst/PadProbeInfo#gobj(a0715923149ef9ff).()));
1210 }
1211
1212 const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#> PadProbeInfocxx . . $ Gst/PadProbeInfo#::get_querycxx . . $ Gst/PadProbeInfo#get_query(b098854b5caa12f).() const
1213 {
1214 return const_cast<PadProbeInfocxx . . $ Gst/PadProbeInfo#*>(this)->get_querycxx . . $ Gst/PadProbeInfo#get_query(69f77bd15c554518).();
1215 }
1216
1217 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#> PadProbeInfocxx . . $ Gst/PadProbeInfo#::get_buffercxx . . $ Gst/PadProbeInfo#get_buffer(6fb1b7a5ca7b7240).()
1218 {
1219 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#> retvalue = Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3c551c778c6a14a5).(gst_pad_probe_info_get_buffer(gobjcxx . . $ Gst/PadProbeInfo#gobj(a0715923149ef9ff).()));
1220 if(retvalue)
1221 retvalue->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).referencecxx . . $ Gst/Buffer#reference(83f5f38750778ac8).(); //The function does not do a ref for us.
1222 return retvaluecxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).;
1223 }
1224
1225 const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#> PadProbeInfocxx . . $ Gst/PadProbeInfo#::get_buffercxx . . $ Gst/PadProbeInfo#get_buffer(95f60004065996b9).() const
1226 {
1227 return const_cast<PadProbeInfocxx . . $ Gst/PadProbeInfo#*>(this)->get_buffercxx . . $ Gst/PadProbeInfo#get_buffer(6fb1b7a5ca7b7240).();
1228 }
1229
1230 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::BufferListcxx . . $ Gst/BufferList#> PadProbeInfocxx . . $ Gst/PadProbeInfo#::get_buffer_listcxx . . $ Gst/PadProbeInfo#get_buffer_list(a537beb5731b3dd6).()
1231 {
1232 return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3f30d858dd1cdfe1).(gst_pad_probe_info_get_buffer_list(gobjcxx . . $ Gst/PadProbeInfo#gobj(a0715923149ef9ff).()));
1233 }
1234
1235 const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::BufferListcxx . . $ Gst/BufferList#> PadProbeInfocxx . . $ Gst/PadProbeInfo#::get_buffer_listcxx . . $ Gst/PadProbeInfo#get_buffer_list(8ccbdf3400cc01e2).() const
1236 {
1237 return const_cast<PadProbeInfocxx . . $ Gst/PadProbeInfo#*>(this)->get_buffer_listcxx . . $ Gst/PadProbeInfo#get_buffer_list(a537beb5731b3dd6).();
1238 }
1239
1240
1241 } // namespace Gst
1242
1243