Debian Codegraph @

gstreamer/gstreamermm/typefindelement.cc

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/typefindelement.cc`/
2
3
4 #include <gstreamermmconfig.h>cxx . . $ `<file>/config.h`/
5 #ifndef GSTREAMERMM_DISABLE_DEPRECATED
6
7
8 #include <glibmm.h>
9
10 #include <gstreamermm/typefindelement.h>cxx . . $ `<file>/gstreamer/gstreamermm/typefindelement.h`/
11 #include <gstreamermm/private/typefindelement_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/typefindelement_p.h`/
12
13
14 // Generated by generate_plugin_gmmproc_file. Don't edit this file.
15
16
17 extern "C"
18 {
19
20 GType gst_type_find_element_gstreamermm_get_type()
21 {
22 static GType type = 0;
23 GstElementFactory* factory = 0;
24 GstPluginFeature* feature = 0;
25
26 if(!type)
27 {
28 factory = gst_element_factory_find("typefind");
29 // Make sure that the feature is actually loaded:
30 if(factory)
31 {
32 feature =
33 gst_plugin_feature_load(GST_PLUGIN_FEATUREcxx . . $ `<external>/139039714904699713/gstpluginfeature.h:34:9`!(factory));
34
35 g_object_unref(factory);
36 factory = GST_ELEMENT_FACTORYcxx . . $ `<external>/15193377161217626871/gstelementfactory.h:45:9`!(feature);
37 type = gst_element_factory_get_element_type(factory);
38 g_object_unref(factory);
39 }
40 }
41
42 return type;
43 }
44
45 } // extern "C"
46
47 namespace Gstcxx . . $ Gst/
48 {
49
50 TypeFindElementcxx . . $ Gst/TypeFindElement#::TypeFindElementcxx . . $ Gst/TypeFindElement#TypeFindElement(49f6e7a06ebc5aa8).()
51 : // Mark this class as non-derived to allow C++ vfuncs to be skipped.
52 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#(nullptr),
53 Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#(Glibcxx . . $ Glib/ConstructParams#ConstructParams(88d8205c725482fb).::ConstructParamscxx . . $ Glib/ConstructParams#(typefindelement_class_cxx . . $ Gst/TypeFindElement#typefindelement_class_..initcxx . . $ Gst/TypeFindElement_Class#init(bf348c0cd369184d).(), "name",static_cast<char*>(0), nullptr))
54 {}
55
56 TypeFindElementcxx . . $ Gst/TypeFindElement#::TypeFindElementcxx . . $ Gst/TypeFindElement#TypeFindElement(1ff0bff2cee2bc51).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name)
57 : // Mark this class as non-derived to allow C++ vfuncs to be skipped.
58 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#(nullptr),
59 Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#(Glibcxx . . $ Glib/ConstructParams#ConstructParams(88d8205c725482fb).::ConstructParamscxx . . $ Glib/ConstructParams#(typefindelement_class_cxx . . $ Gst/TypeFindElement#typefindelement_class_..initcxx . . $ Gst/TypeFindElement_Class#init(bf348c0cd369184d).(), "name",name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), nullptr))
60 {}
61
62 }
63
64 namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/typefindelement.cc`/
65 {
66
67
68 static void TypeFindElement_signal_have_type_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/typefindelement.cc`/TypeFindElement_signal_have_type_callback(4c508223b5789373).(GstTypeFindElementcxx . . $ GstTypeFindElement#* self, guint p0,GstCaps* p1,void* data)
69 {
70 using namespace Gst;
71 using SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/typefindelement.cc`/TypeFindElement_signal_have_type_callback(4c508223b5789373).SlotType# = sigccxx . . $ sigc/::slotcxx . . $ sigc/slot#< void,guint,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& >;
72
73 auto obj = dynamic_cast<TypeFindElementcxx . . $ Gst/TypeFindElement#*>(Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*) self));
74 // Do not try to call a signal on a disassociated wrapper.
75 if(obj)
76 {
77 try
78 {
79 if(const auto slot = Glibcxx . . $ Glib/::SignalProxyNormalcxx . . $ Glib/SignalProxyNormal#::data_to_slotcxx . . $ Glib/SignalProxyBase#data_to_slot(1b18816c898558ea).(data))
80 (*static_cast<SlotTypecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/typefindelement.cc`/TypeFindElement_signal_have_type_callback(4c508223b5789373).SlotType#*>(slot))(cxx . . $ sigc/slot2#`operator()`(d6f853cadabc373b).p0, Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(p1, true)
81 );
82 }
83 catch(...)
84 {
85 Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).();
86 }
87 }
88 }
89
90 static const Glibcxx . . $ Glib/::SignalProxyInfocxx . . $ Glib/SignalProxyInfo# TypeFindElement_signal_have_type_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/typefindelement.cc`/TypeFindElement_signal_have_type_info. =
91 {
92 "have-type",
93 (GCallback) &TypeFindElement_signal_have_type_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/typefindelement.cc`/TypeFindElement_signal_have_type_callback(4c508223b5789373).,
94 (GCallback) &TypeFindElement_signal_have_type_callbackcxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/typefindelement.cc`/TypeFindElement_signal_have_type_callback(4c508223b5789373).
95 };
96
97
98 } // anonymous namespace
99
100
101 namespace Glibcxx . . $ Glib/
102 {
103
104 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::TypeFindElementcxx . . $ Gst/TypeFindElement#> wrapcxx . . $ Glib/wrap(515f978ab2010759).(GstTypeFindElementcxx . . $ GstTypeFindElement#* object, bool take_copy)
105 {
106 return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::TypeFindElementcxx . . $ Gst/TypeFindElement#>( dynamic_cast<Gstcxx . . $ Gst/::TypeFindElementcxx . . $ Gst/TypeFindElement#*> (Glibcxx . . $ Glib/::wrap_autocxx . . $ Glib/wrap_auto(fd1af59aa43b0601). ((GObjectcxx . . $ GObject#*)(object), take_copy)) );
107 //We use dynamic_cast<> in case of multiple inheritance.
108 }
109
110 } /* namespace Glib */
111
112
113 namespace Gstcxx . . $ Gst/
114 {
115
116
117 /* The *_Class implementation: */
118
119 const Glibcxx . . $ Glib/::Classcxx . . $ Glib/Class#& TypeFindElement_Classcxx . . $ Gst/TypeFindElement_Class#::initcxx . . $ Gst/TypeFindElement_Class#init(bf348c0cd369184d).()
120 {
121 if(!gtype_cxx . . $ Glib/Class#gtype_.) // create the GType if necessary
122 {
123 // Glib::Class has to know the class init function to clone custom types.
124 class_init_func_cxx . . $ Glib/Class#class_init_func_. = &TypeFindElement_Classcxx . . $ Gst/TypeFindElement_Class#::class_init_functioncxx . . $ Gst/TypeFindElement_Class#class_init_function(6c58c5e2437d25a2).;
125
126 // This is actually just optimized away, apparently with no harm.
127 // Make sure that the parent type has been created.
128 //CppClassParent::CppObjectType::get_type();
129
130 // Create the wrapper type, with the same class/instance size as the base type.
131 register_derived_typecxx . . $ Glib/Class#register_derived_type(2c44cd906ae4e829).(gst_type_find_element_gstreamermm_get_type());
132
133 // Add derived versions of interfaces, if the C type implements any interfaces:
134
135 }
136
137 return *this;
138 }
139
140
141 void TypeFindElement_Classcxx . . $ Gst/TypeFindElement_Class#::class_init_functioncxx . . $ Gst/TypeFindElement_Class#class_init_function(6c58c5e2437d25a2).(void* g_class, void* class_data)
142 {
143 const auto klass = static_cast<BaseClassTypecxx . . $ Gst/TypeFindElement_Class#BaseClassType#*>(g_class);
144 CppClassParentcxx . . $ Gst/TypeFindElement_Class#CppClassParent#::class_init_functioncxx . . $ Gst/Element_Class#class_init_function(6c58c5e2437d25a2).(klass, class_data);
145
146
147 }
148
149
150 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#* TypeFindElement_Classcxx . . $ Gst/TypeFindElement_Class#::wrap_newcxx . . $ Gst/TypeFindElement_Class#wrap_new(893eec6d4349e251).(GObjectcxx . . $ GObject#* object)
151 {
152 return new TypeFindElementcxx . . $ Gst/TypeFindElement#((GstTypeFindElementcxx . . $ GstTypeFindElement#*)object);
153 }
154
155
156 /* The implementation: */
157
158 GstTypeFindElementcxx . . $ GstTypeFindElement#* TypeFindElementcxx . . $ Gst/TypeFindElement#::gobj_copycxx . . $ Gst/TypeFindElement#gobj_copy(6e51a113f815efb7).()
159 {
160 referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).();
161 return gobjcxx . . $ Gst/TypeFindElement#gobj(6e51a113f815efb7).();
162 }
163
164 TypeFindElementcxx . . $ Gst/TypeFindElement#::TypeFindElementcxx . . $ Gst/TypeFindElement#TypeFindElement(237165b4a42a691a).(const Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#& construct_params)
165 :
166 Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#(construct_params)
167 {
168
169 }
170
171 TypeFindElementcxx . . $ Gst/TypeFindElement#::TypeFindElementcxx . . $ Gst/TypeFindElement#TypeFindElement(537741061ff4b97b).(GstTypeFindElementcxx . . $ GstTypeFindElement#* castitem)
172 :
173 Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#((GstElementcxx . . $ GstElement#*)(castitem))
174 {}
175
176
177 TypeFindElementcxx . . $ Gst/TypeFindElement#::TypeFindElementcxx . . $ Gst/TypeFindElement#TypeFindElement(a8e86cb1e846efd0).(TypeFindElementcxx . . $ Gst/TypeFindElement#&& src) noexcept
178 : Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src))
179 {}
180
181 TypeFindElementcxx . . $ Gst/TypeFindElement#& TypeFindElementcxx . . $ Gst/TypeFindElement#::operatorcxx . . $ Gst/TypeFindElement#`operator=`(97821861a42de46e).=(TypeFindElementcxx . . $ Gst/TypeFindElement#&& src) noexcept
182 {
183 Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src));
184 return *this;
185 }
186
187
188 TypeFindElementcxx . . $ Gst/TypeFindElement#::~cxx . . $ Gst/TypeFindElement#`~TypeFindElement`(ced63f7c635d850d).TypeFindElementcxx . . $ Gst/TypeFindElement#() noexcept
189 {}
190
191
192 TypeFindElementcxx . . $ Gst/TypeFindElement#::CppClassTypecxx . . $ Gst/TypeFindElement#CppClassType# TypeFindElementcxx . . $ Gst/TypeFindElement#::typefindelement_class_cxx . . $ Gst/TypeFindElement#typefindelement_class_.; // initialize static member
193
194 GType TypeFindElementcxx . . $ Gst/TypeFindElement#::get_typecxx . . $ Gst/TypeFindElement#get_type(f708dce9a8856c70).()
195 {
196 return typefindelement_class_cxx . . $ Gst/TypeFindElement#typefindelement_class_..initcxx . . $ Gst/TypeFindElement_Class#init(bf348c0cd369184d).().get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).();
197 }
198
199
200 GType TypeFindElementcxx . . $ Gst/TypeFindElement#::get_base_typecxx . . $ Gst/TypeFindElement#get_base_type(f708dce9a8856c70).()
201 {
202 return gst_type_find_element_gstreamermm_get_type();
203 }
204
205
206 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<TypeFindElementcxx . . $ Gst/TypeFindElement#> TypeFindElementcxx . . $ Gst/TypeFindElement#::createcxx . . $ Gst/TypeFindElement#create(97edd473e190b9a0).()
207 {
208 return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<TypeFindElementcxx . . $ Gst/TypeFindElement#>( new TypeFindElementcxx . . $ Gst/TypeFindElement#() );
209 }
210
211 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<TypeFindElementcxx . . $ Gst/TypeFindElement#> TypeFindElementcxx . . $ Gst/TypeFindElement#::createcxx . . $ Gst/TypeFindElement#create(289d232950dc8df9).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name)
212 {
213 return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<TypeFindElementcxx . . $ Gst/TypeFindElement#>( new TypeFindElementcxx . . $ Gst/TypeFindElement#(name) );
214 }
215
216
217 Glibcxx . . $ Glib/::SignalProxycxx . . $ Glib/SignalProxy#< void,guint,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& > TypeFindElementcxx . . $ Gst/TypeFindElement#::signal_have_typecxx . . $ Gst/TypeFindElement#signal_have_type(e34c12719eac8017).()
218 {
219 return Glibcxx . . $ Glib/SignalProxy#SignalProxy(99c0b07349c102a).::SignalProxycxx . . $ Glib/SignalProxy#< void,guint,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& >(this, &TypeFindElement_signal_have_type_infocxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/typefindelement.cc`/TypeFindElement_signal_have_type_info.);
220 }
221
222
223 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> > TypeFindElementcxx . . $ Gst/TypeFindElement#::property_capscxx . . $ Gst/TypeFindElement#property_caps(e0fc34847650ee7e).() const
224 {
225 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");
226 }
227
228 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< guint > TypeFindElementcxx . . $ Gst/TypeFindElement#::property_minimumcxx . . $ Gst/TypeFindElement#property_minimum(c06a410a81733cde).()
229 {
230 return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< guint >(this, "minimum");
231 }
232
233 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint > TypeFindElementcxx . . $ Gst/TypeFindElement#::property_minimumcxx . . $ Gst/TypeFindElement#property_minimum(9b12e6784ac5b9b).() const
234 {
235 return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint >(this, "minimum");
236 }
237
238 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> > TypeFindElementcxx . . $ Gst/TypeFindElement#::property_force_capscxx . . $ Gst/TypeFindElement#property_force_caps(7de0a34cb17df79e).()
239 {
240 return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> >(this, "force-caps");
241 }
242
243 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> > TypeFindElementcxx . . $ Gst/TypeFindElement#::property_force_capscxx . . $ Gst/TypeFindElement#property_force_caps(e0fc34847650ee7e).() const
244 {
245 return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> >(this, "force-caps");
246 }
247
248
249 } // namespace Gst
250
251 #endif // GSTREAMERMM_DISABLE_DEPRECATED
252
253