Debian Codegraph @

gstreamer/gstreamermm/ximagesink.h

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!
2 #ifndef _GSTREAMERMM_XIMAGESINK_H
3 #define _GSTREAMERMM_XIMAGESINK_H
4
5 #include <gstreamermmconfig.h>
6
7 #ifndef GSTREAMERMM_DISABLE_DEPRECATED
8
9
10 #include <glibmm/ustring.h>
11 #include <sigc++/sigc++.h>
12
13 // Generated by generate_plugin_gmmproc_file. Don't edit this file.
14
15
16 #include <gstreamermm/videosink.h>
17 #include <gstreamermm/navigation.h>
18 #include <gstreamermm/videooverlay.h>
19
20
21 #ifndef DOXYGEN_SHOULD_SKIP_THIS
22 using GstXImageSink = struct _GstXImageSink;
23 using GstXImageSinkClass = struct _GstXImageSinkClass;
24 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
25
26
27 #ifndef DOXYGEN_SHOULD_SKIP_THIS
28 namespace Gst
29 { class XImageSink_Class; } // namespace Gst
30 #endif //DOXYGEN_SHOULD_SKIP_THIS
31
32 namespace Gst
33 {
34
35 /** A Wrapper for the ximagesink plugin.
36 * Please note that not all plug-ins are available on all systems so care
37 * must be taken that they exist before they are used otherwise there will
38 * be errors and possibly a crash.
39 *
40 * @ingroup GstPlugins
41 * @deprecated Plugins API is deprecated, and should not be used in a new code.
42 */
43
44 class XImageSink
45 : public Gst::VideoSink, public Gst::Navigation, public Gst::VideoOverlay
46 {
47
48 #ifndef DOXYGEN_SHOULD_SKIP_THIS
49
50 public:
51 using CppObjectType = XImageSink;
52 using CppClassType = XImageSink_Class;
53 using BaseObjectType = GstXImageSink;
54 using BaseClassType = GstXImageSinkClass;
55
56 // noncopyable
57 XImageSink(const XImageSink&) = delete;
58 XImageSink& operator=(const XImageSink&) = delete;
59
60 private: friend class XImageSink_Class;
61 static CppClassType ximagesink_class_;
62
63 protected:
64 explicit XImageSink(const Glib::ConstructParams& construct_params);
65 explicit XImageSink(GstXImageSink* castitem);
66
67 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
68
69 public:
70
71 XImageSink(XImageSink&& src) noexcept;
72 XImageSink& operator=(XImageSink&& src) noexcept;
73
74 ~XImageSink() noexcept override;
75
76 /** Get the GType for this class, for use with the underlying GObject type system.
77 */
78 static GType get_type() G_GNUC_CONST;
79
80 #ifndef DOXYGEN_SHOULD_SKIP_THIS
81
82
83 static GType get_base_type() G_GNUC_CONST;
84 #endif
85
86 ///Provides access to the underlying C GObject.
87 GstXImageSink* gobj() { return reinterpret_cast<GstXImageSink*>(gobject_); }
88
89 ///Provides access to the underlying C GObject.
90 const GstXImageSink* gobj() const { return reinterpret_cast<GstXImageSink*>(gobject_); }
91
92 ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
93 GstXImageSink* gobj_copy();
94
95 private:
96
97
98 protected:
99 XImageSink();
100 explicit XImageSink(const Glib::ustring& name);
101
102 public:
103 /** Creates a new ximagesink plugin with a unique name.
104 */
105
106 static Glib::RefPtr<XImageSink> create();
107
108
109 /** Creates a new ximagesink plugin with the given name.
110 */
111
112 static Glib::RefPtr<XImageSink> create(const Glib::ustring& name);
113
114
115 /** X Display name.
116 *
117 * @return A PropertyProxy that allows you to get or set the value of the property,
118 * or receive notification when the value of the property changes.
119 */
120 Glib::PropertyProxy< Glib::ustring > property_display() ;
121
122 /** X Display name.
123 *
124 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
125 * or receive notification when the value of the property changes.
126 */
127 Glib::PropertyProxy_ReadOnly< Glib::ustring > property_display() const;
128
129 /** When enabled, runs the X display in synchronous mode. (unrelated to A/V sync, used only for debugging).
130 *
131 * @return A PropertyProxy that allows you to get or set the value of the property,
132 * or receive notification when the value of the property changes.
133 */
134 Glib::PropertyProxy< bool > property_synchronous() ;
135
136 /** When enabled, runs the X display in synchronous mode. (unrelated to A/V sync, used only for debugging).
137 *
138 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
139 * or receive notification when the value of the property changes.
140 */
141 Glib::PropertyProxy_ReadOnly< bool > property_synchronous() const;
142
143 /** The pixel aspect ratio of the device.
144 *
145 * @return A PropertyProxy that allows you to get or set the value of the property,
146 * or receive notification when the value of the property changes.
147 */
148 Glib::PropertyProxy< Glib::ustring > property_pixel_aspect_ratio() ;
149
150 /** The pixel aspect ratio of the device.
151 *
152 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
153 * or receive notification when the value of the property changes.
154 */
155 Glib::PropertyProxy_ReadOnly< Glib::ustring > property_pixel_aspect_ratio() const;
156
157 /** When enabled, reverse caps negotiation (scaling) will respect original aspect ratio.
158 *
159 * @return A PropertyProxy that allows you to get or set the value of the property,
160 * or receive notification when the value of the property changes.
161 */
162 Glib::PropertyProxy< bool > property_force_aspect_ratio() ;
163
164 /** When enabled, reverse caps negotiation (scaling) will respect original aspect ratio.
165 *
166 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
167 * or receive notification when the value of the property changes.
168 */
169 Glib::PropertyProxy_ReadOnly< bool > property_force_aspect_ratio() const;
170
171 /** When enabled, XEvents will be selected and handled.
172 *
173 * @return A PropertyProxy that allows you to get or set the value of the property,
174 * or receive notification when the value of the property changes.
175 */
176 Glib::PropertyProxy< bool > property_handle_events() ;
177
178 /** When enabled, XEvents will be selected and handled.
179 *
180 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
181 * or receive notification when the value of the property changes.
182 */
183 Glib::PropertyProxy_ReadOnly< bool > property_handle_events() const;
184
185 /** When enabled, the current frame will always be drawn in response to X Expose events.
186 *
187 * @return A PropertyProxy that allows you to get or set the value of the property,
188 * or receive notification when the value of the property changes.
189 */
190 Glib::PropertyProxy< bool > property_handle_expose() ;
191
192 /** When enabled, the current frame will always be drawn in response to X Expose events.
193 *
194 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
195 * or receive notification when the value of the property changes.
196 */
197 Glib::PropertyProxy_ReadOnly< bool > property_handle_expose() const;
198
199 /** Width of the window.
200 *
201 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
202 * or receive notification when the value of the property changes.
203 */
204 Glib::PropertyProxy_ReadOnly< guint64 > property_window_width() const;
205
206
207 /** Height of the window.
208 *
209 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
210 * or receive notification when the value of the property changes.
211 */
212 Glib::PropertyProxy_ReadOnly< guint64 > property_window_height() const;
213
214
215 public:
216
217 public:
218 //C++ methods used to invoke GTK+ virtual functions:
219
220 protected:
221 //GTK+ Virtual Functions (override these to change behaviour):
222
223 //Default Signal Handlers::
224
225
226 };
227
228 } // namespace Gst
229
230
231 namespace Glib
232 {
233 /** A Glib::wrap() method for this object.
234 *
235 * @param object The C instance.
236 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
237 * @result A C++ instance that wraps this C instance.
238 *
239 * @relates Gst::XImageSink
240 */
241 Glib::RefPtr<Gst::XImageSink> wrap(GstXImageSink* object, bool take_copy = false);
242 }
243
244
245 #endif // GSTREAMERMM_DISABLE_DEPRECATED
246
247
248 #endif /* _GSTREAMERMM_XIMAGESINK_H */
249