Debian Codegraph @

gstreamer/gstreamermm/outputselector.h

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!
2 #ifndef _GSTREAMERMM_OUTPUTSELECTOR_H
3 #define _GSTREAMERMM_OUTPUTSELECTOR_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 GstOutputSelector = struct _GstOutputSelector;
22 using GstOutputSelectorClass = struct _GstOutputSelectorClass;
23 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
24
25
26 #ifndef DOXYGEN_SHOULD_SKIP_THIS
27 namespace Gst
28 { class OutputSelector_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 OutputSelectorPadNegotiationMode
41 {
42 OUTPUT_SELECTOR_PAD_NEGOTIATION_MODE_NONE,
43 OUTPUT_SELECTOR_PAD_NEGOTIATION_MODE_ALL,
44 OUTPUT_SELECTOR_PAD_NEGOTIATION_MODE_ACTIVE
45 };
46
47 } // namespace Gst
48
49 #ifndef DOXYGEN_SHOULD_SKIP_THIS
50 namespace Glib
51 {
52
53 template <>
54 class Value<Gst::OutputSelectorPadNegotiationMode> : public Glib::Value_Enum<Gst::OutputSelectorPadNegotiationMode>
55 {
56 public:
57 static GType value_type() G_GNUC_CONST;
58 };
59
60 } // namespace Glib
61 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
62
63 namespace Gst
64 {
65
66
67 /** A Wrapper for the output-selector plugin.
68 * Please note that not all plug-ins are available on all systems so care
69 * must be taken that they exist before they are used otherwise there will
70 * be errors and possibly a crash.
71 *
72 * @ingroup GstPlugins
73 * @deprecated Plugins API is deprecated, and should not be used in a new code.
74 */
75
76 class OutputSelector
77 : public Gst::Element
78 {
79
80 #ifndef DOXYGEN_SHOULD_SKIP_THIS
81
82 public:
83 using CppObjectType = OutputSelector;
84 using CppClassType = OutputSelector_Class;
85 using BaseObjectType = GstOutputSelector;
86 using BaseClassType = GstOutputSelectorClass;
87
88 // noncopyable
89 OutputSelector(const OutputSelector&) = delete;
90 OutputSelector& operator=(const OutputSelector&) = delete;
91
92 private: friend class OutputSelector_Class;
93 static CppClassType outputselector_class_;
94
95 protected:
96 explicit OutputSelector(const Glib::ConstructParams& construct_params);
97 explicit OutputSelector(GstOutputSelector* castitem);
98
99 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
100
101 public:
102
103 OutputSelector(OutputSelector&& src) noexcept;
104 OutputSelector& operator=(OutputSelector&& src) noexcept;
105
106 ~OutputSelector() noexcept override;
107
108 /** Get the GType for this class, for use with the underlying GObject type system.
109 */
110 static GType get_type() G_GNUC_CONST;
111
112 #ifndef DOXYGEN_SHOULD_SKIP_THIS
113
114
115 static GType get_base_type() G_GNUC_CONST;
116 #endif
117
118 ///Provides access to the underlying C GObject.
119 GstOutputSelector* gobj() { return reinterpret_cast<GstOutputSelector*>(gobject_); }
120
121 ///Provides access to the underlying C GObject.
122 const GstOutputSelector* gobj() const { return reinterpret_cast<GstOutputSelector*>(gobject_); }
123
124 ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
125 GstOutputSelector* gobj_copy();
126
127 private:
128
129
130 protected:
131 OutputSelector();
132 explicit OutputSelector(const Glib::ustring& name);
133
134 public:
135 /** Creates a new output-selector plugin with a unique name.
136 */
137
138 static Glib::RefPtr<OutputSelector> create();
139
140
141 /** Creates a new output-selector plugin with the given name.
142 */
143
144 static Glib::RefPtr<OutputSelector> create(const Glib::ustring& name);
145
146
147 /** Currently active src pad.
148 *
149 * @return A PropertyProxy that allows you to get or set the value of the property,
150 * or receive notification when the value of the property changes.
151 */
152 Glib::PropertyProxy< Glib::RefPtr<Gst::Pad> > property_active_pad() ;
153
154 /** Currently active src pad.
155 *
156 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
157 * or receive notification when the value of the property changes.
158 */
159 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Pad> > property_active_pad() const;
160
161 /** Resend latest buffer after a switch to a new pad.
162 *
163 * @return A PropertyProxy that allows you to get or set the value of the property,
164 * or receive notification when the value of the property changes.
165 */
166 Glib::PropertyProxy< bool > property_resend_latest() ;
167
168 /** Resend latest buffer after a switch to a new pad.
169 *
170 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
171 * or receive notification when the value of the property changes.
172 */
173 Glib::PropertyProxy_ReadOnly< bool > property_resend_latest() const;
174
175 /** The mode to be used for pad negotiation.
176 *
177 * @return A PropertyProxy that allows you to get or set the value of the property,
178 * or receive notification when the value of the property changes.
179 */
180 Glib::PropertyProxy< Gst::OutputSelectorPadNegotiationMode > property_pad_negotiation_mode() ;
181
182 /** The mode to be used for pad negotiation.
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< Gst::OutputSelectorPadNegotiationMode > property_pad_negotiation_mode() const;
188
189
190 public:
191
192 public:
193 //C++ methods used to invoke GTK+ virtual functions:
194
195 protected:
196 //GTK+ Virtual Functions (override these to change behaviour):
197
198 //Default Signal Handlers::
199
200
201 };
202
203 } // namespace Gst
204
205
206 namespace Glib
207 {
208 /** A Glib::wrap() method for this object.
209 *
210 * @param object The C instance.
211 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
212 * @result A C++ instance that wraps this C instance.
213 *
214 * @relates Gst::OutputSelector
215 */
216 Glib::RefPtr<Gst::OutputSelector> wrap(GstOutputSelector* object, bool take_copy = false);
217 }
218
219
220 #endif // GSTREAMERMM_DISABLE_DEPRECATED
221
222
223 #endif /* _GSTREAMERMM_OUTPUTSELECTOR_H */
224