Debian Codegraph @

gstreamer/gstreamermm/fakesink.h

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!
2 #ifndef _GSTREAMERMM_FAKESINK_H
3 #define _GSTREAMERMM_FAKESINK_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/basesink.h>
17 #include <gstreamermm/buffer.h>
18 #include <gstreamermm/pad.h>
19
20
21 #ifndef DOXYGEN_SHOULD_SKIP_THIS
22 using GstFakeSink = struct _GstFakeSink;
23 using GstFakeSinkClass = struct _GstFakeSinkClass;
24 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
25
26
27 #ifndef DOXYGEN_SHOULD_SKIP_THIS
28 namespace Gst
29 { class FakeSink_Class; } // namespace Gst
30 #endif //DOXYGEN_SHOULD_SKIP_THIS
31
32 namespace Gst
33 {
34
35 /** @addtogroup gstreamermmEnums gstreamermm Enums and Flags */
36
37 /**
38 *
39 * @ingroup gstreamermmEnums
40 */
41 enum FakeSinkStateError
42 {
43 SINK_STATE_ERROR_NONE,
44 SINK_STATE_ERROR_NULL_READY,
45 SINK_STATE_ERROR_READY_PAUSED,
46 SINK_STATE_ERROR_PAUSED_PLAYING,
47 SINK_STATE_ERROR_PLAYING_PAUSED,
48 SINK_STATE_ERROR_PAUSED_READY,
49 SINK_STATE_ERROR_READY_NULL
50 };
51
52 } // namespace Gst
53
54 #ifndef DOXYGEN_SHOULD_SKIP_THIS
55 namespace Glib
56 {
57
58 template <>
59 class Value<Gst::FakeSinkStateError> : public Glib::Value_Enum<Gst::FakeSinkStateError>
60 {
61 public:
62 static GType value_type() G_GNUC_CONST;
63 };
64
65 } // namespace Glib
66 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
67
68 namespace Gst
69 {
70
71
72 /** A Wrapper for the fakesink plugin.
73 * Please note that not all plug-ins are available on all systems so care
74 * must be taken that they exist before they are used otherwise there will
75 * be errors and possibly a crash.
76 *
77 * @ingroup GstPlugins
78 * @deprecated Plugins API is deprecated, and should not be used in a new code.
79 */
80
81 class FakeSink
82 : public Gst::BaseSink
83 {
84
85 #ifndef DOXYGEN_SHOULD_SKIP_THIS
86
87 public:
88 using CppObjectType = FakeSink;
89 using CppClassType = FakeSink_Class;
90 using BaseObjectType = GstFakeSink;
91 using BaseClassType = GstFakeSinkClass;
92
93 // noncopyable
94 FakeSink(const FakeSink&) = delete;
95 FakeSink& operator=(const FakeSink&) = delete;
96
97 private: friend class FakeSink_Class;
98 static CppClassType fakesink_class_;
99
100 protected:
101 explicit FakeSink(const Glib::ConstructParams& construct_params);
102 explicit FakeSink(GstFakeSink* castitem);
103
104 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
105
106 public:
107
108 FakeSink(FakeSink&& src) noexcept;
109 FakeSink& operator=(FakeSink&& src) noexcept;
110
111 ~FakeSink() noexcept override;
112
113 /** Get the GType for this class, for use with the underlying GObject type system.
114 */
115 static GType get_type() G_GNUC_CONST;
116
117 #ifndef DOXYGEN_SHOULD_SKIP_THIS
118
119
120 static GType get_base_type() G_GNUC_CONST;
121 #endif
122
123 ///Provides access to the underlying C GObject.
124 GstFakeSink* gobj() { return reinterpret_cast<GstFakeSink*>(gobject_); }
125
126 ///Provides access to the underlying C GObject.
127 const GstFakeSink* gobj() const { return reinterpret_cast<GstFakeSink*>(gobject_); }
128
129 ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
130 GstFakeSink* gobj_copy();
131
132 private:
133
134
135 protected:
136 FakeSink();
137 explicit FakeSink(const Glib::ustring& name);
138
139 public:
140 /** Creates a new fakesink plugin with a unique name.
141 */
142
143 static Glib::RefPtr<FakeSink> create();
144
145
146 /** Creates a new fakesink plugin with the given name.
147 */
148
149 static Glib::RefPtr<FakeSink> create(const Glib::ustring& name);
150
151
152 /** Generate a state change error.
153 *
154 * @return A PropertyProxy that allows you to get or set the value of the property,
155 * or receive notification when the value of the property changes.
156 */
157 Glib::PropertyProxy< Gst::FakeSinkStateError > property_state_error() ;
158
159 /** Generate a state change error.
160 *
161 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
162 * or receive notification when the value of the property changes.
163 */
164 Glib::PropertyProxy_ReadOnly< Gst::FakeSinkStateError > property_state_error() const;
165
166 /** Don't produce last_message events.
167 *
168 * @return A PropertyProxy that allows you to get or set the value of the property,
169 * or receive notification when the value of the property changes.
170 */
171 Glib::PropertyProxy< bool > property_silent() ;
172
173 /** Don't produce last_message events.
174 *
175 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
176 * or receive notification when the value of the property changes.
177 */
178 Glib::PropertyProxy_ReadOnly< bool > property_silent() const;
179
180 /** Dump buffer contents to stdout.
181 *
182 * @return A PropertyProxy that allows you to get or set the value of the property,
183 * or receive notification when the value of the property changes.
184 */
185 Glib::PropertyProxy< bool > property_dump() ;
186
187 /** Dump buffer contents to stdout.
188 *
189 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
190 * or receive notification when the value of the property changes.
191 */
192 Glib::PropertyProxy_ReadOnly< bool > property_dump() const;
193
194 /** Send a signal before unreffing the buffer.
195 *
196 * @return A PropertyProxy that allows you to get or set the value of the property,
197 * or receive notification when the value of the property changes.
198 */
199 Glib::PropertyProxy< bool > property_signal_handoffs() ;
200
201 /** Send a signal before unreffing the buffer.
202 *
203 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
204 * or receive notification when the value of the property changes.
205 */
206 Glib::PropertyProxy_ReadOnly< bool > property_signal_handoffs() const;
207
208 /** The message describing current status.
209 *
210 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
211 * or receive notification when the value of the property changes.
212 */
213 Glib::PropertyProxy_ReadOnly< Glib::ustring > property_last_message() const;
214
215
216 /** Can activate in push mode.
217 *
218 * @return A PropertyProxy that allows you to get or set the value of the property,
219 * or receive notification when the value of the property changes.
220 */
221 Glib::PropertyProxy< bool > property_can_activate_push() ;
222
223 /** Can activate in push mode.
224 *
225 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
226 * or receive notification when the value of the property changes.
227 */
228 Glib::PropertyProxy_ReadOnly< bool > property_can_activate_push() const;
229
230 /** Can activate in pull mode.
231 *
232 * @return A PropertyProxy that allows you to get or set the value of the property,
233 * or receive notification when the value of the property changes.
234 */
235 Glib::PropertyProxy< bool > property_can_activate_pull() ;
236
237 /** Can activate in pull mode.
238 *
239 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
240 * or receive notification when the value of the property changes.
241 */
242 Glib::PropertyProxy_ReadOnly< bool > property_can_activate_pull() const;
243
244 /** Number of buffers to accept going EOS.
245 *
246 * @return A PropertyProxy that allows you to get or set the value of the property,
247 * or receive notification when the value of the property changes.
248 */
249 Glib::PropertyProxy< int > property_num_buffers() ;
250
251 /** Number of buffers to accept going EOS.
252 *
253 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
254 * or receive notification when the value of the property changes.
255 */
256 Glib::PropertyProxy_ReadOnly< int > property_num_buffers() const;
257
258
259 /**
260 * @par Slot Prototype:
261 * <tt>void on_my_%handoff(const Glib::RefPtr<Gst::Buffer>& arg0, const Glib::RefPtr<Gst::Pad>& arg1)</tt>
262 *
263 */
264
265 Glib::SignalProxy< void,const Glib::RefPtr<Gst::Buffer>&,const Glib::RefPtr<Gst::Pad>& > signal_handoff();
266
267
268 /**
269 * @par Slot Prototype:
270 * <tt>void on_my_%preroll_handoff(const Glib::RefPtr<Gst::Buffer>& arg0, const Glib::RefPtr<Gst::Pad>& arg1)</tt>
271 *
272 */
273
274 Glib::SignalProxy< void,const Glib::RefPtr<Gst::Buffer>&,const Glib::RefPtr<Gst::Pad>& > signal_preroll_handoff();
275
276
277 public:
278
279 public:
280 //C++ methods used to invoke GTK+ virtual functions:
281
282 protected:
283 //GTK+ Virtual Functions (override these to change behaviour):
284
285 //Default Signal Handlers::
286
287
288 };
289
290 } // namespace Gst
291
292
293 namespace Glib
294 {
295 /** A Glib::wrap() method for this object.
296 *
297 * @param object The C instance.
298 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
299 * @result A C++ instance that wraps this C instance.
300 *
301 * @relates Gst::FakeSink
302 */
303 Glib::RefPtr<Gst::FakeSink> wrap(GstFakeSink* object, bool take_copy = false);
304 }
305
306
307 #endif // GSTREAMERMM_DISABLE_DEPRECATED
308
309
310 #endif /* _GSTREAMERMM_FAKESINK_H */
311