| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/registry.cc`/ |
| 2 | |
| 3 | |
| 4 | #include <glibmm.h> |
| 5 | |
| 6 | #include <gstreamermm/registry.h>cxx . . $ `<file>/gstreamer/gstreamermm/registry.h`/ |
| 7 | #include <gstreamermm/private/registry_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/registry_p.h`/ |
| 8 | |
| 9 | |
| 10 | /* gstreamermm - a C++ wrapper for gstreamer |
| 11 | * |
| 12 | * Copyright 2008 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/pluginfeature.h>cxx . . $ `<file>/gstreamer/gstreamermm/pluginfeature.h`/ |
| 31 | #include <gstreamermm/plugin.h>cxx . . $ `<file>/gstreamer/gstreamermm/plugin.h`/ |
| 32 | |
| 33 | |
| 34 | namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/registry.cc`/ |
| 35 | { |
| 36 | |
| 37 | extern "C" |
| 38 | { |
| 39 | |
| 40 | static gboolean Registry_Plugin_Filter_gstreamermm_callback(GstPlugincxx . . $ GstPlugin#* plugin, void* data) |
| 41 | { |
| 42 | Gstcxx . . $ Gst/::Plugincxx . . $ Gst/Plugin#::SlotFiltercxx . . $ Gst/Plugin#SlotFilter#* the_slot = static_cast<Gstcxx . . $ Gst/::Plugincxx . . $ Gst/Plugin#::SlotFiltercxx . . $ Gst/Plugin#SlotFilter#*>(data); |
| 43 | |
| 44 | try |
| 45 | { |
| 46 | bool result = (*the_slot)(cxx . . $ sigc/slot1#`operator()`(9ee06a69519573d9).Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(da07d7f8f838b8f6).(plugin, true)); |
| 47 | return result; |
| 48 | } |
| 49 | catch(...) |
| 50 | { |
| 51 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 52 | } |
| 53 | |
| 54 | return false; |
| 55 | } |
| 56 | |
| 57 | static gboolean Registry_PluginFeature_Filter_gstreamermm_callback(GstPluginFeaturecxx . . $ GstPluginFeature#* feature, void* data) |
| 58 | { |
| 59 | Gstcxx . . $ Gst/::PluginFeaturecxx . . $ Gst/PluginFeature#::SlotFiltercxx . . $ Gst/PluginFeature#SlotFilter#* the_slot = static_cast<Gstcxx . . $ Gst/::PluginFeaturecxx . . $ Gst/PluginFeature#::SlotFiltercxx . . $ Gst/PluginFeature#SlotFilter#*>(data); |
| 60 | |
| 61 | try |
| 62 | { |
| 63 | bool result = (*the_slot)(cxx . . $ sigc/slot1#`operator()`(9ee06a69519573d9).Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(fc4e97dbf2a09633).(feature, true)); |
| 64 | return result; |
| 65 | } |
| 66 | catch(...) |
| 67 | { |
| 68 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 69 | } |
| 70 | |
| 71 | return false; |
| 72 | } |
| 73 | |
| 74 | } // extern "C" |
| 75 | |
| 76 | } // anonymous namespace |
| 77 | |
| 78 | namespace Gstcxx . . $ Gst/ |
| 79 | { |
| 80 | |
| 81 | Glibcxx . . $ Glib/::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Plugincxx . . $ Gst/Plugin#> > |
| 82 | Registrycxx . . $ Gst/Registry#::get_plugin_listcxx . . $ Gst/Registry#get_plugin_list(f146af983ef7ab3e).(const Plugincxx . . $ Gst/Plugin#::SlotFiltercxx . . $ Gst/Plugin#SlotFilter#& filter, bool first) |
| 83 | { |
| 84 | GList* list = gst_registry_plugin_filter(gobjcxx . . $ Gst/Registry#gobj(3f651512636c2b9b).(), |
| 85 | &Registry_Plugin_Filter_gstreamermm_callback, first, |
| 86 | const_cast<Plugincxx . . $ Gst/Plugin#::SlotFiltercxx . . $ Gst/Plugin#SlotFilter#*>(&filter)); |
| 87 | |
| 88 | return Glibcxx . . $ Glib/ListHandle#ListHandle(f3cce3d3930c5f04).::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Plugincxx . . $ Gst/Plugin#> >(list, |
| 89 | Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.); |
| 90 | } |
| 91 | |
| 92 | Glibcxx . . $ Glib/::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Plugincxx . . $ Gst/Plugin#> > |
| 93 | Registrycxx . . $ Gst/Registry#::get_plugin_listcxx . . $ Gst/Registry#get_plugin_list(5c8ba10f5e28308a).(const Plugincxx . . $ Gst/Plugin#::SlotFiltercxx . . $ Gst/Plugin#SlotFilter#& filter, bool first) const |
| 94 | { |
| 95 | GList* list = gst_registry_plugin_filter(const_cast<GstRegistrycxx . . $ GstRegistry#*>(gobjcxx . . $ Gst/Registry#gobj(49af903d6128c560).()), |
| 96 | &Registry_Plugin_Filter_gstreamermm_callback, first, |
| 97 | const_cast<Plugincxx . . $ Gst/Plugin#::SlotFiltercxx . . $ Gst/Plugin#SlotFilter#*>(&filter)); |
| 98 | |
| 99 | return Glibcxx . . $ Glib/ListHandle#ListHandle(f3cce3d3930c5f04).::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Plugincxx . . $ Gst/Plugin#> >(list, |
| 100 | Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.); |
| 101 | } |
| 102 | |
| 103 | Glibcxx . . $ Glib/::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::PluginFeaturecxx . . $ Gst/PluginFeature#> > |
| 104 | Registrycxx . . $ Gst/Registry#::get_feature_listcxx . . $ Gst/Registry#get_feature_list(ed65af72e28436db).(const PluginFeaturecxx . . $ Gst/PluginFeature#::SlotFiltercxx . . $ Gst/PluginFeature#SlotFilter#& filter, bool first) |
| 105 | { |
| 106 | GList* list = gst_registry_feature_filter(gobjcxx . . $ Gst/Registry#gobj(3f651512636c2b9b).(), |
| 107 | &Registry_PluginFeature_Filter_gstreamermm_callback, first, |
| 108 | const_cast<PluginFeaturecxx . . $ Gst/PluginFeature#::SlotFiltercxx . . $ Gst/PluginFeature#SlotFilter#*>(&filter)); |
| 109 | |
| 110 | return Glibcxx . . $ Glib/ListHandle#ListHandle(f3cce3d3930c5f04).::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::PluginFeaturecxx . . $ Gst/PluginFeature#> >(list, |
| 111 | Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.); |
| 112 | } |
| 113 | |
| 114 | Glibcxx . . $ Glib/::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::PluginFeaturecxx . . $ Gst/PluginFeature#> > |
| 115 | Registrycxx . . $ Gst/Registry#::get_feature_listcxx . . $ Gst/Registry#get_feature_list(f1b6f91971ef049a).(const PluginFeaturecxx . . $ Gst/PluginFeature#::SlotFiltercxx . . $ Gst/PluginFeature#SlotFilter#& filter, |
| 116 | bool first) const |
| 117 | { |
| 118 | GList* list = gst_registry_feature_filter(const_cast<GstRegistrycxx . . $ GstRegistry#*>(gobjcxx . . $ Gst/Registry#gobj(49af903d6128c560).()), |
| 119 | &Registry_PluginFeature_Filter_gstreamermm_callback, first, |
| 120 | const_cast<PluginFeaturecxx . . $ Gst/PluginFeature#::SlotFiltercxx . . $ Gst/PluginFeature#SlotFilter#*>(&filter)); |
| 121 | |
| 122 | return Glibcxx . . $ Glib/ListHandle#ListHandle(f3cce3d3930c5f04).::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::PluginFeaturecxx . . $ Gst/PluginFeature#> >(list, |
| 123 | Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.); |
| 124 | } |
| 125 | |
| 126 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Registrycxx . . $ Gst/Registry#> |
| 127 | Registrycxx . . $ Gst/Registry#::getcxx . . $ Gst/Registry#get(eccd997ade67d96a).() |
| 128 | { |
| 129 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(a04b909e2d06af5a).(gst_registry_get(), true); |
| 130 | } |
| 131 | |
| 132 | void Registrycxx . . $ Gst/Registry#::add_featurecxx . . $ Gst/Registry#add_feature(ddebdbe0cef2b4af).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::PluginFeaturecxx . . $ Gst/PluginFeature#>& feature) |
| 133 | { |
| 134 | feature->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).(); |
| 135 | gst_registry_add_feature(gobjcxx . . $ Gst/Registry#gobj(3f651512636c2b9b).(), feature->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).gobjcxx . . $ Gst/PluginFeature#gobj(f4b94b3a5eca1bb2).()); |
| 136 | } |
| 137 | |
| 138 | void Registrycxx . . $ Gst/Registry#::add_plugincxx . . $ Gst/Registry#add_plugin(ecc2343578e02722).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Plugincxx . . $ Gst/Plugin#>& plugin) |
| 139 | { |
| 140 | plugin->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).(); |
| 141 | gst_registry_add_plugin(gobjcxx . . $ Gst/Registry#gobj(3f651512636c2b9b).(), plugin->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).gobjcxx . . $ Gst/Plugin#gobj(faa071a34495025e).()); |
| 142 | } |
| 143 | |
| 144 | |
| 145 | } //namespace Gst |
| 146 | |
| 147 | namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/registry.cc`/ |
| 148 | { |
| 149 | } // anonymous namespace |
| 150 | |
| 151 | |
| 152 | namespace Glibcxx . . $ Glib/ |
| 153 | { |
| 154 | |
| 155 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Registrycxx . . $ Gst/Registry#> wrapcxx . . $ Glib/wrap(a04b909e2d06af5a).(GstRegistrycxx . . $ GstRegistry#* object, bool take_copy) |
| 156 | { |
| 157 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Registrycxx . . $ Gst/Registry#>( dynamic_cast<Gstcxx . . $ Gst/::Registrycxx . . $ Gst/Registry#*> (Glibcxx . . $ Glib/::wrap_autocxx . . $ Glib/wrap_auto(fd1af59aa43b0601). ((GObjectcxx . . $ GObject#*)(object), take_copy)) ); |
| 158 | //We use dynamic_cast<> in case of multiple inheritance. |
| 159 | } |
| 160 | |
| 161 | } /* namespace Glib */ |
| 162 | |
| 163 | |
| 164 | namespace Gstcxx . . $ Gst/ |
| 165 | { |
| 166 | |
| 167 | |
| 168 | /* The *_Class implementation: */ |
| 169 | |
| 170 | const Glibcxx . . $ Glib/::Classcxx . . $ Glib/Class#& Registry_Classcxx . . $ Gst/Registry_Class#::initcxx . . $ Gst/Registry_Class#init(bf348c0cd369184d).() |
| 171 | { |
| 172 | if(!gtype_cxx . . $ Glib/Class#gtype_.) // create the GType if necessary |
| 173 | { |
| 174 | // Glib::Class has to know the class init function to clone custom types. |
| 175 | class_init_func_cxx . . $ Glib/Class#class_init_func_. = &Registry_Classcxx . . $ Gst/Registry_Class#::class_init_functioncxx . . $ Gst/Registry_Class#class_init_function(6c58c5e2437d25a2).; |
| 176 | |
| 177 | // This is actually just optimized away, apparently with no harm. |
| 178 | // Make sure that the parent type has been created. |
| 179 | //CppClassParent::CppObjectType::get_type(); |
| 180 | |
| 181 | // Create the wrapper type, with the same class/instance size as the base type. |
| 182 | register_derived_typecxx . . $ Glib/Class#register_derived_type(2c44cd906ae4e829).(gst_registry_get_type()); |
| 183 | |
| 184 | // Add derived versions of interfaces, if the C type implements any interfaces: |
| 185 | |
| 186 | } |
| 187 | |
| 188 | return *this; |
| 189 | } |
| 190 | |
| 191 | |
| 192 | void Registry_Classcxx . . $ Gst/Registry_Class#::class_init_functioncxx . . $ Gst/Registry_Class#class_init_function(6c58c5e2437d25a2).(void* g_class, void* class_data) |
| 193 | { |
| 194 | const auto klass = static_cast<BaseClassTypecxx . . $ Gst/Registry_Class#BaseClassType#*>(g_class); |
| 195 | CppClassParentcxx . . $ Gst/Registry_Class#CppClassParent#::class_init_functioncxx . . $ Gst/Object_Class#class_init_function(6c58c5e2437d25a2).(klass, class_data); |
| 196 | |
| 197 | |
| 198 | } |
| 199 | |
| 200 | |
| 201 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#* Registry_Classcxx . . $ Gst/Registry_Class#::wrap_newcxx . . $ Gst/Registry_Class#wrap_new(893eec6d4349e251).(GObjectcxx . . $ GObject#* object) |
| 202 | { |
| 203 | return new Registrycxx . . $ Gst/Registry#((GstRegistrycxx . . $ GstRegistry#*)object); |
| 204 | } |
| 205 | |
| 206 | |
| 207 | /* The implementation: */ |
| 208 | |
| 209 | GstRegistrycxx . . $ GstRegistry#* Registrycxx . . $ Gst/Registry#::gobj_copycxx . . $ Gst/Registry#gobj_copy(3f651512636c2b9b).() |
| 210 | { |
| 211 | referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).(); |
| 212 | return gobjcxx . . $ Gst/Registry#gobj(3f651512636c2b9b).(); |
| 213 | } |
| 214 | |
| 215 | Registrycxx . . $ Gst/Registry#::Registrycxx . . $ Gst/Registry#Registry(237165b4a42a691a).(const Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#& construct_params) |
| 216 | : |
| 217 | Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#(construct_params) |
| 218 | { |
| 219 | |
| 220 | } |
| 221 | |
| 222 | Registrycxx . . $ Gst/Registry#::Registrycxx . . $ Gst/Registry#Registry(3fa725078fb3c7c3).(GstRegistrycxx . . $ GstRegistry#* castitem) |
| 223 | : |
| 224 | Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#((GstObjectcxx . . $ GstObject#*)(castitem)) |
| 225 | {} |
| 226 | |
| 227 | |
| 228 | Registrycxx . . $ Gst/Registry#::Registrycxx . . $ Gst/Registry#Registry(6bc0033dbb31d74e).(Registrycxx . . $ Gst/Registry#&& src) noexcept |
| 229 | : Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)) |
| 230 | {} |
| 231 | |
| 232 | Registrycxx . . $ Gst/Registry#& Registrycxx . . $ Gst/Registry#::operatorcxx . . $ Gst/Registry#`operator=`(52e0ccc67d6e9996).=(Registrycxx . . $ Gst/Registry#&& src) noexcept |
| 233 | { |
| 234 | Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)); |
| 235 | return *this; |
| 236 | } |
| 237 | |
| 238 | |
| 239 | Registrycxx . . $ Gst/Registry#::~cxx . . $ Gst/Registry#`~Registry`(ced63f7c635d850d).Registrycxx . . $ Gst/Registry#() noexcept |
| 240 | {} |
| 241 | |
| 242 | |
| 243 | Registrycxx . . $ Gst/Registry#::CppClassTypecxx . . $ Gst/Registry#CppClassType# Registrycxx . . $ Gst/Registry#::registry_class_cxx . . $ Gst/Registry#registry_class_.; // initialize static member |
| 244 | |
| 245 | GType Registrycxx . . $ Gst/Registry#::get_typecxx . . $ Gst/Registry#get_type(f708dce9a8856c70).() |
| 246 | { |
| 247 | return registry_class_cxx . . $ Gst/Registry#registry_class_..initcxx . . $ Gst/Registry_Class#init(bf348c0cd369184d).().get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).(); |
| 248 | } |
| 249 | |
| 250 | |
| 251 | GType Registrycxx . . $ Gst/Registry#::get_base_typecxx . . $ Gst/Registry#get_base_type(f708dce9a8856c70).() |
| 252 | { |
| 253 | return gst_registry_get_type(); |
| 254 | } |
| 255 | |
| 256 | |
| 257 | Glibcxx . . $ Glib/::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::PluginFeaturecxx . . $ Gst/PluginFeature#> > Registrycxx . . $ Gst/Registry#::get_feature_listcxx . . $ Gst/Registry#get_feature_list(7739b26db1d76067).(GType type) |
| 258 | { |
| 259 | return Glibcxx . . $ Glib/ListHandle#ListHandle(f3cce3d3930c5f04).::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::PluginFeaturecxx . . $ Gst/PluginFeature#> >(gst_registry_get_feature_list(gobjcxx . . $ Gst/Registry#gobj(3f651512636c2b9b).(), type), Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.); |
| 260 | } |
| 261 | |
| 262 | Glibcxx . . $ Glib/::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::PluginFeaturecxx . . $ Gst/PluginFeature#> > Registrycxx . . $ Gst/Registry#::get_feature_listcxx . . $ Gst/Registry#get_feature_list(efef7b33dba802e5).(GType type) const |
| 263 | { |
| 264 | return Glibcxx . . $ Glib/ListHandle#ListHandle(f3cce3d3930c5f04).::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::PluginFeaturecxx . . $ Gst/PluginFeature#> >(gst_registry_get_feature_list(const_cast<GstRegistrycxx . . $ GstRegistry#*>(gobjcxx . . $ Gst/Registry#gobj(49af903d6128c560).()), type), Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.); |
| 265 | } |
| 266 | |
| 267 | guint32 Registrycxx . . $ Gst/Registry#::get_feature_list_cookiecxx . . $ Gst/Registry#get_feature_list_cookie(ddd8539a2fcdd4ce).() const |
| 268 | { |
| 269 | return gst_registry_get_feature_list_cookie(const_cast<GstRegistrycxx . . $ GstRegistry#*>(gobjcxx . . $ Gst/Registry#gobj(49af903d6128c560).())); |
| 270 | } |
| 271 | |
| 272 | Glibcxx . . $ Glib/::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::PluginFeaturecxx . . $ Gst/PluginFeature#> > Registrycxx . . $ Gst/Registry#::get_feature_listcxx . . $ Gst/Registry#get_feature_list(9f7d80cd856382ee).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 273 | { |
| 274 | return Glibcxx . . $ Glib/ListHandle#ListHandle(f3cce3d3930c5f04).::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::PluginFeaturecxx . . $ Gst/PluginFeature#> >(gst_registry_get_feature_list_by_plugin(gobjcxx . . $ Gst/Registry#gobj(3f651512636c2b9b).(), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()), Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.); |
| 275 | } |
| 276 | |
| 277 | Glibcxx . . $ Glib/::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::PluginFeaturecxx . . $ Gst/PluginFeature#> > Registrycxx . . $ Gst/Registry#::get_feature_listcxx . . $ Gst/Registry#get_feature_list(f332134731386a88).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) const |
| 278 | { |
| 279 | return Glibcxx . . $ Glib/ListHandle#ListHandle(f3cce3d3930c5f04).::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::PluginFeaturecxx . . $ Gst/PluginFeature#> >(gst_registry_get_feature_list_by_plugin(const_cast<GstRegistrycxx . . $ GstRegistry#*>(gobjcxx . . $ Gst/Registry#gobj(49af903d6128c560).()), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()), Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.); |
| 280 | } |
| 281 | |
| 282 | Glibcxx . . $ Glib/::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Plugincxx . . $ Gst/Plugin#> > Registrycxx . . $ Gst/Registry#::get_plugin_listcxx . . $ Gst/Registry#get_plugin_list(bcc7773547d0cfb2).() |
| 283 | { |
| 284 | return Glibcxx . . $ Glib/ListHandle#ListHandle(f3cce3d3930c5f04).::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Plugincxx . . $ Gst/Plugin#> >(gst_registry_get_plugin_list(gobjcxx . . $ Gst/Registry#gobj(3f651512636c2b9b).()), Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.); |
| 285 | } |
| 286 | |
| 287 | Glibcxx . . $ Glib/::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Plugincxx . . $ Gst/Plugin#> > Registrycxx . . $ Gst/Registry#::get_plugin_listcxx . . $ Gst/Registry#get_plugin_list(397dc31084ff6f2c).() const |
| 288 | { |
| 289 | return Glibcxx . . $ Glib/ListHandle#ListHandle(f3cce3d3930c5f04).::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Plugincxx . . $ Gst/Plugin#> >(gst_registry_get_plugin_list(const_cast<GstRegistrycxx . . $ GstRegistry#*>(gobjcxx . . $ Gst/Registry#gobj(49af903d6128c560).())), Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.); |
| 290 | } |
| 291 | |
| 292 | void Registrycxx . . $ Gst/Registry#::remove_plugincxx . . $ Gst/Registry#remove_plugin(ecc2343578e02722).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Plugincxx . . $ Gst/Plugin#>& plugin) |
| 293 | { |
| 294 | gst_registry_remove_plugin(gobjcxx . . $ Gst/Registry#gobj(3f651512636c2b9b).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(plugin)); |
| 295 | } |
| 296 | |
| 297 | bool Registrycxx . . $ Gst/Registry#::add_plugincxx . . $ Gst/Registry#add_plugin(93131b1aafa88494).(Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Plugincxx . . $ Gst/Plugin#>&& plugin) |
| 298 | { |
| 299 | return gst_registry_add_plugin(gobjcxx . . $ Gst/Registry#gobj(3f651512636c2b9b).(), (plugin) ? plugin.releasecxx . . $ Glib/RefPtr#release(258ee1c9e0a18a5c).()->gobjcxx . . $ Gst/Plugin#gobj(faa071a34495025e).() : nullptr); |
| 300 | } |
| 301 | |
| 302 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Plugincxx . . $ Gst/Plugin#> Registrycxx . . $ Gst/Registry#::find_plugincxx . . $ Gst/Registry#find_plugin(a382fa44a9b1919c).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 303 | { |
| 304 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(da07d7f8f838b8f6).(gst_registry_find_plugin(gobjcxx . . $ Gst/Registry#gobj(3f651512636c2b9b).(), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).())); |
| 305 | } |
| 306 | |
| 307 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Plugincxx . . $ Gst/Plugin#> Registrycxx . . $ Gst/Registry#::find_plugincxx . . $ Gst/Registry#find_plugin(64c08048b4bb7cef).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) const |
| 308 | { |
| 309 | return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<Registrycxx . . $ Gst/Registry#*>(this)->find_plugincxx . . $ Gst/Registry#find_plugin(a382fa44a9b1919c).(name); |
| 310 | } |
| 311 | |
| 312 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::PluginFeaturecxx . . $ Gst/PluginFeature#> Registrycxx . . $ Gst/Registry#::find_featurecxx . . $ Gst/Registry#find_feature(6924b0f8d3d5c38).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name, GType type) |
| 313 | { |
| 314 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(fc4e97dbf2a09633).(gst_registry_find_feature(gobjcxx . . $ Gst/Registry#gobj(3f651512636c2b9b).(), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), type)); |
| 315 | } |
| 316 | |
| 317 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::PluginFeaturecxx . . $ Gst/PluginFeature#> Registrycxx . . $ Gst/Registry#::find_featurecxx . . $ Gst/Registry#find_feature(81e2b2b8cbb802ac).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name, GType type) const |
| 318 | { |
| 319 | return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<Registrycxx . . $ Gst/Registry#*>(this)->find_featurecxx . . $ Gst/Registry#find_feature(6924b0f8d3d5c38).(name, type); |
| 320 | } |
| 321 | |
| 322 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::PluginFeaturecxx . . $ Gst/PluginFeature#> Registrycxx . . $ Gst/Registry#::lookup_featurecxx . . $ Gst/Registry#lookup_feature(675f0bd801e89f4b).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 323 | { |
| 324 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(fc4e97dbf2a09633).(gst_registry_lookup_feature(gobjcxx . . $ Gst/Registry#gobj(3f651512636c2b9b).(), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).())); |
| 325 | } |
| 326 | |
| 327 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::PluginFeaturecxx . . $ Gst/PluginFeature#> Registrycxx . . $ Gst/Registry#::lookup_featurecxx . . $ Gst/Registry#lookup_feature(c1057401dbfcfd8a).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) const |
| 328 | { |
| 329 | return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<Registrycxx . . $ Gst/Registry#*>(this)->lookup_featurecxx . . $ Gst/Registry#lookup_feature(675f0bd801e89f4b).(name); |
| 330 | } |
| 331 | |
| 332 | bool Registrycxx . . $ Gst/Registry#::scan_pathcxx . . $ Gst/Registry#scan_path(7186ea5d16af43ac).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& path) |
| 333 | { |
| 334 | return gst_registry_scan_path(gobjcxx . . $ Gst/Registry#gobj(3f651512636c2b9b).(), path.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()); |
| 335 | } |
| 336 | |
| 337 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Plugincxx . . $ Gst/Plugin#> Registrycxx . . $ Gst/Registry#::lookupcxx . . $ Gst/Registry#lookup(a382fa44a9b1919c).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& filename) |
| 338 | { |
| 339 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(da07d7f8f838b8f6).(gst_registry_lookup(gobjcxx . . $ Gst/Registry#gobj(3f651512636c2b9b).(), filename.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).())); |
| 340 | } |
| 341 | |
| 342 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Plugincxx . . $ Gst/Plugin#> Registrycxx . . $ Gst/Registry#::lookupcxx . . $ Gst/Registry#lookup(64c08048b4bb7cef).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& filename) const |
| 343 | { |
| 344 | return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<Registrycxx . . $ Gst/Registry#*>(this)->lookupcxx . . $ Gst/Registry#lookup(a382fa44a9b1919c).(filename); |
| 345 | } |
| 346 | |
| 347 | void Registrycxx . . $ Gst/Registry#::remove_featurecxx . . $ Gst/Registry#remove_feature(ddebdbe0cef2b4af).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::PluginFeaturecxx . . $ Gst/PluginFeature#>& feature) |
| 348 | { |
| 349 | gst_registry_remove_feature(gobjcxx . . $ Gst/Registry#gobj(3f651512636c2b9b).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(feature)); |
| 350 | } |
| 351 | |
| 352 | void Registrycxx . . $ Gst/Registry#::add_featurecxx . . $ Gst/Registry#add_feature(2544b51221ae6a97).(Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::PluginFeaturecxx . . $ Gst/PluginFeature#>&& feature) |
| 353 | { |
| 354 | gst_registry_add_feature(gobjcxx . . $ Gst/Registry#gobj(3f651512636c2b9b).(), (feature) ? feature.releasecxx . . $ Glib/RefPtr#release(258ee1c9e0a18a5c).()->gobjcxx . . $ Gst/PluginFeature#gobj(f4b94b3a5eca1bb2).() : nullptr); |
| 355 | } |
| 356 | |
| 357 | bool Registrycxx . . $ Gst/Registry#::check_feature_versioncxx . . $ Gst/Registry#check_feature_version(92d1153390930e83).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& feature_name, guint min_major, guint min_minor, guint min_micro) |
| 358 | { |
| 359 | return gst_registry_check_feature_version(gobjcxx . . $ Gst/Registry#gobj(3f651512636c2b9b).(), feature_name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), min_major, min_minor, min_micro); |
| 360 | } |
| 361 | |
| 362 | |
| 363 | } // namespace Gst |
| 364 | |
| 365 |