Debian Codegraph @

gstreamer/gstreamermm/pluginfeature.cc

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/pluginfeature.cc`/
2
3
4 #include <glibmm.h>
5
6 #include <gstreamermm/pluginfeature.h>cxx . . $ `<file>/gstreamer/gstreamermm/pluginfeature.h`/
7 #include <gstreamermm/private/pluginfeature_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/pluginfeature_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 <gst/gst.h>
30
31
32 namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/pluginfeature.cc`/
33 {
34 } // anonymous namespace
35
36 // static
37 GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::Rank>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).()
38 {
39 return gst_rank_get_type();
40 }
41
42
43 namespace Glibcxx . . $ Glib/
44 {
45
46 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::PluginFeaturecxx . . $ Gst/PluginFeature#> wrapcxx . . $ Glib/wrap(fc4e97dbf2a09633).(GstPluginFeaturecxx . . $ GstPluginFeature#* object, bool take_copy)
47 {
48 return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::PluginFeaturecxx . . $ Gst/PluginFeature#>( dynamic_cast<Gstcxx . . $ Gst/::PluginFeaturecxx . . $ Gst/PluginFeature#*> (Glibcxx . . $ Glib/::wrap_autocxx . . $ Glib/wrap_auto(fd1af59aa43b0601). ((GObjectcxx . . $ GObject#*)(object), take_copy)) );
49 //We use dynamic_cast<> in case of multiple inheritance.
50 }
51
52 } /* namespace Glib */
53
54
55 namespace Gstcxx . . $ Gst/
56 {
57
58
59 /* The *_Class implementation: */
60
61 const Glibcxx . . $ Glib/::Classcxx . . $ Glib/Class#& PluginFeature_Classcxx . . $ Gst/PluginFeature_Class#::initcxx . . $ Gst/PluginFeature_Class#init(bf348c0cd369184d).()
62 {
63 if(!gtype_cxx . . $ Glib/Class#gtype_.) // create the GType if necessary
64 {
65 // Glib::Class has to know the class init function to clone custom types.
66 class_init_func_cxx . . $ Glib/Class#class_init_func_. = &PluginFeature_Classcxx . . $ Gst/PluginFeature_Class#::class_init_functioncxx . . $ Gst/PluginFeature_Class#class_init_function(6c58c5e2437d25a2).;
67
68 // This is actually just optimized away, apparently with no harm.
69 // Make sure that the parent type has been created.
70 //CppClassParent::CppObjectType::get_type();
71
72 // Create the wrapper type, with the same class/instance size as the base type.
73 register_derived_typecxx . . $ Glib/Class#register_derived_type(2c44cd906ae4e829).(gst_plugin_feature_get_type());
74
75 // Add derived versions of interfaces, if the C type implements any interfaces:
76
77 }
78
79 return *this;
80 }
81
82
83 void PluginFeature_Classcxx . . $ Gst/PluginFeature_Class#::class_init_functioncxx . . $ Gst/PluginFeature_Class#class_init_function(6c58c5e2437d25a2).(void* g_class, void* class_data)
84 {
85 const auto klass = static_cast<BaseClassTypecxx . . $ Gst/PluginFeature_Class#BaseClassType#*>(g_class);
86 CppClassParentcxx . . $ Gst/PluginFeature_Class#CppClassParent#::class_init_functioncxx . . $ Gst/Object_Class#class_init_function(6c58c5e2437d25a2).(klass, class_data);
87
88
89 }
90
91
92 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#* PluginFeature_Classcxx . . $ Gst/PluginFeature_Class#::wrap_newcxx . . $ Gst/PluginFeature_Class#wrap_new(893eec6d4349e251).(GObjectcxx . . $ GObject#* object)
93 {
94 return new PluginFeaturecxx . . $ Gst/PluginFeature#((GstPluginFeaturecxx . . $ GstPluginFeature#*)object);
95 }
96
97
98 /* The implementation: */
99
100 GstPluginFeaturecxx . . $ GstPluginFeature#* PluginFeaturecxx . . $ Gst/PluginFeature#::gobj_copycxx . . $ Gst/PluginFeature#gobj_copy(f4b94b3a5eca1bb2).()
101 {
102 referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).();
103 return gobjcxx . . $ Gst/PluginFeature#gobj(f4b94b3a5eca1bb2).();
104 }
105
106 PluginFeaturecxx . . $ Gst/PluginFeature#::PluginFeaturecxx . . $ Gst/PluginFeature#PluginFeature(237165b4a42a691a).(const Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#& construct_params)
107 :
108 Objectcxx . . $ Gst/Object#(construct_params)
109 {
110
111 }
112
113 PluginFeaturecxx . . $ Gst/PluginFeature#::PluginFeaturecxx . . $ Gst/PluginFeature#PluginFeature(f79a9fac660ea721).(GstPluginFeaturecxx . . $ GstPluginFeature#* castitem)
114 :
115 Objectcxx . . $ Gst/Object#((GstObjectcxx . . $ GstObject#*)(castitem))
116 {}
117
118
119 PluginFeaturecxx . . $ Gst/PluginFeature#::PluginFeaturecxx . . $ Gst/PluginFeature#PluginFeature(3ec32629674e3338).(PluginFeaturecxx . . $ Gst/PluginFeature#&& src) noexcept
120 : Objectcxx . . $ Gst/Object#(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src))
121 {}
122
123 PluginFeaturecxx . . $ Gst/PluginFeature#& PluginFeaturecxx . . $ Gst/PluginFeature#::operatorcxx . . $ Gst/PluginFeature#`operator=`(6a456ed2dff79abb).=(PluginFeaturecxx . . $ Gst/PluginFeature#&& src) noexcept
124 {
125 Objectcxx . . $ Gst/Object#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src));
126 return *this;
127 }
128
129
130 PluginFeaturecxx . . $ Gst/PluginFeature#::~cxx . . $ Gst/PluginFeature#`~PluginFeature`(ced63f7c635d850d).PluginFeaturecxx . . $ Gst/PluginFeature#() noexcept
131 {}
132
133
134 PluginFeaturecxx . . $ Gst/PluginFeature#::CppClassTypecxx . . $ Gst/PluginFeature#CppClassType# PluginFeaturecxx . . $ Gst/PluginFeature#::pluginfeature_class_cxx . . $ Gst/PluginFeature#pluginfeature_class_.; // initialize static member
135
136 GType PluginFeaturecxx . . $ Gst/PluginFeature#::get_typecxx . . $ Gst/PluginFeature#get_type(f708dce9a8856c70).()
137 {
138 return pluginfeature_class_cxx . . $ Gst/PluginFeature#pluginfeature_class_..initcxx . . $ Gst/PluginFeature_Class#init(bf348c0cd369184d).().get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).();
139 }
140
141
142 GType PluginFeaturecxx . . $ Gst/PluginFeature#::get_base_typecxx . . $ Gst/PluginFeature#get_base_type(f708dce9a8856c70).()
143 {
144 return gst_plugin_feature_get_type();
145 }
146
147
148 void PluginFeaturecxx . . $ Gst/PluginFeature#::set_rankcxx . . $ Gst/PluginFeature#set_rank(cb2f890c2fdad230).(guint rank)
149 {
150 gst_plugin_feature_set_rank(gobjcxx . . $ Gst/PluginFeature#gobj(f4b94b3a5eca1bb2).(), rank);
151 }
152
153 guint PluginFeaturecxx . . $ Gst/PluginFeature#::get_rankcxx . . $ Gst/PluginFeature#get_rank(ddd8539a2fcdd4ce).() const
154 {
155 return gst_plugin_feature_get_rank(const_cast<GstPluginFeaturecxx . . $ GstPluginFeature#*>(gobjcxx . . $ Gst/PluginFeature#gobj(a69dda835ab9632d).()));
156 }
157
158 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::PluginFeaturecxx . . $ Gst/PluginFeature#> PluginFeaturecxx . . $ Gst/PluginFeature#::loadcxx . . $ Gst/PluginFeature#load(961ca7c6569aedac).()
159 {
160 return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(fc4e97dbf2a09633).(gst_plugin_feature_load(gobjcxx . . $ Gst/PluginFeature#gobj(f4b94b3a5eca1bb2).()));
161 }
162
163 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Plugincxx . . $ Gst/Plugin#> PluginFeaturecxx . . $ Gst/PluginFeature#::get_plugincxx . . $ Gst/PluginFeature#get_plugin(436fc47aefafd422).() const
164 {
165 return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(da07d7f8f838b8f6).(gst_plugin_feature_get_plugin(const_cast<GstPluginFeaturecxx . . $ GstPluginFeature#*>(gobjcxx . . $ Gst/PluginFeature#gobj(a69dda835ab9632d).())));
166 }
167
168 Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# PluginFeaturecxx . . $ Gst/PluginFeature#::get_plugin_namecxx . . $ Gst/PluginFeature#get_plugin_name(fff0f585954e56f3).() const
169 {
170 return Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(gst_plugin_feature_get_plugin_name(const_cast<GstPluginFeaturecxx . . $ GstPluginFeature#*>(gobjcxx . . $ Gst/PluginFeature#gobj(a69dda835ab9632d).())));
171 }
172
173 bool PluginFeaturecxx . . $ Gst/PluginFeature#::check_versioncxx . . $ Gst/PluginFeature#check_version(971ac2092be9c647).(guint min_major, guint min_minor, guint min_micro) const
174 {
175 return gst_plugin_feature_check_version(const_cast<GstPluginFeaturecxx . . $ GstPluginFeature#*>(gobjcxx . . $ Gst/PluginFeature#gobj(a69dda835ab9632d).()), min_major, min_minor, min_micro);
176 }
177
178
179 } // namespace Gst
180
181