Debian Codegraph @

gstreamer/gstreamermm/inputselector.h

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!
2 #ifndef _GSTREAMERMM_INPUTSELECTOR_H
3 #define _GSTREAMERMM_INPUTSELECTOR_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 GstInputSelector = struct _GstInputSelector;
22 using GstInputSelectorClass = struct _GstInputSelectorClass;
23 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
24
25
26 #ifndef DOXYGEN_SHOULD_SKIP_THIS
27 namespace Gst
28 { class InputSelector_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 InputSelectorSyncMode
41 {
42 INPUT_SELECTOR_SYNC_MODE_ACTIVE_SEGMENT,
43 INPUT_SELECTOR_SYNC_MODE_CLOCK
44 };
45
46 } // namespace Gst
47
48 #ifndef DOXYGEN_SHOULD_SKIP_THIS
49 namespace Glib
50 {
51
52 template <>
53 class Value<Gst::InputSelectorSyncMode> : public Glib::Value_Enum<Gst::InputSelectorSyncMode>
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 input-selector 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 InputSelector
76 : public Gst::Element
77 {
78
79 #ifndef DOXYGEN_SHOULD_SKIP_THIS
80
81 public:
82 using CppObjectType = InputSelector;
83 using CppClassType = InputSelector_Class;
84 using BaseObjectType = GstInputSelector;
85 using BaseClassType = GstInputSelectorClass;
86
87 // noncopyable
88 InputSelector(const InputSelector&) = delete;
89 InputSelector& operator=(const InputSelector&) = delete;
90
91 private: friend class InputSelector_Class;
92 static CppClassType inputselector_class_;
93
94 protected:
95 explicit InputSelector(const Glib::ConstructParams& construct_params);
96 explicit InputSelector(GstInputSelector* castitem);
97
98 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
99
100 public:
101
102 InputSelector(InputSelector&& src) noexcept;
103 InputSelector& operator=(InputSelector&& src) noexcept;
104
105 ~InputSelector() 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 GstInputSelector* gobj() { return reinterpret_cast<GstInputSelector*>(gobject_); }
119
120 ///Provides access to the underlying C GObject.
121 const GstInputSelector* gobj() const { return reinterpret_cast<GstInputSelector*>(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 GstInputSelector* gobj_copy();
125
126 private:
127
128
129 protected:
130 InputSelector();
131 explicit InputSelector(const Glib::ustring& name);
132
133 public:
134 /** Creates a new input-selector plugin with a unique name.
135 */
136
137 static Glib::RefPtr<InputSelector> create();
138
139
140 /** Creates a new input-selector plugin with the given name.
141 */
142
143 static Glib::RefPtr<InputSelector> create(const Glib::ustring& name);
144
145
146 /** The number of sink 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< guint > property_n_pads() const;
152
153
154 /** The currently active sink pad.
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< Glib::RefPtr<Gst::Pad> > property_active_pad() ;
160
161 /** The currently active sink pad.
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< Glib::RefPtr<Gst::Pad> > property_active_pad() const;
167
168 /** Synchronize inactive streams to the running time of the active stream or to the current clock.
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_sync_streams() ;
174
175 /** Synchronize inactive streams to the running time of the active stream or to the current clock.
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_sync_streams() const;
181
182 /** Behavior in sync-streams mode.
183 *
184 * @return A PropertyProxy that allows you to get or set the value of the property,
185 * or receive notification when the value of the property changes.
186 */
187 Glib::PropertyProxy< Gst::InputSelectorSyncMode > property_sync_mode() ;
188
189 /** Behavior in sync-streams mode.
190 *
191 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
192 * or receive notification when the value of the property changes.
193 */
194 Glib::PropertyProxy_ReadOnly< Gst::InputSelectorSyncMode > property_sync_mode() const;
195
196 /** Cache buffers for active-pad.
197 *
198 * @return A PropertyProxy that allows you to get or set the value of the property,
199 * or receive notification when the value of the property changes.
200 */
201 Glib::PropertyProxy< bool > property_cache_buffers() ;
202
203 /** Cache buffers for active-pad.
204 *
205 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
206 * or receive notification when the value of the property changes.
207 */
208 Glib::PropertyProxy_ReadOnly< bool > property_cache_buffers() const;
209
210
211 public:
212
213 public:
214 //C++ methods used to invoke GTK+ virtual functions:
215
216 protected:
217 //GTK+ Virtual Functions (override these to change behaviour):
218
219 //Default Signal Handlers::
220
221
222 };
223
224 } // namespace Gst
225
226
227 namespace Glib
228 {
229 /** A Glib::wrap() method for this object.
230 *
231 * @param object The C instance.
232 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
233 * @result A C++ instance that wraps this C instance.
234 *
235 * @relates Gst::InputSelector
236 */
237 Glib::RefPtr<Gst::InputSelector> wrap(GstInputSelector* object, bool take_copy = false);
238 }
239
240
241 #endif // GSTREAMERMM_DISABLE_DEPRECATED
242
243
244 #endif /* _GSTREAMERMM_INPUTSELECTOR_H */
245