Debian Codegraph @

gstreamer/gstreamermm/textrender.cc

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/textrender.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/textrender.h>cxx . . $ `<file>/gstreamer/gstreamermm/textrender.h`/
11 #include <gstreamermm/private/textrender_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/textrender_p.h`/
12
13
14 // Generated by generate_plugin_gmmproc_file. Don't edit this file.
15
16
17 extern "C"
18 {
19
20 static GType gst_text_render_h_align_get_type()
21 {
22 static GType const type = g_type_from_name("GstTextRenderHAlign");
23 return type;
24 }
25
26 static GType gst_text_render_v_align_get_type()
27 {
28 static GType const type = g_type_from_name("GstTextRenderVAlign");
29 return type;
30 }
31
32 static GType gst_text_render_line_align_get_type()
33 {
34 static GType const type = g_type_from_name("GstTextRenderLineAlign");
35 return type;
36 }
37
38 GType gst_text_render_gstreamermm_get_type()
39 {
40 static GType type = 0;
41 GstElementFactory* factory = 0;
42 GstPluginFeature* feature = 0;
43
44 if(!type)
45 {
46 factory = gst_element_factory_find("textrender");
47 // Make sure that the feature is actually loaded:
48 if(factory)
49 {
50 feature =
51 gst_plugin_feature_load(GST_PLUGIN_FEATUREcxx . . $ `<external>/139039714904699713/gstpluginfeature.h:34:9`!(factory));
52
53 g_object_unref(factory);
54 factory = GST_ELEMENT_FACTORYcxx . . $ `<external>/15193377161217626871/gstelementfactory.h:45:9`!(feature);
55 type = gst_element_factory_get_element_type(factory);
56 g_object_unref(factory);
57 }
58 }
59
60 return type;
61 }
62
63 } // extern "C"
64
65 namespace Gstcxx . . $ Gst/
66 {
67
68 TextRendercxx . . $ Gst/TextRender#::TextRendercxx . . $ Gst/TextRender#TextRender(49f6e7a06ebc5aa8).()
69 : // Mark this class as non-derived to allow C++ vfuncs to be skipped.
70 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#(nullptr),
71 Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#(Glibcxx . . $ Glib/ConstructParams#ConstructParams(88d8205c725482fb).::ConstructParamscxx . . $ Glib/ConstructParams#(textrender_class_cxx . . $ Gst/TextRender#textrender_class_..initcxx . . $ Gst/TextRender_Class#init(bf348c0cd369184d).(), "name",static_cast<char*>(0), nullptr))
72 {}
73
74 TextRendercxx . . $ Gst/TextRender#::TextRendercxx . . $ Gst/TextRender#TextRender(1ff0bff2cee2bc51).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name)
75 : // Mark this class as non-derived to allow C++ vfuncs to be skipped.
76 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#(nullptr),
77 Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#(Glibcxx . . $ Glib/ConstructParams#ConstructParams(88d8205c725482fb).::ConstructParamscxx . . $ Glib/ConstructParams#(textrender_class_cxx . . $ Gst/TextRender#textrender_class_..initcxx . . $ Gst/TextRender_Class#init(bf348c0cd369184d).(), "name",name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), nullptr))
78 {}
79
80 }
81
82 namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/textrender.cc`/
83 {
84 } // anonymous namespace
85
86 // static
87 GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::TextRenderHAlign>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).()
88 {
89 return gst_text_render_h_align_get_type();
90 }
91
92 // static
93 GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::TextRenderVAlign>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).()
94 {
95 return gst_text_render_v_align_get_type();
96 }
97
98 // static
99 GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::TextRenderLineAlign>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).()
100 {
101 return gst_text_render_line_align_get_type();
102 }
103
104
105 namespace Glibcxx . . $ Glib/
106 {
107
108 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::TextRendercxx . . $ Gst/TextRender#> wrapcxx . . $ Glib/wrap(e395562be55285b).(GstTextRendercxx . . $ GstTextRender#* object, bool take_copy)
109 {
110 return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::TextRendercxx . . $ Gst/TextRender#>( dynamic_cast<Gstcxx . . $ Gst/::TextRendercxx . . $ Gst/TextRender#*> (Glibcxx . . $ Glib/::wrap_autocxx . . $ Glib/wrap_auto(fd1af59aa43b0601). ((GObjectcxx . . $ GObject#*)(object), take_copy)) );
111 //We use dynamic_cast<> in case of multiple inheritance.
112 }
113
114 } /* namespace Glib */
115
116
117 namespace Gstcxx . . $ Gst/
118 {
119
120
121 /* The *_Class implementation: */
122
123 const Glibcxx . . $ Glib/::Classcxx . . $ Glib/Class#& TextRender_Classcxx . . $ Gst/TextRender_Class#::initcxx . . $ Gst/TextRender_Class#init(bf348c0cd369184d).()
124 {
125 if(!gtype_cxx . . $ Glib/Class#gtype_.) // create the GType if necessary
126 {
127 // Glib::Class has to know the class init function to clone custom types.
128 class_init_func_cxx . . $ Glib/Class#class_init_func_. = &TextRender_Classcxx . . $ Gst/TextRender_Class#::class_init_functioncxx . . $ Gst/TextRender_Class#class_init_function(6c58c5e2437d25a2).;
129
130 // This is actually just optimized away, apparently with no harm.
131 // Make sure that the parent type has been created.
132 //CppClassParent::CppObjectType::get_type();
133
134 // Create the wrapper type, with the same class/instance size as the base type.
135 register_derived_typecxx . . $ Glib/Class#register_derived_type(2c44cd906ae4e829).(gst_text_render_gstreamermm_get_type());
136
137 // Add derived versions of interfaces, if the C type implements any interfaces:
138
139 }
140
141 return *this;
142 }
143
144
145 void TextRender_Classcxx . . $ Gst/TextRender_Class#::class_init_functioncxx . . $ Gst/TextRender_Class#class_init_function(6c58c5e2437d25a2).(void* g_class, void* class_data)
146 {
147 const auto klass = static_cast<BaseClassTypecxx . . $ Gst/TextRender_Class#BaseClassType#*>(g_class);
148 CppClassParentcxx . . $ Gst/TextRender_Class#CppClassParent#::class_init_functioncxx . . $ Gst/Element_Class#class_init_function(6c58c5e2437d25a2).(klass, class_data);
149
150
151 }
152
153
154 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#* TextRender_Classcxx . . $ Gst/TextRender_Class#::wrap_newcxx . . $ Gst/TextRender_Class#wrap_new(893eec6d4349e251).(GObjectcxx . . $ GObject#* object)
155 {
156 return new TextRendercxx . . $ Gst/TextRender#((GstTextRendercxx . . $ GstTextRender#*)object);
157 }
158
159
160 /* The implementation: */
161
162 GstTextRendercxx . . $ GstTextRender#* TextRendercxx . . $ Gst/TextRender#::gobj_copycxx . . $ Gst/TextRender#gobj_copy(97183b83a16b7c75).()
163 {
164 referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).();
165 return gobjcxx . . $ Gst/TextRender#gobj(97183b83a16b7c75).();
166 }
167
168 TextRendercxx . . $ Gst/TextRender#::TextRendercxx . . $ Gst/TextRender#TextRender(237165b4a42a691a).(const Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#& construct_params)
169 :
170 Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#(construct_params)
171 {
172
173 }
174
175 TextRendercxx . . $ Gst/TextRender#::TextRendercxx . . $ Gst/TextRender#TextRender(62c11647bae83ae5).(GstTextRendercxx . . $ GstTextRender#* castitem)
176 :
177 Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#((GstElementcxx . . $ GstElement#*)(castitem))
178 {}
179
180
181 TextRendercxx . . $ Gst/TextRender#::TextRendercxx . . $ Gst/TextRender#TextRender(9ecd409eddd3065f).(TextRendercxx . . $ Gst/TextRender#&& src) noexcept
182 : Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src))
183 {}
184
185 TextRendercxx . . $ Gst/TextRender#& TextRendercxx . . $ Gst/TextRender#::operatorcxx . . $ Gst/TextRender#`operator=`(c92e5d0303cd6043).=(TextRendercxx . . $ Gst/TextRender#&& src) noexcept
186 {
187 Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src));
188 return *this;
189 }
190
191
192 TextRendercxx . . $ Gst/TextRender#::~cxx . . $ Gst/TextRender#`~TextRender`(ced63f7c635d850d).TextRendercxx . . $ Gst/TextRender#() noexcept
193 {}
194
195
196 TextRendercxx . . $ Gst/TextRender#::CppClassTypecxx . . $ Gst/TextRender#CppClassType# TextRendercxx . . $ Gst/TextRender#::textrender_class_cxx . . $ Gst/TextRender#textrender_class_.; // initialize static member
197
198 GType TextRendercxx . . $ Gst/TextRender#::get_typecxx . . $ Gst/TextRender#get_type(f708dce9a8856c70).()
199 {
200 return textrender_class_cxx . . $ Gst/TextRender#textrender_class_..initcxx . . $ Gst/TextRender_Class#init(bf348c0cd369184d).().get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).();
201 }
202
203
204 GType TextRendercxx . . $ Gst/TextRender#::get_base_typecxx . . $ Gst/TextRender#get_base_type(f708dce9a8856c70).()
205 {
206 return gst_text_render_gstreamermm_get_type();
207 }
208
209
210 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<TextRendercxx . . $ Gst/TextRender#> TextRendercxx . . $ Gst/TextRender#::createcxx . . $ Gst/TextRender#create(d97a6b716490fc7c).()
211 {
212 return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<TextRendercxx . . $ Gst/TextRender#>( new TextRendercxx . . $ Gst/TextRender#() );
213 }
214
215 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<TextRendercxx . . $ Gst/TextRender#> TextRendercxx . . $ Gst/TextRender#::createcxx . . $ Gst/TextRender#create(66d5b16b8a03754).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name)
216 {
217 return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<TextRendercxx . . $ Gst/TextRender#>( new TextRendercxx . . $ Gst/TextRender#(name) );
218 }
219
220
221 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< Gstcxx . . $ Gst/::TextRenderHAligncxx . . $ Gst/TextRenderHAlign# > TextRendercxx . . $ Gst/TextRender#::property_halignmentcxx . . $ Gst/TextRender#property_halignment(f66013db61934120).()
222 {
223 return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< Gstcxx . . $ Gst/::TextRenderHAligncxx . . $ Gst/TextRenderHAlign# >(this, "halignment");
224 }
225
226 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Gstcxx . . $ Gst/::TextRenderHAligncxx . . $ Gst/TextRenderHAlign# > TextRendercxx . . $ Gst/TextRender#::property_halignmentcxx . . $ Gst/TextRender#property_halignment(88d8210b1b0c39c9).() const
227 {
228 return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Gstcxx . . $ Gst/::TextRenderHAligncxx . . $ Gst/TextRenderHAlign# >(this, "halignment");
229 }
230
231 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< Gstcxx . . $ Gst/::TextRenderVAligncxx . . $ Gst/TextRenderVAlign# > TextRendercxx . . $ Gst/TextRender#::property_valignmentcxx . . $ Gst/TextRender#property_valignment(1a9b839b1a50030a).()
232 {
233 return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< Gstcxx . . $ Gst/::TextRenderVAligncxx . . $ Gst/TextRenderVAlign# >(this, "valignment");
234 }
235
236 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Gstcxx . . $ Gst/::TextRenderVAligncxx . . $ Gst/TextRenderVAlign# > TextRendercxx . . $ Gst/TextRender#::property_valignmentcxx . . $ Gst/TextRender#property_valignment(e35c3a888d4f890a).() const
237 {
238 return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Gstcxx . . $ Gst/::TextRenderVAligncxx . . $ Gst/TextRenderVAlign# >(this, "valignment");
239 }
240
241 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< Gstcxx . . $ Gst/::TextRenderLineAligncxx . . $ Gst/TextRenderLineAlign# > TextRendercxx . . $ Gst/TextRender#::property_line_alignmentcxx . . $ Gst/TextRender#property_line_alignment(11475792fcf562f4).()
242 {
243 return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< Gstcxx . . $ Gst/::TextRenderLineAligncxx . . $ Gst/TextRenderLineAlign# >(this, "line-alignment");
244 }
245
246 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Gstcxx . . $ Gst/::TextRenderLineAligncxx . . $ Gst/TextRenderLineAlign# > TextRendercxx . . $ Gst/TextRender#::property_line_alignmentcxx . . $ Gst/TextRender#property_line_alignment(c3369216dd727830).() const
247 {
248 return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Gstcxx . . $ Gst/::TextRenderLineAligncxx . . $ Gst/TextRenderLineAlign# >(this, "line-alignment");
249 }
250
251 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< int > TextRendercxx . . $ Gst/TextRender#::property_xpadcxx . . $ Gst/TextRender#property_xpad(bf3998fdb218c766).()
252 {
253 return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< int >(this, "xpad");
254 }
255
256 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< int > TextRendercxx . . $ Gst/TextRender#::property_xpadcxx . . $ Gst/TextRender#property_xpad(7e9006e11d14f0d6).() const
257 {
258 return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< int >(this, "xpad");
259 }
260
261 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< int > TextRendercxx . . $ Gst/TextRender#::property_ypadcxx . . $ Gst/TextRender#property_ypad(bf3998fdb218c766).()
262 {
263 return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< int >(this, "ypad");
264 }
265
266 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< int > TextRendercxx . . $ Gst/TextRender#::property_ypadcxx . . $ Gst/TextRender#property_ypad(7e9006e11d14f0d6).() const
267 {
268 return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< int >(this, "ypad");
269 }
270
271 Glibcxx . . $ Glib/::PropertyProxy_WriteOnlycxx . . $ Glib/PropertyProxy_WriteOnly#< Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# > TextRendercxx . . $ Gst/TextRender#::property_font_desccxx . . $ Gst/TextRender#property_font_desc(e65eacb1b792b2d2).()
272 {
273 return Glibcxx . . $ Glib/PropertyProxy_WriteOnly#PropertyProxy_WriteOnly(8fef7c1e3cce9580).::PropertyProxy_WriteOnlycxx . . $ Glib/PropertyProxy_WriteOnly#< Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# >(this, "font-desc");
274 }
275
276
277 } // namespace Gst
278
279 #endif // GSTREAMERMM_DISABLE_DEPRECATED
280
281