| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/padtemplate.cc`/ |
| 2 | |
| 3 | |
| 4 | #include <glibmm.h> |
| 5 | |
| 6 | #include <gstreamermm/padtemplate.h>cxx . . $ `<file>/gstreamer/gstreamermm/padtemplate.h`/ |
| 7 | #include <gstreamermm/private/padtemplate_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/padtemplate_p.h`/ |
| 8 | |
| 9 | #include <cstring> // std::memset() |
| 10 | |
| 11 | /* gstreamermm - a C++ wrapper for gstreamer |
| 12 | * |
| 13 | * Copyright 2008-2016 The gstreamermm Development Team |
| 14 | * |
| 15 | * This library is free software; you can redistribute it and/or |
| 16 | * modify it under the terms of the GNU Lesser General Public |
| 17 | * License as published by the Free Software Foundation; either |
| 18 | * version 2.1 of the License, or (at your option) any later version. |
| 19 | * |
| 20 | * This library is distributed in the hope that it will be useful, |
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 23 | * Lesser General Public License for more details. |
| 24 | * |
| 25 | * You should have received a copy of the GNU Lesser General Public |
| 26 | * License along with this library; if not, write to the Free |
| 27 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 28 | */ |
| 29 | |
| 30 | #include <gst/gst.h> |
| 31 | #include <gstreamermm/caps.h>cxx . . $ `<file>/gstreamer/gstreamermm/caps.h`/ |
| 32 | #include <gstreamermm/pad.h>cxx . . $ `<file>/gstreamer/gstreamermm/pad.h`/ |
| 33 | |
| 34 | |
| 35 | namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/padtemplate.cc`/ |
| 36 | { |
| 37 | |
| 38 | |
| 39 | static void PadTemplate_signal_pad_created_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/padtemplate.cc`/PadTemplate_signal_pad_created_callback(502f8ce17970a43e).(GstPadTemplatecxx . . $ GstPadTemplate#* self, GstPadcxx . . $ GstPad#* p0,void* data) |
| 40 | { |
| 41 | using namespace Gst; |
| 42 | using SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/padtemplate.cc`/PadTemplate_signal_pad_created_callback(502f8ce17970a43e).SlotType# = sigccxx . . $ sigc/::slotcxx . . $ sigc/slot#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>& >; |
| 43 | |
| 44 | auto obj = dynamic_cast<PadTemplatecxx . . $ Gst/PadTemplate#*>(Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*) self)); |
| 45 | // Do not try to call a signal on a disassociated wrapper. |
| 46 | if(obj) |
| 47 | { |
| 48 | try |
| 49 | { |
| 50 | if(const auto slot = Glibcxx . . $ Glib/::SignalProxyNormalcxx . . $ Glib/SignalProxyNormal#::data_to_slotcxx . . $ Glib/SignalProxyBase#data_to_slot(1b18816c898558ea).(data)) |
| 51 | (*static_cast<SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/padtemplate.cc`/PadTemplate_signal_pad_created_callback(502f8ce17970a43e).SlotType#*>(slot))(cxx . . $ sigc/slot1#`operator()`(9ee06a69519573d9).Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(p0, true) |
| 52 | ); |
| 53 | } |
| 54 | catch(...) |
| 55 | { |
| 56 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 57 | } |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | static const Glibcxx . . $ Glib/::SignalProxyInfocxx . . $ Glib/SignalProxyInfo# PadTemplate_signal_pad_created_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/padtemplate.cc`/PadTemplate_signal_pad_created_info. = |
| 62 | { |
| 63 | "pad-created", |
| 64 | (GCallback) &PadTemplate_signal_pad_created_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/padtemplate.cc`/PadTemplate_signal_pad_created_callback(502f8ce17970a43e)., |
| 65 | (GCallback) &PadTemplate_signal_pad_created_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/padtemplate.cc`/PadTemplate_signal_pad_created_callback(502f8ce17970a43e). |
| 66 | }; |
| 67 | |
| 68 | |
| 69 | } // anonymous namespace |
| 70 | |
| 71 | // static |
| 72 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::PadTemplateFlags>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 73 | { |
| 74 | return gst_pad_template_flags_get_type(); |
| 75 | } |
| 76 | |
| 77 | // static |
| 78 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::PadPresence>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 79 | { |
| 80 | return gst_pad_presence_get_type(); |
| 81 | } |
| 82 | |
| 83 | |
| 84 | namespace Glibcxx . . $ Glib/ |
| 85 | { |
| 86 | |
| 87 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::PadTemplatecxx . . $ Gst/PadTemplate#> wrapcxx . . $ Glib/wrap(3668c1526acfc0ed).(GstPadTemplatecxx . . $ GstPadTemplate#* object, bool take_copy) |
| 88 | { |
| 89 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::PadTemplatecxx . . $ Gst/PadTemplate#>( dynamic_cast<Gstcxx . . $ Gst/::PadTemplatecxx . . $ Gst/PadTemplate#*> (Glibcxx . . $ Glib/::wrap_autocxx . . $ Glib/wrap_auto(fd1af59aa43b0601). ((GObjectcxx . . $ GObject#*)(object), take_copy)) ); |
| 90 | //We use dynamic_cast<> in case of multiple inheritance. |
| 91 | } |
| 92 | |
| 93 | } /* namespace Glib */ |
| 94 | |
| 95 | |
| 96 | namespace Gstcxx . . $ Gst/ |
| 97 | { |
| 98 | |
| 99 | |
| 100 | /* The *_Class implementation: */ |
| 101 | |
| 102 | const Glibcxx . . $ Glib/::Classcxx . . $ Glib/Class#& PadTemplate_Classcxx . . $ Gst/PadTemplate_Class#::initcxx . . $ Gst/PadTemplate_Class#init(bf348c0cd369184d).() |
| 103 | { |
| 104 | if(!gtype_cxx . . $ Glib/Class#gtype_.) // create the GType if necessary |
| 105 | { |
| 106 | // Glib::Class has to know the class init function to clone custom types. |
| 107 | class_init_func_cxx . . $ Glib/Class#class_init_func_. = &PadTemplate_Classcxx . . $ Gst/PadTemplate_Class#::class_init_functioncxx . . $ Gst/PadTemplate_Class#class_init_function(6c58c5e2437d25a2).; |
| 108 | |
| 109 | // This is actually just optimized away, apparently with no harm. |
| 110 | // Make sure that the parent type has been created. |
| 111 | //CppClassParent::CppObjectType::get_type(); |
| 112 | |
| 113 | // Create the wrapper type, with the same class/instance size as the base type. |
| 114 | register_derived_typecxx . . $ Glib/Class#register_derived_type(2c44cd906ae4e829).(gst_pad_template_get_type()); |
| 115 | |
| 116 | // Add derived versions of interfaces, if the C type implements any interfaces: |
| 117 | |
| 118 | } |
| 119 | |
| 120 | return *this; |
| 121 | } |
| 122 | |
| 123 | |
| 124 | void PadTemplate_Classcxx . . $ Gst/PadTemplate_Class#::class_init_functioncxx . . $ Gst/PadTemplate_Class#class_init_function(6c58c5e2437d25a2).(void* g_class, void* class_data) |
| 125 | { |
| 126 | const auto klass = static_cast<BaseClassTypecxx . . $ Gst/PadTemplate_Class#BaseClassType#*>(g_class); |
| 127 | CppClassParentcxx . . $ Gst/PadTemplate_Class#CppClassParent#::class_init_functioncxx . . $ Gst/Object_Class#class_init_function(6c58c5e2437d25a2).(klass, class_data); |
| 128 | |
| 129 | |
| 130 | klass->pad_createdcxx . . $ _GstPadTemplateClass#pad_created. = &pad_created_callbackcxx . . $ Gst/PadTemplate_Class#pad_created_callback(b1fecee880a955ae).; |
| 131 | } |
| 132 | |
| 133 | |
| 134 | void PadTemplate_Classcxx . . $ Gst/PadTemplate_Class#::pad_created_callbackcxx . . $ Gst/PadTemplate_Class#pad_created_callback(b1fecee880a955ae).(GstPadTemplatecxx . . $ GstPadTemplate#* self, GstPadcxx . . $ GstPad#* p0) |
| 135 | { |
| 136 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 137 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 138 | |
| 139 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 140 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 141 | // generated classes can use this optimisation, which avoids the unnecessary |
| 142 | // parameter conversions if there is no possibility of the virtual function |
| 143 | // being overridden: |
| 144 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 145 | { |
| 146 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/PadTemplate_Class#CppObjectType#* const>(obj_base); |
| 147 | if(obj) // This can be NULL during destruction. |
| 148 | { |
| 149 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 150 | { |
| 151 | // Call the virtual member method, which derived classes might override. |
| 152 | obj->on_pad_createdcxx . . $ Gst/PadTemplate#on_pad_created(6d8541f3277dd441).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(p0, true) |
| 153 | ); |
| 154 | return; |
| 155 | } |
| 156 | catch(...) |
| 157 | { |
| 158 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 159 | } |
| 160 | } |
| 161 | } |
| 162 | |
| 163 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/PadTemplate_Class#BaseClassType#*>( |
| 164 | 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). |
| 165 | ); |
| 166 | |
| 167 | // Call the original underlying C function: |
| 168 | if(base && base->pad_createdcxx . . $ _GstPadTemplateClass#pad_created.) |
| 169 | (*base->pad_createdcxx . . $ _GstPadTemplateClass#pad_created.)(self, p0); |
| 170 | } |
| 171 | |
| 172 | |
| 173 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#* PadTemplate_Classcxx . . $ Gst/PadTemplate_Class#::wrap_newcxx . . $ Gst/PadTemplate_Class#wrap_new(893eec6d4349e251).(GObjectcxx . . $ GObject#* object) |
| 174 | { |
| 175 | return new PadTemplatecxx . . $ Gst/PadTemplate#PadTemplate(8d2c9cdbb1623732).((GstPadTemplatecxx . . $ GstPadTemplate#*)object); |
| 176 | } |
| 177 | |
| 178 | |
| 179 | /* The implementation: */ |
| 180 | |
| 181 | GstPadTemplatecxx . . $ GstPadTemplate#* PadTemplatecxx . . $ Gst/PadTemplate#::gobj_copycxx . . $ Gst/PadTemplate#gobj_copy(a178b52555038b7a).() |
| 182 | { |
| 183 | referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).(); |
| 184 | return gobjcxx . . $ Gst/PadTemplate#gobj(a178b52555038b7a).(); |
| 185 | } |
| 186 | |
| 187 | PadTemplatecxx . . $ Gst/PadTemplate#::PadTemplatecxx . . $ Gst/PadTemplate#PadTemplate(237165b4a42a691a).(const Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#& construct_params) |
| 188 | : |
| 189 | Objectcxx . . $ Gst/Object#(construct_params) |
| 190 | { |
| 191 | |
| 192 | } |
| 193 | |
| 194 | PadTemplatecxx . . $ Gst/PadTemplate#::PadTemplatecxx . . $ Gst/PadTemplate#PadTemplate(8d2c9cdbb1623732).(GstPadTemplatecxx . . $ GstPadTemplate#* castitem) |
| 195 | : |
| 196 | Objectcxx . . $ Gst/Object#((GstObjectcxx . . $ GstObject#*)(castitem)) |
| 197 | {} |
| 198 | |
| 199 | |
| 200 | PadTemplatecxx . . $ Gst/PadTemplate#::PadTemplatecxx . . $ Gst/PadTemplate#PadTemplate(fc67ed6b2e778e21).(PadTemplatecxx . . $ Gst/PadTemplate#&& src) noexcept |
| 201 | : Objectcxx . . $ Gst/Object#(std::movecxx . . $ std/move(e35c19a1ba7baa26).(src)) |
| 202 | {} |
| 203 | |
| 204 | PadTemplatecxx . . $ Gst/PadTemplate#& PadTemplatecxx . . $ Gst/PadTemplate#::operatorcxx . . $ Gst/PadTemplate#`operator=`(459834b5b245bc2f).=(PadTemplatecxx . . $ Gst/PadTemplate#&& src) noexcept |
| 205 | { |
| 206 | Objectcxx . . $ Gst/Object#::operator=(std::movecxx . . $ std/move(e35c19a1ba7baa26).(src)); |
| 207 | return *this; |
| 208 | } |
| 209 | |
| 210 | |
| 211 | PadTemplatecxx . . $ Gst/PadTemplate#::~cxx . . $ Gst/PadTemplate#`~PadTemplate`(ced63f7c635d850d).PadTemplatecxx . . $ Gst/PadTemplate#() noexcept |
| 212 | {} |
| 213 | |
| 214 | |
| 215 | PadTemplatecxx . . $ Gst/PadTemplate#::CppClassTypecxx . . $ Gst/PadTemplate#CppClassType# PadTemplatecxx . . $ Gst/PadTemplate#::padtemplate_class_cxx . . $ Gst/PadTemplate#padtemplate_class_.; // initialize static member |
| 216 | |
| 217 | GType PadTemplatecxx . . $ Gst/PadTemplate#::get_typecxx . . $ Gst/PadTemplate#get_type(f708dce9a8856c70).() |
| 218 | { |
| 219 | return padtemplate_class_cxx . . $ Gst/PadTemplate#padtemplate_class_..initcxx . . $ Gst/PadTemplate_Class#init(bf348c0cd369184d).().get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).(); |
| 220 | } |
| 221 | |
| 222 | |
| 223 | GType PadTemplatecxx . . $ Gst/PadTemplate#::get_base_typecxx . . $ Gst/PadTemplate#get_base_type(f708dce9a8856c70).() |
| 224 | { |
| 225 | return gst_pad_template_get_type(); |
| 226 | } |
| 227 | |
| 228 | |
| 229 | PadTemplatecxx . . $ Gst/PadTemplate#::PadTemplatecxx . . $ Gst/PadTemplate#PadTemplate(5fae1805ad3d96d8).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name_template, PadDirectioncxx . . $ Gst/PadDirection# direction, PadPresencecxx . . $ Gst/PadPresence# presence, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& caps) |
| 230 | : |
| 231 | // Mark this class as non-derived to allow C++ vfuncs to be skipped. |
| 232 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#(nullptr), |
| 233 | Objectcxx . . $ Gst/Object#(Glibcxx . . $ Glib/ConstructParams#ConstructParams(88d8205c725482fb).::ConstructParamscxx . . $ Glib/ConstructParams#(padtemplate_class_cxx . . $ Gst/PadTemplate#padtemplate_class_..initcxx . . $ Gst/PadTemplate_Class#init(bf348c0cd369184d).(), "name_template", name_template.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), "direction", ((GstPadDirection)(direction)), "presence", ((GstPadPresence)(presence)), "caps", Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(caps), nullptr)) |
| 234 | { |
| 235 | |
| 236 | |
| 237 | } |
| 238 | |
| 239 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<PadTemplatecxx . . $ Gst/PadTemplate#> PadTemplatecxx . . $ Gst/PadTemplate#::createcxx . . $ Gst/PadTemplate#create(f4b02866a8f5ecf).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name_template, PadDirectioncxx . . $ Gst/PadDirection# direction, PadPresencecxx . . $ Gst/PadPresence# presence, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& caps) |
| 240 | { |
| 241 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<PadTemplatecxx . . $ Gst/PadTemplate#>( new PadTemplatecxx . . $ Gst/PadTemplate#PadTemplate(5fae1805ad3d96d8).(name_template, direction, presence, caps) ); |
| 242 | } |
| 243 | |
| 244 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> PadTemplatecxx . . $ Gst/PadTemplate#::get_capscxx . . $ Gst/PadTemplate#get_caps(22811ab509ec2061).() |
| 245 | { |
| 246 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(gst_pad_template_get_caps(gobjcxx . . $ Gst/PadTemplate#gobj(a178b52555038b7a).())); |
| 247 | } |
| 248 | |
| 249 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> PadTemplatecxx . . $ Gst/PadTemplate#::get_capscxx . . $ Gst/PadTemplate#get_caps(b365bf96c1803900).() const |
| 250 | { |
| 251 | return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<PadTemplatecxx . . $ Gst/PadTemplate#*>(this)->get_capscxx . . $ Gst/PadTemplate#get_caps(22811ab509ec2061).(); |
| 252 | } |
| 253 | |
| 254 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# PadTemplatecxx . . $ Gst/PadTemplate#::get_name_templatecxx . . $ Gst/PadTemplate#get_name_template(fff0f585954e56f3).() const |
| 255 | { |
| 256 | return Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(gobjcxx . . $ Gst/PadTemplate#gobj(f8a104415d690da6).()->name_templatecxx . . $ _GstPadTemplate#name_template.); |
| 257 | } |
| 258 | |
| 259 | PadDirectioncxx . . $ Gst/PadDirection# PadTemplatecxx . . $ Gst/PadTemplate#::get_directioncxx . . $ Gst/PadTemplate#get_direction(f7efc382e3c5b6e8).() const |
| 260 | { |
| 261 | return ((PadDirectioncxx . . $ Gst/PadDirection#)(gobjcxx . . $ Gst/PadTemplate#gobj(f8a104415d690da6).()->directioncxx . . $ _GstPadTemplate#direction.)); |
| 262 | } |
| 263 | |
| 264 | PadPresencecxx . . $ Gst/PadPresence# PadTemplatecxx . . $ Gst/PadTemplate#::get_presencecxx . . $ Gst/PadTemplate#get_presence(d3147174e7ab054d).() const |
| 265 | { |
| 266 | return ((PadPresencecxx . . $ Gst/PadPresence#)(gobjcxx . . $ Gst/PadTemplate#gobj(f8a104415d690da6).()->presencecxx . . $ _GstPadTemplate#presence.)); |
| 267 | } |
| 268 | |
| 269 | |
| 270 | Glibcxx . . $ Glib/::SignalProxycxx . . $ Glib/SignalProxy#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>& > PadTemplatecxx . . $ Gst/PadTemplate#::signal_pad_createdcxx . . $ Gst/PadTemplate#signal_pad_created(b8ac1dfc5db9f846).() |
| 271 | { |
| 272 | return Glibcxx . . $ Glib/SignalProxy#SignalProxy(99c0b07349c102a).::SignalProxycxx . . $ Glib/SignalProxy#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>& >(this, &PadTemplate_signal_pad_created_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/padtemplate.cc`/PadTemplate_signal_pad_created_info.); |
| 273 | } |
| 274 | |
| 275 | |
| 276 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> > PadTemplatecxx . . $ Gst/PadTemplate#::property_capscxx . . $ Gst/PadTemplate#property_caps(e0fc34847650ee7e).() const |
| 277 | { |
| 278 | 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"); |
| 279 | } |
| 280 | |
| 281 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Gstcxx . . $ Gst/::PadDirectioncxx . . $ Gst/PadDirection# > PadTemplatecxx . . $ Gst/PadTemplate#::property_directioncxx . . $ Gst/PadTemplate#property_direction(dc50ea6d86fb99f7).() const |
| 282 | { |
| 283 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Gstcxx . . $ Gst/::PadDirectioncxx . . $ Gst/PadDirection# >(this, "direction"); |
| 284 | } |
| 285 | |
| 286 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# > PadTemplatecxx . . $ Gst/PadTemplate#::property_name_templatecxx . . $ Gst/PadTemplate#property_name_template(a4e4efe7e17f9e88).() const |
| 287 | { |
| 288 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# >(this, "name-template"); |
| 289 | } |
| 290 | |
| 291 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Gstcxx . . $ Gst/::PadPresencecxx . . $ Gst/PadPresence# > PadTemplatecxx . . $ Gst/PadTemplate#::property_presencecxx . . $ Gst/PadTemplate#property_presence(2f3ca4be3b0a7546).() const |
| 292 | { |
| 293 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Gstcxx . . $ Gst/::PadPresencecxx . . $ Gst/PadPresence# >(this, "presence"); |
| 294 | } |
| 295 | |
| 296 | |
| 297 | void Gstcxx . . $ Gst/::PadTemplatecxx . . $ Gst/PadTemplate#::on_pad_createdcxx . . $ Gst/PadTemplate#on_pad_created(6d8541f3277dd441).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#>& pad) |
| 298 | { |
| 299 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/PadTemplate#BaseClassType#*>( |
| 300 | 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). |
| 301 | ); |
| 302 | |
| 303 | if(base && base->pad_createdcxx . . $ _GstPadTemplateClass#pad_created.) |
| 304 | (*base->pad_createdcxx . . $ _GstPadTemplateClass#pad_created.)(gobjcxx . . $ Gst/PadTemplate#gobj(a178b52555038b7a).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(pad)); |
| 305 | } |
| 306 | |
| 307 | |
| 308 | } // namespace Gst |
| 309 | |
| 310 | |
| 311 | namespace Glibcxx . . $ Glib/ |
| 312 | { |
| 313 | |
| 314 | Gstcxx . . $ Gst/::StaticPadTemplatecxx . . $ Gst/StaticPadTemplate#& wrapcxx . . $ Glib/wrap(d3623727444d61d).(GstStaticPadTemplate* object) |
| 315 | { |
| 316 | return *reinterpret_cast<Gstcxx . . $ Gst/::StaticPadTemplatecxx . . $ Gst/StaticPadTemplate#*>(object); |
| 317 | } |
| 318 | |
| 319 | const Gstcxx . . $ Gst/::StaticPadTemplatecxx . . $ Gst/StaticPadTemplate#& wrapcxx . . $ Glib/wrap(58a65366c525b167).(const GstStaticPadTemplate* object) |
| 320 | { |
| 321 | return *reinterpret_cast<const Gstcxx . . $ Gst/::StaticPadTemplatecxx . . $ Gst/StaticPadTemplate#*>(object); |
| 322 | } |
| 323 | |
| 324 | } // namespace Glib |
| 325 | |
| 326 | |
| 327 | namespace Gstcxx . . $ Gst/ |
| 328 | { |
| 329 | |
| 330 | |
| 331 | StaticPadTemplatecxx . . $ Gst/StaticPadTemplate#::StaticPadTemplatecxx . . $ Gst/StaticPadTemplate#StaticPadTemplate(1bf4293e328b3d02).(const StaticPadTemplatecxx . . $ Gst/StaticPadTemplate#& other) noexcept |
| 332 | : |
| 333 | gobject_cxx . . $ Gst/StaticPadTemplate#gobject_.(other.gobject_cxx . . $ Gst/StaticPadTemplate#gobject_.) |
| 334 | { |
| 335 | } |
| 336 | |
| 337 | StaticPadTemplatecxx . . $ Gst/StaticPadTemplate#& StaticPadTemplatecxx . . $ Gst/StaticPadTemplate#::operatorcxx . . $ Gst/StaticPadTemplate#`operator=`(6f78882d58d0e639).=(const StaticPadTemplatecxx . . $ Gst/StaticPadTemplate#& other) noexcept |
| 338 | { |
| 339 | gobject_cxx . . $ Gst/StaticPadTemplate#gobject_. =cxx . . $ _GstStaticPadTemplate#`operator=`(3dd64b88ee5319b7). other.gobject_cxx . . $ Gst/StaticPadTemplate#gobject_.; |
| 340 | return *this; |
| 341 | } |
| 342 | |
| 343 | StaticPadTemplatecxx . . $ Gst/StaticPadTemplate#::StaticPadTemplatecxx . . $ Gst/StaticPadTemplate#StaticPadTemplate(219ae700d9ebd709).(StaticPadTemplatecxx . . $ Gst/StaticPadTemplate#&& other) noexcept |
| 344 | : |
| 345 | gobject_cxx . . $ Gst/StaticPadTemplate#gobject_.(std::movecxx . . $ std/move(e35c19a1ba7baa26).(other.gobject_cxx . . $ Gst/StaticPadTemplate#gobject_.)) |
| 346 | { |
| 347 | //We could wipe other.gobject_ via memset, |
| 348 | //but that is not really necessary: |
| 349 | //other.gobject_ = nullptr; |
| 350 | } |
| 351 | |
| 352 | StaticPadTemplatecxx . . $ Gst/StaticPadTemplate#& StaticPadTemplatecxx . . $ Gst/StaticPadTemplate#::operatorcxx . . $ Gst/StaticPadTemplate#`operator=`(4c6438862914f3f4).=(StaticPadTemplatecxx . . $ Gst/StaticPadTemplate#&& other) noexcept |
| 353 | { |
| 354 | gobject_cxx . . $ Gst/StaticPadTemplate#gobject_. =cxx . . $ _GstStaticPadTemplate#`operator=`(6dc6b2686fe3e6f). std::movecxx . . $ std/move(e35c19a1ba7baa26).(other.gobject_cxx . . $ Gst/StaticPadTemplate#gobject_.); |
| 355 | return *this; |
| 356 | } |
| 357 | |
| 358 | // static |
| 359 | GType StaticPadTemplatecxx . . $ Gst/StaticPadTemplate#::get_typecxx . . $ Gst/StaticPadTemplate#get_type(f708dce9a8856c70).() |
| 360 | { |
| 361 | return gst_static_pad_template_get_type(); |
| 362 | } |
| 363 | |
| 364 | StaticPadTemplatecxx . . $ Gst/StaticPadTemplate#::StaticPadTemplatecxx . . $ Gst/StaticPadTemplate#StaticPadTemplate(49f6e7a06ebc5aa8).() |
| 365 | { |
| 366 | std::memset(&gobject_cxx . . $ Gst/StaticPadTemplate#gobject_., 0, sizeof(GstStaticPadTemplate)); |
| 367 | } |
| 368 | |
| 369 | StaticPadTemplatecxx . . $ Gst/StaticPadTemplate#::StaticPadTemplatecxx . . $ Gst/StaticPadTemplate#StaticPadTemplate(32b2c4d48dcd5c69).(const GstStaticPadTemplate* gobject) |
| 370 | { |
| 371 | if(gobject) |
| 372 | gobject_cxx . . $ Gst/StaticPadTemplate#gobject_. =cxx . . $ _GstStaticPadTemplate#`operator=`(3dd64b88ee5319b7). *gobject; |
| 373 | else |
| 374 | std::memset(&gobject_cxx . . $ Gst/StaticPadTemplate#gobject_., 0, sizeof(GstStaticPadTemplate)); |
| 375 | } |
| 376 | |
| 377 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> StaticPadTemplatecxx . . $ Gst/StaticPadTemplate#::get_capscxx . . $ Gst/StaticPadTemplate#get_caps(22811ab509ec2061).() |
| 378 | { |
| 379 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(gst_static_pad_template_get_caps(gobjcxx . . $ Gst/StaticPadTemplate#gobj(3af04e42fe8920d7).())); |
| 380 | } |
| 381 | |
| 382 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> StaticPadTemplatecxx . . $ Gst/StaticPadTemplate#::get_capscxx . . $ Gst/StaticPadTemplate#get_caps(b365bf96c1803900).() const |
| 383 | { |
| 384 | return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<StaticPadTemplatecxx . . $ Gst/StaticPadTemplate#*>(this)->get_capscxx . . $ Gst/StaticPadTemplate#get_caps(22811ab509ec2061).(); |
| 385 | } |
| 386 | |
| 387 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::PadTemplatecxx . . $ Gst/PadTemplate#> StaticPadTemplatecxx . . $ Gst/StaticPadTemplate#::getcxx . . $ Gst/StaticPadTemplate#get(a45bef703c90203f).() |
| 388 | { |
| 389 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3668c1526acfc0ed).(gst_static_pad_template_get(gobjcxx . . $ Gst/StaticPadTemplate#gobj(3af04e42fe8920d7).())); |
| 390 | } |
| 391 | |
| 392 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# StaticPadTemplatecxx . . $ Gst/StaticPadTemplate#::get_name_templatecxx . . $ Gst/StaticPadTemplate#get_name_template(fff0f585954e56f3).() const |
| 393 | { |
| 394 | return Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(gobjcxx . . $ Gst/StaticPadTemplate#gobj(f834d7bda755cb55).()->name_templatecxx . . $ _GstStaticPadTemplate#name_template.); |
| 395 | } |
| 396 | |
| 397 | PadDirectioncxx . . $ Gst/PadDirection# StaticPadTemplatecxx . . $ Gst/StaticPadTemplate#::get_directioncxx . . $ Gst/StaticPadTemplate#get_direction(f7efc382e3c5b6e8).() const |
| 398 | { |
| 399 | return ((PadDirectioncxx . . $ Gst/PadDirection#)(gobjcxx . . $ Gst/StaticPadTemplate#gobj(f834d7bda755cb55).()->directioncxx . . $ _GstStaticPadTemplate#direction.)); |
| 400 | } |
| 401 | |
| 402 | PadPresencecxx . . $ Gst/PadPresence# StaticPadTemplatecxx . . $ Gst/StaticPadTemplate#::get_presencecxx . . $ Gst/StaticPadTemplate#get_presence(d3147174e7ab054d).() const |
| 403 | { |
| 404 | return ((PadPresencecxx . . $ Gst/PadPresence#)(gobjcxx . . $ Gst/StaticPadTemplate#gobj(f834d7bda755cb55).()->presencecxx . . $ _GstStaticPadTemplate#presence.)); |
| 405 | } |
| 406 | |
| 407 | |
| 408 | } // namespace Gst |
| 409 | |
| 410 |