Debian Codegraph @

gstreamer/gstreamermm/capsfilter.h

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!
2 #ifndef _GSTREAMERMM_CAPSFILTER_H
3 #define _GSTREAMERMM_CAPSFILTER_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/basetransform.h>
17 #include <gstreamermm/caps.h>
18
19
20 #ifndef DOXYGEN_SHOULD_SKIP_THIS
21 using GstCapsFilter = struct _GstCapsFilter;
22 using GstCapsFilterClass = struct _GstCapsFilterClass;
23 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
24
25
26 #ifndef DOXYGEN_SHOULD_SKIP_THIS
27 namespace Gst
28 { class CapsFilter_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 CapsFilterCapsChangeMode
41 {
42 CAPS_FILTER_CAPS_CHANGE_MODE_IMMEDIATE,
43 CAPS_FILTER_CAPS_CHANGE_MODE_DELAYED
44 };
45
46 } // namespace Gst
47
48 #ifndef DOXYGEN_SHOULD_SKIP_THIS
49 namespace Glib
50 {
51
52 template <>
53 class Value<Gst::CapsFilterCapsChangeMode> : public Glib::Value_Enum<Gst::CapsFilterCapsChangeMode>
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 capsfilter 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 CapsFilter
76 : public Gst::BaseTransform
77 {
78
79 #ifndef DOXYGEN_SHOULD_SKIP_THIS
80
81 public:
82 using CppObjectType = CapsFilter;
83 using CppClassType = CapsFilter_Class;
84 using BaseObjectType = GstCapsFilter;
85 using BaseClassType = GstCapsFilterClass;
86
87 // noncopyable
88 CapsFilter(const CapsFilter&) = delete;
89 CapsFilter& operator=(const CapsFilter&) = delete;
90
91 private: friend class CapsFilter_Class;
92 static CppClassType capsfilter_class_;
93
94 protected:
95 explicit CapsFilter(const Glib::ConstructParams& construct_params);
96 explicit CapsFilter(GstCapsFilter* castitem);
97
98 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
99
100 public:
101
102 CapsFilter(CapsFilter&& src) noexcept;
103 CapsFilter& operator=(CapsFilter&& src) noexcept;
104
105 ~CapsFilter() 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 GstCapsFilter* gobj() { return reinterpret_cast<GstCapsFilter*>(gobject_); }
119
120 ///Provides access to the underlying C GObject.
121 const GstCapsFilter* gobj() const { return reinterpret_cast<GstCapsFilter*>(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 GstCapsFilter* gobj_copy();
125
126 private:
127
128
129 protected:
130 CapsFilter();
131 explicit CapsFilter(const Glib::ustring& name);
132
133 public:
134 /** Creates a new capsfilter plugin with a unique name.
135 */
136
137 static Glib::RefPtr<CapsFilter> create();
138
139
140 /** Creates a new capsfilter plugin with the given name.
141 */
142
143 static Glib::RefPtr<CapsFilter> create(const Glib::ustring& name);
144
145
146 /** Restrict the possible allowed capabilities (NULL means ANY). Setting this property takes a reference to the supplied GstCaps object.
147 *
148 * @return A PropertyProxy that allows you to get or set the value of the property,
149 * or receive notification when the value of the property changes.
150 */
151 Glib::PropertyProxy< Glib::RefPtr<Gst::Caps> > property_caps() ;
152
153 /** Restrict the possible allowed capabilities (NULL means ANY). Setting this property takes a reference to the supplied GstCaps object.
154 *
155 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
156 * or receive notification when the value of the property changes.
157 */
158 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Caps> > property_caps() const;
159
160 /** Filter caps change behaviour.
161 *
162 * @return A PropertyProxy that allows you to get or set the value of the property,
163 * or receive notification when the value of the property changes.
164 */
165 Glib::PropertyProxy< Gst::CapsFilterCapsChangeMode > property_caps_change_mode() ;
166
167 /** Filter caps change behaviour.
168 *
169 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
170 * or receive notification when the value of the property changes.
171 */
172 Glib::PropertyProxy_ReadOnly< Gst::CapsFilterCapsChangeMode > property_caps_change_mode() const;
173
174
175 public:
176
177 public:
178 //C++ methods used to invoke GTK+ virtual functions:
179
180 protected:
181 //GTK+ Virtual Functions (override these to change behaviour):
182
183 //Default Signal Handlers::
184
185
186 };
187
188 } // namespace Gst
189
190
191 namespace Glib
192 {
193 /** A Glib::wrap() method for this object.
194 *
195 * @param object The C instance.
196 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
197 * @result A C++ instance that wraps this C instance.
198 *
199 * @relates Gst::CapsFilter
200 */
201 Glib::RefPtr<Gst::CapsFilter> wrap(GstCapsFilter* object, bool take_copy = false);
202 }
203
204
205 #endif // GSTREAMERMM_DISABLE_DEPRECATED
206
207
208 #endif /* _GSTREAMERMM_CAPSFILTER_H */
209