Debian Codegraph @

gstreamer/gstreamermm/tee.h

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!
2 #ifndef _GSTREAMERMM_TEE_H
3 #define _GSTREAMERMM_TEE_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/element.h>
17 #include <gstreamermm/pad.h>
18
19
20 #ifndef DOXYGEN_SHOULD_SKIP_THIS
21 using GstTee = struct _GstTee;
22 using GstTeeClass = struct _GstTeeClass;
23 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
24
25
26 #ifndef DOXYGEN_SHOULD_SKIP_THIS
27 namespace Gst
28 { class Tee_Class; } // namespace Gst
29 #endif //DOXYGEN_SHOULD_SKIP_THIS
30
31 namespace Gst
32 {
33
34 /** @addtogroup gstreamermmEnums gstreamermm Enums and Flags */
35
36 /**
37 *
38 * @ingroup gstreamermmEnums
39 */
40 enum TeePullMode
41 {
42 TEE_PULL_MODE_NEVER,
43 TEE_PULL_MODE_SINGLE
44 };
45
46 } // namespace Gst
47
48 #ifndef DOXYGEN_SHOULD_SKIP_THIS
49 namespace Glib
50 {
51
52 template <>
53 class Value<Gst::TeePullMode> : public Glib::Value_Enum<Gst::TeePullMode>
54 {
55 public:
56 static GType value_type() G_GNUC_CONST;
57 };
58
59 } // namespace Glib
60 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
61
62 namespace Gst
63 {
64
65
66 /** A Wrapper for the tee plugin.
67 * Please note that not all plug-ins are available on all systems so care
68 * must be taken that they exist before they are used otherwise there will
69 * be errors and possibly a crash.
70 *
71 * @ingroup GstPlugins
72 * @deprecated Plugins API is deprecated, and should not be used in a new code.
73 */
74
75 class Tee
76 : public Gst::Element
77 {
78
79 #ifndef DOXYGEN_SHOULD_SKIP_THIS
80
81 public:
82 using CppObjectType = Tee;
83 using CppClassType = Tee_Class;
84 using BaseObjectType = GstTee;
85 using BaseClassType = GstTeeClass;
86
87 // noncopyable
88 Tee(const Tee&) = delete;
89 Tee& operator=(const Tee&) = delete;
90
91 private: friend class Tee_Class;
92 static CppClassType tee_class_;
93
94 protected:
95 explicit Tee(const Glib::ConstructParams& construct_params);
96 explicit Tee(GstTee* castitem);
97
98 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
99
100 public:
101
102 Tee(Tee&& src) noexcept;
103 Tee& operator=(Tee&& src) noexcept;
104
105 ~Tee() noexcept override;
106
107 /** Get the GType for this class, for use with the underlying GObject type system.
108 */
109 static GType get_type() G_GNUC_CONST;
110
111 #ifndef DOXYGEN_SHOULD_SKIP_THIS
112
113
114 static GType get_base_type() G_GNUC_CONST;
115 #endif
116
117 ///Provides access to the underlying C GObject.
118 GstTee* gobj() { return reinterpret_cast<GstTee*>(gobject_); }
119
120 ///Provides access to the underlying C GObject.
121 const GstTee* gobj() const { return reinterpret_cast<GstTee*>(gobject_); }
122
123 ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
124 GstTee* gobj_copy();
125
126 private:
127
128
129 protected:
130 Tee();
131 explicit Tee(const Glib::ustring& name);
132
133 public:
134 /** Creates a new tee plugin with a unique name.
135 */
136
137 static Glib::RefPtr<Tee> create();
138
139
140 /** Creates a new tee plugin with the given name.
141 */
142
143 static Glib::RefPtr<Tee> create(const Glib::ustring& name);
144
145
146 /** The number of source pads.
147 *
148 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
149 * or receive notification when the value of the property changes.
150 */
151 Glib::PropertyProxy_ReadOnly< int > property_num_src_pads() const;
152
153
154 /** If the element can operate in push mode.
155 *
156 * @return A PropertyProxy that allows you to get or set the value of the property,
157 * or receive notification when the value of the property changes.
158 */
159 Glib::PropertyProxy< bool > property_has_chain() ;
160
161 /** If the element can operate in push mode.
162 *
163 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
164 * or receive notification when the value of the property changes.
165 */
166 Glib::PropertyProxy_ReadOnly< bool > property_has_chain() const;
167
168 /** Don't produce last_message events.
169 *
170 * @return A PropertyProxy that allows you to get or set the value of the property,
171 * or receive notification when the value of the property changes.
172 */
173 Glib::PropertyProxy< bool > property_silent() ;
174
175 /** Don't produce last_message events.
176 *
177 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
178 * or receive notification when the value of the property changes.
179 */
180 Glib::PropertyProxy_ReadOnly< bool > property_silent() const;
181
182 /** The message describing current status.
183 *
184 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
185 * or receive notification when the value of the property changes.
186 */
187 Glib::PropertyProxy_ReadOnly< Glib::ustring > property_last_message() const;
188
189
190 /** Behavior of tee in pull mode.
191 *
192 * @return A PropertyProxy that allows you to get or set the value of the property,
193 * or receive notification when the value of the property changes.
194 */
195 Glib::PropertyProxy< Gst::TeePullMode > property_pull_mode() ;
196
197 /** Behavior of tee in pull mode.
198 *
199 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
200 * or receive notification when the value of the property changes.
201 */
202 Glib::PropertyProxy_ReadOnly< Gst::TeePullMode > property_pull_mode() const;
203
204 /** The pad ALLOCATION queries will be proxied to (unused).
205 *
206 * @return A PropertyProxy that allows you to get or set the value of the property,
207 * or receive notification when the value of the property changes.
208 */
209 Glib::PropertyProxy< Glib::RefPtr<Gst::Pad> > property_alloc_pad() ;
210
211 /** The pad ALLOCATION queries will be proxied to (unused).
212 *
213 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
214 * or receive notification when the value of the property changes.
215 */
216 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Pad> > property_alloc_pad() const;
217
218 /** Return GST_FLOW_OK even if there are no source pads or they are all unlinked.
219 *
220 * @return A PropertyProxy that allows you to get or set the value of the property,
221 * or receive notification when the value of the property changes.
222 */
223 Glib::PropertyProxy< bool > property_allow_not_linked() ;
224
225 /** Return GST_FLOW_OK even if there are no source pads or they are all unlinked.
226 *
227 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
228 * or receive notification when the value of the property changes.
229 */
230 Glib::PropertyProxy_ReadOnly< bool > property_allow_not_linked() const;
231
232
233 public:
234
235 public:
236 //C++ methods used to invoke GTK+ virtual functions:
237
238 protected:
239 //GTK+ Virtual Functions (override these to change behaviour):
240
241 //Default Signal Handlers::
242
243
244 };
245
246 } // namespace Gst
247
248
249 namespace Glib
250 {
251 /** A Glib::wrap() method for this object.
252 *
253 * @param object The C instance.
254 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
255 * @result A C++ instance that wraps this C instance.
256 *
257 * @relates Gst::Tee
258 */
259 Glib::RefPtr<Gst::Tee> wrap(GstTee* object, bool take_copy = false);
260 }
261
262
263 #endif // GSTREAMERMM_DISABLE_DEPRECATED
264
265
266 #endif /* _GSTREAMERMM_TEE_H */
267