Debian Codegraph @

gstreamer/gstreamermm/typefindfactory.cc

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/typefindfactory.cc`/
2
3
4 #include <glibmm.h>
5
6 #include <gstreamermm/typefindfactory.h>cxx . . $ `<file>/gstreamer/gstreamermm/typefindfactory.h`/
7 #include <gstreamermm/private/typefindfactory_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/typefindfactory_p.h`/
8
9
10 /* gstreamermm - a C++ wrapper for gstreamer
11 *
12 * Copyright 2009 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/caps.h>cxx . . $ `<file>/gstreamer/gstreamermm/caps.h`/
30 #include <gstreamermm/typefind.h>cxx . . $ `<file>/gstreamer/gstreamermm/typefind.h`/
31
32
33 namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/typefindfactory.cc`/
34 {
35 } // anonymous namespace
36
37
38 namespace Glibcxx . . $ Glib/
39 {
40
41 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::TypeFindFactorycxx . . $ Gst/TypeFindFactory#> wrapcxx . . $ Glib/wrap(1a0f599580dd1c68).(GstTypeFindFactorycxx . . $ GstTypeFindFactory#* object, bool take_copy)
42 {
43 return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::TypeFindFactorycxx . . $ Gst/TypeFindFactory#>( dynamic_cast<Gstcxx . . $ Gst/::TypeFindFactorycxx . . $ Gst/TypeFindFactory#*> (Glibcxx . . $ Glib/::wrap_autocxx . . $ Glib/wrap_auto(fd1af59aa43b0601). ((GObjectcxx . . $ GObject#*)(object), take_copy)) );
44 //We use dynamic_cast<> in case of multiple inheritance.
45 }
46
47 } /* namespace Glib */
48
49
50 namespace Gstcxx . . $ Gst/
51 {
52
53
54 /* The *_Class implementation: */
55
56 const Glibcxx . . $ Glib/::Classcxx . . $ Glib/Class#& TypeFindFactory_Classcxx . . $ Gst/TypeFindFactory_Class#::initcxx . . $ Gst/TypeFindFactory_Class#init(bf348c0cd369184d).()
57 {
58 if(!gtype_cxx . . $ Glib/Class#gtype_.) // create the GType if necessary
59 {
60 // Glib::Class has to know the class init function to clone custom types.
61 class_init_func_cxx . . $ Glib/Class#class_init_func_. = &TypeFindFactory_Classcxx . . $ Gst/TypeFindFactory_Class#::class_init_functioncxx . . $ Gst/TypeFindFactory_Class#class_init_function(6c58c5e2437d25a2).;
62
63 // This is actually just optimized away, apparently with no harm.
64 // Make sure that the parent type has been created.
65 //CppClassParent::CppObjectType::get_type();
66
67 // Create the wrapper type, with the same class/instance size as the base type.
68 register_derived_typecxx . . $ Glib/Class#register_derived_type(2c44cd906ae4e829).(gst_type_find_factory_get_type());
69
70 // Add derived versions of interfaces, if the C type implements any interfaces:
71
72 }
73
74 return *this;
75 }
76
77
78 void TypeFindFactory_Classcxx . . $ Gst/TypeFindFactory_Class#::class_init_functioncxx . . $ Gst/TypeFindFactory_Class#class_init_function(6c58c5e2437d25a2).(void* g_class, void* class_data)
79 {
80 const auto klass = static_cast<BaseClassTypecxx . . $ Gst/TypeFindFactory_Class#BaseClassType#*>(g_class);
81 CppClassParentcxx . . $ Gst/TypeFindFactory_Class#CppClassParent#::class_init_functioncxx . . $ Gst/PluginFeature_Class#class_init_function(6c58c5e2437d25a2).(klass, class_data);
82
83
84 }
85
86
87 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#* TypeFindFactory_Classcxx . . $ Gst/TypeFindFactory_Class#::wrap_newcxx . . $ Gst/TypeFindFactory_Class#wrap_new(893eec6d4349e251).(GObjectcxx . . $ GObject#* object)
88 {
89 return new TypeFindFactorycxx . . $ Gst/TypeFindFactory#((GstTypeFindFactorycxx . . $ GstTypeFindFactory#*)object);
90 }
91
92
93 /* The implementation: */
94
95 GstTypeFindFactorycxx . . $ GstTypeFindFactory#* TypeFindFactorycxx . . $ Gst/TypeFindFactory#::gobj_copycxx . . $ Gst/TypeFindFactory#gobj_copy(ad1cda961cea3546).()
96 {
97 referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).();
98 return gobjcxx . . $ Gst/TypeFindFactory#gobj(ad1cda961cea3546).();
99 }
100
101 TypeFindFactorycxx . . $ Gst/TypeFindFactory#::TypeFindFactorycxx . . $ Gst/TypeFindFactory#TypeFindFactory(237165b4a42a691a).(const Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#& construct_params)
102 :
103 PluginFeaturecxx . . $ Gst/PluginFeature#(construct_params)
104 {
105
106 }
107
108 TypeFindFactorycxx . . $ Gst/TypeFindFactory#::TypeFindFactorycxx . . $ Gst/TypeFindFactory#TypeFindFactory(7802bc8648c84d35).(GstTypeFindFactorycxx . . $ GstTypeFindFactory#* castitem)
109 :
110 PluginFeaturecxx . . $ Gst/PluginFeature#((GstPluginFeaturecxx . . $ GstPluginFeature#*)(castitem))
111 {}
112
113
114 TypeFindFactorycxx . . $ Gst/TypeFindFactory#::TypeFindFactorycxx . . $ Gst/TypeFindFactory#TypeFindFactory(85b3449e811347c6).(TypeFindFactorycxx . . $ Gst/TypeFindFactory#&& src) noexcept
115 : PluginFeaturecxx . . $ Gst/PluginFeature#(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src))
116 {}
117
118 TypeFindFactorycxx . . $ Gst/TypeFindFactory#& TypeFindFactorycxx . . $ Gst/TypeFindFactory#::operatorcxx . . $ Gst/TypeFindFactory#`operator=`(a489ede654ffc337).=(TypeFindFactorycxx . . $ Gst/TypeFindFactory#&& src) noexcept
119 {
120 PluginFeaturecxx . . $ Gst/PluginFeature#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src));
121 return *this;
122 }
123
124
125 TypeFindFactorycxx . . $ Gst/TypeFindFactory#::~cxx . . $ Gst/TypeFindFactory#`~TypeFindFactory`(ced63f7c635d850d).TypeFindFactorycxx . . $ Gst/TypeFindFactory#() noexcept
126 {}
127
128
129 TypeFindFactorycxx . . $ Gst/TypeFindFactory#::CppClassTypecxx . . $ Gst/TypeFindFactory#CppClassType# TypeFindFactorycxx . . $ Gst/TypeFindFactory#::typefindfactory_class_cxx . . $ Gst/TypeFindFactory#typefindfactory_class_.; // initialize static member
130
131 GType TypeFindFactorycxx . . $ Gst/TypeFindFactory#::get_typecxx . . $ Gst/TypeFindFactory#get_type(f708dce9a8856c70).()
132 {
133 return typefindfactory_class_cxx . . $ Gst/TypeFindFactory#typefindfactory_class_..initcxx . . $ Gst/TypeFindFactory_Class#init(bf348c0cd369184d).().get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).();
134 }
135
136
137 GType TypeFindFactorycxx . . $ Gst/TypeFindFactory#::get_base_typecxx . . $ Gst/TypeFindFactory#get_base_type(f708dce9a8856c70).()
138 {
139 return gst_type_find_factory_get_type();
140 }
141
142
143 Glibcxx . . $ Glib/::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::TypeFindFactorycxx . . $ Gst/TypeFindFactory#> > TypeFindFactorycxx . . $ Gst/TypeFindFactory#::get_listcxx . . $ Gst/TypeFindFactory#get_list(a16a9228b0c30903).()
144 {
145 return Glibcxx . . $ Glib/ListHandle#ListHandle(f3cce3d3930c5f04).::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::TypeFindFactorycxx . . $ Gst/TypeFindFactory#> >(gst_type_find_factory_get_list(), Glibcxx . . $ Glib/::OWNERSHIP_DEEPcxx . . $ Glib/OWNERSHIP_DEEP.);
146 }
147
148 stdcxx . . $ std/::vectorcxx . . $ std/vector#<Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#> TypeFindFactorycxx . . $ Gst/TypeFindFactory#::get_extensionscxx . . $ Gst/TypeFindFactory#get_extensions(875676e3b2759068).() const
149 {
150 return Glibcxx . . $ Glib/::ArrayHandlercxx . . $ Glib/ArrayHandler#<Glib::ustring>::array_to_vectorcxx . . $ Glib/ArrayHandler#array_to_vector(29018dfb1d4a3af1).(gst_type_find_factory_get_extensions(const_cast<GstTypeFindFactorycxx . . $ GstTypeFindFactory#*>(gobjcxx . . $ Gst/TypeFindFactory#gobj(65d826c3db08049).())), Glibcxx . . $ Glib/::OWNERSHIP_NONEcxx . . $ Glib/OWNERSHIP_NONE.);
151 }
152
153 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> TypeFindFactorycxx . . $ Gst/TypeFindFactory#::get_capscxx . . $ Gst/TypeFindFactory#get_caps(22811ab509ec2061).()
154 {
155 return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(gst_type_find_factory_get_caps(gobjcxx . . $ Gst/TypeFindFactory#gobj(ad1cda961cea3546).()));
156 }
157
158 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> TypeFindFactorycxx . . $ Gst/TypeFindFactory#::get_capscxx . . $ Gst/TypeFindFactory#get_caps(b365bf96c1803900).() const
159 {
160 return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<TypeFindFactorycxx . . $ Gst/TypeFindFactory#*>(this)->get_capscxx . . $ Gst/TypeFindFactory#get_caps(22811ab509ec2061).();
161 }
162
163 void TypeFindFactorycxx . . $ Gst/TypeFindFactory#::call_slotcxx . . $ Gst/TypeFindFactory#call_slot(4dd359707bc77a4a).(Gstcxx . . $ Gst/::TypeFindcxx . . $ Gst/TypeFind#& find)
164 {
165 gst_type_find_factory_call_function(gobjcxx . . $ Gst/TypeFindFactory#gobj(ad1cda961cea3546).(), find.gobjcxx . . $ Gst/TypeFind#gobj(bf4a3694f5de379b).());
166 }
167
168 bool TypeFindFactorycxx . . $ Gst/TypeFindFactory#::has_functioncxx . . $ Gst/TypeFindFactory#has_function(50ce9a9e25b4a850).() const
169 {
170 return gst_type_find_factory_has_function(const_cast<GstTypeFindFactorycxx . . $ GstTypeFindFactory#*>(gobjcxx . . $ Gst/TypeFindFactory#gobj(65d826c3db08049).()));
171 }
172
173
174 } // namespace Gst
175
176