Debian Codegraph @

gstreamer/gstreamermm/colorbalance.cc

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/colorbalance.cc`/
2
3
4 #include <glibmm.h>
5
6 #include <gstreamermm/colorbalance.h>cxx . . $ `<file>/gstreamer/gstreamermm/colorbalance.h`/
7 #include <gstreamermm/private/colorbalance_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/colorbalance_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 <gstreamermm/colorbalancechannel.h>cxx . . $ `<file>/gstreamer/gstreamermm/colorbalancechannel.h`/
30
31 namespace Gstcxx . . $ Gst/
32 {
33
34 const GList* ColorBalance_Classcxx . . $ Gst/ColorBalance_Class#::list_channels_vfunc_callbackcxx . . $ Gst/ColorBalance_Class#list_channels_vfunc_callback(45cffde380904b8).(GstColorBalancecxx . . $ GstColorBalance#* self)
35 {
36 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase# *const obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
37 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
38
39 // Non-gtkmmproc-generated custom classes implicitly call the default
40 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
41 // generated classes can use this optimisation, which avoids the unnecessary
42 // parameter conversions if there is no possibility of the virtual function
43 // being overridden:
44 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
45 {
46 CppObjectTypecxx . . $ Gst/ColorBalance_Class#CppObjectType# *const obj = dynamic_cast<CppObjectTypecxx . . $ Gst/ColorBalance_Class#CppObjectType#* const>(obj_base);
47 if(obj) // This can be NULL during destruction.
48 {
49 try // Trap C++ exceptions which would normally be lost because this is a C callback.
50 {
51 // Call the virtual member method, which derived classes might override.
52 return (obj->list_channels_vfunccxx . . $ Gst/ColorBalance#list_channels_vfunc(8273883b65709f85).()).datacxx . . $ Glib/ListHandle#data(f53ce1db5095ce80).();
53 }
54 catch(...)
55 {
56 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
57 }
58 }
59 }
60
61 BaseClassTypecxx . . $ Gst/ColorBalance_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/ColorBalance_Class#BaseClassType#*>(
62 g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface).
63 g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self), CppObjectTypecxx . . $ Gst/ColorBalance_Class#CppObjectType#::get_typecxx . . $ Gst/ColorBalance#get_type(f708dce9a8856c70).()) // Get the interface.
64 ) );
65
66 // Call the original underlying C function:
67 if(base && base->list_channelscxx . . $ _GstColorBalanceInterface#list_channels.)
68 return (*base->list_channelscxx . . $ _GstColorBalanceInterface#list_channels.)(self);
69
70
71 typedef const GList* RTypecxx . . $ Gst/ColorBalance_Class#list_channels_vfunc_callback(45cffde380904b8).RType#;
72 return RTypecxx . . $ Gst/ColorBalance_Class#list_channels_vfunc_callback(45cffde380904b8).RType#();
73 }
74 Glibcxx . . $ Glib/::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<ColorBalanceChannelcxx . . $ Gst/ColorBalanceChannel#> > Gstcxx . . $ Gst/::ColorBalancecxx . . $ Gst/ColorBalance#::list_channels_vfunccxx . . $ Gst/ColorBalance#list_channels_vfunc(8273883b65709f85).() const
75 {
76 BaseClassTypecxx . . $ Gst/ColorBalance#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/ColorBalance#BaseClassType#*>(
77 g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface).
78 g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_), CppObjectTypecxx . . $ Gst/ColorBalance#CppObjectType#::get_typecxx . . $ Gst/ColorBalance#get_type(f708dce9a8856c70).()) // Get the interface.
79 ) );
80
81 if(base && base->list_channelscxx . . $ _GstColorBalanceInterface#list_channels.)
82 return Glibcxx . . $ Glib/ListHandle#ListHandle(f3cce3d3930c5f04).::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<ColorBalanceChannelcxx . . $ Gst/ColorBalanceChannel#> >(const_cast<GList*>((*base->list_channelscxx . . $ _GstColorBalanceInterface#list_channels.)(const_cast<GstColorBalancecxx . . $ GstColorBalance#*>(gobjcxx . . $ Gst/ColorBalance#gobj(8d4ef6831388ab29).()))), Glibcxx . . $ Glib/::OWNERSHIP_NONEcxx . . $ Glib/OWNERSHIP_NONE.);
83
84 typedef Glibcxx . . $ Glib/::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<ColorBalanceChannelcxx . . $ Gst/ColorBalanceChannel#> > RTypecxx . . $ Gst/ColorBalance#list_channels_vfunc(8273883b65709f85).RType#;
85 return RTypecxx . . $ Glib/ListHandle#ListHandle(f3cce3d3930c5f04).(0, Glibcxx . . $ Glib/::OWNERSHIP_NONEcxx . . $ Glib/OWNERSHIP_NONE.);
86 }
87
88 } // namespace Gst
89
90 namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/colorbalance.cc`/
91 {
92
93
94 static void ColorBalance_signal_value_changed_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/colorbalance.cc`/ColorBalance_signal_value_changed_callback(d395a03f7f7b902a).(GstColorBalancecxx . . $ GstColorBalance#* self, GstColorBalanceChannelcxx . . $ GstColorBalanceChannel#* p0,gint p1,void* data)
95 {
96 using namespace Gst;
97 using SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/colorbalance.cc`/ColorBalance_signal_value_changed_callback(d395a03f7f7b902a).SlotType# = sigccxx . . $ sigc/::slotcxx . . $ sigc/slot#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::ColorBalanceChannelcxx . . $ Gst/ColorBalanceChannel#>&,int >;
98
99 auto obj = dynamic_cast<ColorBalancecxx . . $ Gst/ColorBalance#*>(Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*) self));
100 // Do not try to call a signal on a disassociated wrapper.
101 if(obj)
102 {
103 try
104 {
105 if(const auto slot = Glibcxx . . $ Glib/::SignalProxyNormalcxx . . $ Glib/SignalProxyNormal#::data_to_slotcxx . . $ Glib/SignalProxyBase#data_to_slot(1b18816c898558ea).(data))
106 (*static_cast<SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/colorbalance.cc`/ColorBalance_signal_value_changed_callback(d395a03f7f7b902a).SlotType#*>(slot))(cxx . . $ sigc/slot2#`operator()`(d6f853cadabc373b).Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(c685fe8f95bdb1c).(p0, true)
107 , p1
108 );
109 }
110 catch(...)
111 {
112 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
113 }
114 }
115 }
116
117 static const Glibcxx . . $ Glib/::SignalProxyInfocxx . . $ Glib/SignalProxyInfo# ColorBalance_signal_value_changed_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/colorbalance.cc`/ColorBalance_signal_value_changed_info. =
118 {
119 "value-changed",
120 (GCallback) &ColorBalance_signal_value_changed_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/colorbalance.cc`/ColorBalance_signal_value_changed_callback(d395a03f7f7b902a).,
121 (GCallback) &ColorBalance_signal_value_changed_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/colorbalance.cc`/ColorBalance_signal_value_changed_callback(d395a03f7f7b902a).
122 };
123
124
125 } // anonymous namespace
126
127
128 namespace Glibcxx . . $ Glib/
129 {
130
131 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::ColorBalancecxx . . $ Gst/ColorBalance#> wrapcxx . . $ Glib/wrap(8e1361fa9c35a447).(GstColorBalancecxx . . $ GstColorBalance#* object, bool take_copy)
132 {
133 return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::ColorBalancecxx . . $ Gst/ColorBalance#>( dynamic_cast<Gstcxx . . $ Gst/::ColorBalancecxx . . $ Gst/ColorBalance#*> (Glibcxx . . $ Glib/::wrap_auto_interfacecxx . . $ Glib/wrap_auto_interface(895573aecd4fc9a4).<Gstcxx . . $ Gst/::ColorBalancecxx . . $ Gst/ColorBalance#> ((GObjectcxx . . $ GObject#*)(object), take_copy)) );
134 //We use dynamic_cast<> in case of multiple inheritance.
135 }
136
137 } // namespace Glib
138
139
140 namespace Gstcxx . . $ Gst/
141 {
142
143
144 /* The *_Class implementation: */
145
146 const Glibcxx . . $ Glib/::Interface_Classcxx . . $ Glib/Interface_Class#& ColorBalance_Classcxx . . $ Gst/ColorBalance_Class#::initcxx . . $ Gst/ColorBalance_Class#init(abc04d6bda8aa5b8).()
147 {
148 if(!gtype_cxx . . $ Glib/Class#gtype_.) // create the GType if necessary
149 {
150 // Glib::Interface_Class has to know the interface init function
151 // in order to add interfaces to implementing types.
152 class_init_func_cxx . . $ Glib/Class#class_init_func_. = &ColorBalance_Classcxx . . $ Gst/ColorBalance_Class#::iface_init_functioncxx . . $ Gst/ColorBalance_Class#iface_init_function(6c58c5e2437d25a2).;
153
154 // We can not derive from another interface, and it is not necessary anyway.
155 gtype_cxx . . $ Glib/Class#gtype_. = gst_color_balance_get_type();
156 }
157
158 return *this;
159 }
160
161 void ColorBalance_Classcxx . . $ Gst/ColorBalance_Class#::iface_init_functioncxx . . $ Gst/ColorBalance_Class#iface_init_function(6c58c5e2437d25a2).(void* g_iface, void*)
162 {
163 const auto klass = static_cast<BaseClassTypecxx . . $ Gst/ColorBalance_Class#BaseClassType#*>(g_iface);
164
165 //This is just to avoid an "unused variable" warning when there are no vfuncs or signal handlers to connect.
166 //This is a temporary fix until I find out why I can not seem to derive a GtkFileChooser interface. murrayc
167 g_assertcxx . . $ `<external>/15287032793271088244/gtestutils.h:275:9`!(klass != nullptr);
168
169 klass->set_valuecxx . . $ _GstColorBalanceInterface#set_value. = &set_value_vfunc_callbackcxx . . $ Gst/ColorBalance_Class#set_value_vfunc_callback(98105512b962db46).;
170 klass->get_valuecxx . . $ _GstColorBalanceInterface#get_value. = &get_value_vfunc_callbackcxx . . $ Gst/ColorBalance_Class#get_value_vfunc_callback(332a717d7a8087ce).;
171 klass->get_balance_typecxx . . $ _GstColorBalanceInterface#get_balance_type. = &get_balance_type_vfunc_callbackcxx . . $ Gst/ColorBalance_Class#get_balance_type_vfunc_callback(1e94ebecb12e91dc).;
172 klass->list_channelscxx . . $ _GstColorBalanceInterface#list_channels. = &list_channels_vfunc_callbackcxx . . $ Gst/ColorBalance_Class#list_channels_vfunc_callback(45cffde380904b8).;
173
174 klass->value_changedcxx . . $ _GstColorBalanceInterface#value_changed. = &value_changed_callbackcxx . . $ Gst/ColorBalance_Class#value_changed_callback(98105512b962db46).;
175 }
176
177 void ColorBalance_Classcxx . . $ Gst/ColorBalance_Class#::set_value_vfunc_callbackcxx . . $ Gst/ColorBalance_Class#set_value_vfunc_callback(98105512b962db46).(GstColorBalancecxx . . $ GstColorBalance#* self, GstColorBalanceChannelcxx . . $ GstColorBalanceChannel#* balance, gint value)
178 {
179 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
180 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
181
182 // Non-gtkmmproc-generated custom classes implicitly call the default
183 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
184 // generated classes can use this optimisation, which avoids the unnecessary
185 // parameter conversions if there is no possibility of the virtual function
186 // being overridden:
187 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
188 {
189 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/ColorBalance_Class#CppObjectType#* const>(obj_base);
190 if(obj) // This can be NULL during destruction.
191 {
192 try // Trap C++ exceptions which would normally be lost because this is a C callback.
193 {
194 // Call the virtual member method, which derived classes might override.
195 obj->set_value_vfunccxx . . $ Gst/ColorBalance#set_value_vfunc(7dfe56d548b261b6).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(c685fe8f95bdb1c).(balance, true)
196 , value
197 );
198 return;
199 }
200 catch(...)
201 {
202 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
203 }
204 }
205 }
206
207 BaseClassTypecxx . . $ Gst/ColorBalance_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/ColorBalance_Class#BaseClassType#*>(
208 g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface).
209 g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self), CppObjectTypecxx . . $ Gst/ColorBalance_Class#CppObjectType#::get_typecxx . . $ Gst/ColorBalance#get_type(f708dce9a8856c70).()) // Get the interface.
210 ) );
211
212 // Call the original underlying C function:
213 if(base && base->set_valuecxx . . $ _GstColorBalanceInterface#set_value.)
214 (*base->set_valuecxx . . $ _GstColorBalanceInterface#set_value.)(self, balance, value);
215 }
216 gint ColorBalance_Classcxx . . $ Gst/ColorBalance_Class#::get_value_vfunc_callbackcxx . . $ Gst/ColorBalance_Class#get_value_vfunc_callback(332a717d7a8087ce).(GstColorBalancecxx . . $ GstColorBalance#* self, GstColorBalanceChannelcxx . . $ GstColorBalanceChannel#* balance)
217 {
218 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
219 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
220
221 // Non-gtkmmproc-generated custom classes implicitly call the default
222 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
223 // generated classes can use this optimisation, which avoids the unnecessary
224 // parameter conversions if there is no possibility of the virtual function
225 // being overridden:
226 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
227 {
228 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/ColorBalance_Class#CppObjectType#* const>(obj_base);
229 if(obj) // This can be NULL during destruction.
230 {
231 try // Trap C++ exceptions which would normally be lost because this is a C callback.
232 {
233 // Call the virtual member method, which derived classes might override.
234 return obj->get_value_vfunccxx . . $ Gst/ColorBalance#get_value_vfunc(7f9800f62fef5ee5).(Glibcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).::wrapcxx . . $ Glib/wrap(c685fe8f95bdb1c).(balance, true)
235 );
236 }
237 catch(...)
238 {
239 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
240 }
241 }
242 }
243
244 BaseClassTypecxx . . $ Gst/ColorBalance_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/ColorBalance_Class#BaseClassType#*>(
245 g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface).
246 g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self), CppObjectTypecxx . . $ Gst/ColorBalance_Class#CppObjectType#::get_typecxx . . $ Gst/ColorBalance#get_type(f708dce9a8856c70).()) // Get the interface.
247 ) );
248
249 // Call the original underlying C function:
250 if(base && base->get_valuecxx . . $ _GstColorBalanceInterface#get_value.)
251 return (*base->get_valuecxx . . $ _GstColorBalanceInterface#get_value.)(self, balance);
252
253 using RTypecxx . . $ Gst/ColorBalance_Class#get_value_vfunc_callback(332a717d7a8087ce).RType# = gint;
254 return RTypecxx . . $ Gst/ColorBalance_Class#get_value_vfunc_callback(332a717d7a8087ce).RType#();
255 }
256 GstColorBalanceType ColorBalance_Classcxx . . $ Gst/ColorBalance_Class#::get_balance_type_vfunc_callbackcxx . . $ Gst/ColorBalance_Class#get_balance_type_vfunc_callback(1e94ebecb12e91dc).(GstColorBalancecxx . . $ GstColorBalance#* self)
257 {
258 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
259 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
260
261 // Non-gtkmmproc-generated custom classes implicitly call the default
262 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
263 // generated classes can use this optimisation, which avoids the unnecessary
264 // parameter conversions if there is no possibility of the virtual function
265 // being overridden:
266 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
267 {
268 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/ColorBalance_Class#CppObjectType#* const>(obj_base);
269 if(obj) // This can be NULL during destruction.
270 {
271 try // Trap C++ exceptions which would normally be lost because this is a C callback.
272 {
273 // Call the virtual member method, which derived classes might override.
274 return ((GstColorBalanceType)(obj->get_balance_type_vfunccxx . . $ Gst/ColorBalance#get_balance_type_vfunc(17e24ed63dc2d377).()));
275 }
276 catch(...)
277 {
278 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
279 }
280 }
281 }
282
283 BaseClassTypecxx . . $ Gst/ColorBalance_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/ColorBalance_Class#BaseClassType#*>(
284 g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface).
285 g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self), CppObjectTypecxx . . $ Gst/ColorBalance_Class#CppObjectType#::get_typecxx . . $ Gst/ColorBalance#get_type(f708dce9a8856c70).()) // Get the interface.
286 ) );
287
288 // Call the original underlying C function:
289 if(base && base->get_balance_typecxx . . $ _GstColorBalanceInterface#get_balance_type.)
290 return (*base->get_balance_typecxx . . $ _GstColorBalanceInterface#get_balance_type.)(self);
291
292 using RTypecxx . . $ Gst/ColorBalance_Class#get_balance_type_vfunc_callback(1e94ebecb12e91dc).RType# = GstColorBalanceType;
293 return RTypecxx . . $ Gst/ColorBalance_Class#get_balance_type_vfunc_callback(1e94ebecb12e91dc).RType#();
294 }
295
296 void ColorBalance_Classcxx . . $ Gst/ColorBalance_Class#::value_changed_callbackcxx . . $ Gst/ColorBalance_Class#value_changed_callback(98105512b962db46).(GstColorBalancecxx . . $ GstColorBalance#* self, GstColorBalanceChannelcxx . . $ GstColorBalanceChannel#* p0, gint p1)
297 {
298 const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>(
299 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self));
300
301 // Non-gtkmmproc-generated custom classes implicitly call the default
302 // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
303 // generated classes can use this optimisation, which avoids the unnecessary
304 // parameter conversions if there is no possibility of the virtual function
305 // being overridden:
306 if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).())
307 {
308 const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/ColorBalance_Class#CppObjectType#* const>(obj_base);
309 if(obj) // This can be NULL during destruction.
310 {
311 try // Trap C++ exceptions which would normally be lost because this is a C callback.
312 {
313 // Call the virtual member method, which derived classes might override.
314 obj->on_value_changedcxx . . $ Gst/ColorBalance#on_value_changed(7dfe56d548b261b6).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(c685fe8f95bdb1c).(p0, true)
315 , p1
316 );
317 return;
318 }
319 catch(...)
320 {
321 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
322 }
323 }
324 }
325
326 const auto base = static_cast<BaseClassTypecxx . . $ Gst/ColorBalance_Class#BaseClassType#*>(
327 g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface).
328 g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self), CppObjectTypecxx . . $ Gst/ColorBalance_Class#CppObjectType#::get_typecxx . . $ Gst/ColorBalance#get_type(f708dce9a8856c70).()) // Get the interface.
329 ) );
330
331 // Call the original underlying C function:
332 if(base && base->value_changedcxx . . $ _GstColorBalanceInterface#value_changed.)
333 (*base->value_changedcxx . . $ _GstColorBalanceInterface#value_changed.)(self, p0, p1);
334 }
335
336
337 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#* ColorBalance_Classcxx . . $ Gst/ColorBalance_Class#::wrap_newcxx . . $ Gst/ColorBalance_Class#wrap_new(893eec6d4349e251).(GObjectcxx . . $ GObject#* object)
338 {
339 return new ColorBalancecxx . . $ Gst/ColorBalance#((GstColorBalancecxx . . $ GstColorBalance#*)(object));
340 }
341
342
343 /* The implementation: */
344
345 ColorBalancecxx . . $ Gst/ColorBalance#::ColorBalancecxx . . $ Gst/ColorBalance#ColorBalance(49f6e7a06ebc5aa8).()
346 :
347 Glibcxx . . $ Glib/::Interfacecxx . . $ Glib/Interface#(colorbalance_class_cxx . . $ Gst/ColorBalance#colorbalance_class_..initcxx . . $ Gst/ColorBalance_Class#init(abc04d6bda8aa5b8).())
348 {}
349
350 ColorBalancecxx . . $ Gst/ColorBalance#::ColorBalancecxx . . $ Gst/ColorBalance#ColorBalance(3f01d7f4675063).(GstColorBalancecxx . . $ GstColorBalance#* castitem)
351 :
352 Glibcxx . . $ Glib/::Interfacecxx . . $ Glib/Interface#((GObjectcxx . . $ GObject#*)(castitem))
353 {}
354
355 ColorBalancecxx . . $ Gst/ColorBalance#::ColorBalancecxx . . $ Gst/ColorBalance#ColorBalance(2ae54c1e3e0dc4a8).(const Glibcxx . . $ Glib/::Interface_Classcxx . . $ Glib/Interface_Class#& interface_class)
356 : Glibcxx . . $ Glib/::Interfacecxx . . $ Glib/Interface#(interface_class)
357 {
358 }
359
360 ColorBalancecxx . . $ Gst/ColorBalance#::ColorBalancecxx . . $ Gst/ColorBalance#ColorBalance(ffc2ca468bfb234c).(ColorBalancecxx . . $ Gst/ColorBalance#&& src) noexcept
361 : Glibcxx . . $ Glib/::Interfacecxx . . $ Glib/Interface#(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src))
362 {}
363
364 ColorBalancecxx . . $ Gst/ColorBalance#& ColorBalancecxx . . $ Gst/ColorBalance#::operatorcxx . . $ Gst/ColorBalance#`operator=`(11898af2f5fbf688).=(ColorBalancecxx . . $ Gst/ColorBalance#&& src) noexcept
365 {
366 Glibcxx . . $ Glib/::Interfacecxx . . $ Glib/Interface#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src));
367 return *this;
368 }
369
370 ColorBalancecxx . . $ Gst/ColorBalance#::~cxx . . $ Gst/ColorBalance#`~ColorBalance`(ced63f7c635d850d).ColorBalancecxx . . $ Gst/ColorBalance#() noexcept
371 {}
372
373 // static
374 void ColorBalancecxx . . $ Gst/ColorBalance#::add_interfacecxx . . $ Gst/ColorBalance#add_interface(2c44cd906ae4e829).(GType gtype_implementer)
375 {
376 colorbalance_class_cxx . . $ Gst/ColorBalance#colorbalance_class_..initcxx . . $ Gst/ColorBalance_Class#init(abc04d6bda8aa5b8).().add_interfacecxx . . $ Glib/Interface_Class#add_interface(cf8bf0a838713cc4).(gtype_implementer);
377 }
378
379 ColorBalancecxx . . $ Gst/ColorBalance#::CppClassTypecxx . . $ Gst/ColorBalance#CppClassType# ColorBalancecxx . . $ Gst/ColorBalance#::colorbalance_class_cxx . . $ Gst/ColorBalance#colorbalance_class_.; // initialize static member
380
381 GType ColorBalancecxx . . $ Gst/ColorBalance#::get_typecxx . . $ Gst/ColorBalance#get_type(f708dce9a8856c70).()
382 {
383 return colorbalance_class_cxx . . $ Gst/ColorBalance#colorbalance_class_..initcxx . . $ Gst/ColorBalance_Class#init(abc04d6bda8aa5b8).().get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).();
384 }
385
386
387 GType ColorBalancecxx . . $ Gst/ColorBalance#::get_base_typecxx . . $ Gst/ColorBalance#get_base_type(f708dce9a8856c70).()
388 {
389 return gst_color_balance_get_type();
390 }
391
392
393 Glibcxx . . $ Glib/::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::ColorBalanceChannelcxx . . $ Gst/ColorBalanceChannel#> > ColorBalancecxx . . $ Gst/ColorBalance#::list_channelscxx . . $ Gst/ColorBalance#list_channels(7b403a02fd1fe813).()
394 {
395 return Glibcxx . . $ Glib/ListHandle#ListHandle(f3cce3d3930c5f04).::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::ColorBalanceChannelcxx . . $ Gst/ColorBalanceChannel#> >(const_cast<GList*>(gst_color_balance_list_channels(gobjcxx . . $ Gst/ColorBalance#gobj(ebb707ba48343604).())), Glibcxx . . $ Glib/::OWNERSHIP_NONEcxx . . $ Glib/OWNERSHIP_NONE.);
396 }
397
398 Glibcxx . . $ Glib/::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::ColorBalanceChannelcxx . . $ Gst/ColorBalanceChannel#> > ColorBalancecxx . . $ Gst/ColorBalance#::list_channelscxx . . $ Gst/ColorBalance#list_channels(a07c68118a2b4c41).() const
399 {
400 return Glibcxx . . $ Glib/ListHandle#ListHandle(f3cce3d3930c5f04).::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::ColorBalanceChannelcxx . . $ Gst/ColorBalanceChannel#> >(const_cast<GList*>(gst_color_balance_list_channels(const_cast<GstColorBalancecxx . . $ GstColorBalance#*>(gobjcxx . . $ Gst/ColorBalance#gobj(8d4ef6831388ab29).()))), Glibcxx . . $ Glib/::OWNERSHIP_NONEcxx . . $ Glib/OWNERSHIP_NONE.);
401 }
402
403 int ColorBalancecxx . . $ Gst/ColorBalance#::get_valuecxx . . $ Gst/ColorBalance#get_value(7f9800f62fef5ee5).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::ColorBalanceChannelcxx . . $ Gst/ColorBalanceChannel#>& channel) const
404 {
405 return gst_color_balance_get_value(const_cast<GstColorBalancecxx . . $ GstColorBalance#*>(gobjcxx . . $ Gst/ColorBalance#gobj(8d4ef6831388ab29).()), const_cast<GstColorBalanceChannelcxx . . $ GstColorBalanceChannel#*>(Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(1fce0cab713be4a0).(channel)));
406 }
407
408 void ColorBalancecxx . . $ Gst/ColorBalance#::set_valuecxx . . $ Gst/ColorBalance#set_value(7dfe56d548b261b6).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::ColorBalanceChannelcxx . . $ Gst/ColorBalanceChannel#>& channel, int value)
409 {
410 gst_color_balance_set_value(gobjcxx . . $ Gst/ColorBalance#gobj(ebb707ba48343604).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(channel), value);
411 }
412
413 void ColorBalancecxx . . $ Gst/ColorBalance#::value_changedcxx . . $ Gst/ColorBalance#value_changed(7dfe56d548b261b6).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::ColorBalanceChannelcxx . . $ Gst/ColorBalanceChannel#>& channel, int value)
414 {
415 gst_color_balance_value_changed(gobjcxx . . $ Gst/ColorBalance#gobj(ebb707ba48343604).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(channel), value);
416 }
417
418 Gstcxx . . $ Gst/::ColorBalanceTypecxx . . $ Gst/ColorBalanceType# ColorBalancecxx . . $ Gst/ColorBalance#::get_balance_typecxx . . $ Gst/ColorBalance#get_balance_type(31595243740f3f12).() const
419 {
420 return ((Gstcxx . . $ Gst/::ColorBalanceTypecxx . . $ Gst/ColorBalanceType#)(gst_color_balance_get_balance_type(const_cast<GstColorBalancecxx . . $ GstColorBalance#*>(gobjcxx . . $ Gst/ColorBalance#gobj(8d4ef6831388ab29).()))));
421 }
422
423
424 Glibcxx . . $ Glib/::SignalProxycxx . . $ Glib/SignalProxy#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::ColorBalanceChannelcxx . . $ Gst/ColorBalanceChannel#>&,int > ColorBalancecxx . . $ Gst/ColorBalance#::signal_value_changedcxx . . $ Gst/ColorBalance#signal_value_changed(4f5b145360fa5de7).()
425 {
426 return Glibcxx . . $ Glib/SignalProxy#SignalProxy(99c0b07349c102a).::SignalProxycxx . . $ Glib/SignalProxy#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::ColorBalanceChannelcxx . . $ Gst/ColorBalanceChannel#>&,int >(this, &ColorBalance_signal_value_changed_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/colorbalance.cc`/ColorBalance_signal_value_changed_info.);
427 }
428
429
430 void Gstcxx . . $ Gst/::ColorBalancecxx . . $ Gst/ColorBalance#::on_value_changedcxx . . $ Gst/ColorBalance#on_value_changed(7dfe56d548b261b6).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::ColorBalanceChannelcxx . . $ Gst/ColorBalanceChannel#>& channel, int value)
431 {
432 const auto base = static_cast<BaseClassTypecxx . . $ Gst/ColorBalance#BaseClassType#*>(
433 g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface).
434 g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_), CppObjectTypecxx . . $ Gst/ColorBalance#CppObjectType#::get_typecxx . . $ Gst/ColorBalance#get_type(f708dce9a8856c70).()) // Get the interface.
435 ) );
436
437 if(base && base->value_changedcxx . . $ _GstColorBalanceInterface#value_changed.)
438 (*base->value_changedcxx . . $ _GstColorBalanceInterface#value_changed.)(gobjcxx . . $ Gst/ColorBalance#gobj(ebb707ba48343604).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(channel),value);
439 }
440
441 void Gstcxx . . $ Gst/::ColorBalancecxx . . $ Gst/ColorBalance#::set_value_vfunccxx . . $ Gst/ColorBalance#set_value_vfunc(7dfe56d548b261b6).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::ColorBalanceChannelcxx . . $ Gst/ColorBalanceChannel#>& channel, int value)
442 {
443 const auto base = static_cast<BaseClassTypecxx . . $ Gst/ColorBalance#BaseClassType#*>(
444 g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface).
445 g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_), CppObjectTypecxx . . $ Gst/ColorBalance#CppObjectType#::get_typecxx . . $ Gst/ColorBalance#get_type(f708dce9a8856c70).()) // Get the interface.
446 ) );
447
448 if(base && base->set_valuecxx . . $ _GstColorBalanceInterface#set_value.)
449 {
450 (*base->set_valuecxx . . $ _GstColorBalanceInterface#set_value.)(gobjcxx . . $ Gst/ColorBalance#gobj(ebb707ba48343604).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(channel),value);
451 }
452 }
453 int Gstcxx . . $ Gst/::ColorBalancecxx . . $ Gst/ColorBalance#::get_value_vfunccxx . . $ Gst/ColorBalance#get_value_vfunc(7f9800f62fef5ee5).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::ColorBalanceChannelcxx . . $ Gst/ColorBalanceChannel#>& channel) const
454 {
455 const auto base = static_cast<BaseClassTypecxx . . $ Gst/ColorBalance#BaseClassType#*>(
456 g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface).
457 g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_), CppObjectTypecxx . . $ Gst/ColorBalance#CppObjectType#::get_typecxx . . $ Gst/ColorBalance#get_type(f708dce9a8856c70).()) // Get the interface.
458 ) );
459
460 if(base && base->get_valuecxx . . $ _GstColorBalanceInterface#get_value.)
461 {
462 int retval((*base->get_valuecxx . . $ _GstColorBalanceInterface#get_value.)(const_cast<GstColorBalancecxx . . $ GstColorBalance#*>(gobjcxx . . $ Gst/ColorBalance#gobj(8d4ef6831388ab29).()),const_cast<GstColorBalanceChannelcxx . . $ GstColorBalanceChannel#*>(Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(1fce0cab713be4a0).(channel))));
463 return retval;
464 }
465
466 using RTypecxx . . $ Gst/ColorBalance#get_value_vfunc(7f9800f62fef5ee5).RType# = int;
467 return RTypecxx . . $ Gst/ColorBalance#get_value_vfunc(7f9800f62fef5ee5).RType#();
468 }
469 Gstcxx . . $ Gst/::ColorBalanceTypecxx . . $ Gst/ColorBalanceType# Gstcxx . . $ Gst/::ColorBalancecxx . . $ Gst/ColorBalance#::get_balance_type_vfunccxx . . $ Gst/ColorBalance#get_balance_type_vfunc(17e24ed63dc2d377).()
470 {
471 const auto base = static_cast<BaseClassTypecxx . . $ Gst/ColorBalance#BaseClassType#*>(
472 g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface).
473 g_type_interface_peek(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_), CppObjectTypecxx . . $ Gst/ColorBalance#CppObjectType#::get_typecxx . . $ Gst/ColorBalance#get_type(f708dce9a8856c70).()) // Get the interface.
474 ) );
475
476 if(base && base->get_balance_typecxx . . $ _GstColorBalanceInterface#get_balance_type.)
477 {
478 Gstcxx . . $ Gst/::ColorBalanceTypecxx . . $ Gst/ColorBalanceType# retval(((Gstcxx . . $ Gst/::ColorBalanceTypecxx . . $ Gst/ColorBalanceType#)((*base->get_balance_typecxx . . $ _GstColorBalanceInterface#get_balance_type.)(gobjcxx . . $ Gst/ColorBalance#gobj(ebb707ba48343604).()))));
479 return retval;
480 }
481
482 using RTypecxx . . $ Gst/ColorBalance#get_balance_type_vfunc(17e24ed63dc2d377).RType# = Gstcxx . . $ Gst/::ColorBalanceTypecxx . . $ Gst/ColorBalanceType#;
483 return RTypecxx . . $ Gst/ColorBalance#get_balance_type_vfunc(17e24ed63dc2d377).RType#();
484 }
485
486
487 } // namespace Gst
488
489