Debian Codegraph @

gstreamer/gstreamermm/adder.h

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!
2 #ifndef _GSTREAMERMM_ADDER_H
3 #define _GSTREAMERMM_ADDER_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/caps.h>
18 #include <gstreamermm/childproxy.h>
19
20
21 #ifndef DOXYGEN_SHOULD_SKIP_THIS
22 using GstAdder = struct _GstAdder;
23 using GstAdderClass = struct _GstAdderClass;
24 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
25
26
27 #ifndef DOXYGEN_SHOULD_SKIP_THIS
28 namespace Gst
29 { class Adder_Class; } // namespace Gst
30 #endif //DOXYGEN_SHOULD_SKIP_THIS
31
32 namespace Gst
33 {
34
35 /** A Wrapper for the adder plugin.
36 * Please note that not all plug-ins are available on all systems so care
37 * must be taken that they exist before they are used otherwise there will
38 * be errors and possibly a crash.
39 *
40 * @ingroup GstPlugins
41 * @deprecated Plugins API is deprecated, and should not be used in a new code.
42 */
43
44 class Adder
45 : public Gst::Element, public Gst::ChildProxy
46 {
47
48 #ifndef DOXYGEN_SHOULD_SKIP_THIS
49
50 public:
51 using CppObjectType = Adder;
52 using CppClassType = Adder_Class;
53 using BaseObjectType = GstAdder;
54 using BaseClassType = GstAdderClass;
55
56 // noncopyable
57 Adder(const Adder&) = delete;
58 Adder& operator=(const Adder&) = delete;
59
60 private: friend class Adder_Class;
61 static CppClassType adder_class_;
62
63 protected:
64 explicit Adder(const Glib::ConstructParams& construct_params);
65 explicit Adder(GstAdder* castitem);
66
67 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
68
69 public:
70
71 Adder(Adder&& src) noexcept;
72 Adder& operator=(Adder&& src) noexcept;
73
74 ~Adder() noexcept override;
75
76 /** Get the GType for this class, for use with the underlying GObject type system.
77 */
78 static GType get_type() G_GNUC_CONST;
79
80 #ifndef DOXYGEN_SHOULD_SKIP_THIS
81
82
83 static GType get_base_type() G_GNUC_CONST;
84 #endif
85
86 ///Provides access to the underlying C GObject.
87 GstAdder* gobj() { return reinterpret_cast<GstAdder*>(gobject_); }
88
89 ///Provides access to the underlying C GObject.
90 const GstAdder* gobj() const { return reinterpret_cast<GstAdder*>(gobject_); }
91
92 ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
93 GstAdder* gobj_copy();
94
95 private:
96
97
98 protected:
99 Adder();
100 explicit Adder(const Glib::ustring& name);
101
102 public:
103 /** Creates a new adder plugin with a unique name.
104 */
105
106 static Glib::RefPtr<Adder> create();
107
108
109 /** Creates a new adder plugin with the given name.
110 */
111
112 static Glib::RefPtr<Adder> create(const Glib::ustring& name);
113
114
115 /** Set target format for mixing (NULL means ANY). Setting this property takes a reference to the supplied GstCaps object.
116 *
117 * @return A PropertyProxy that allows you to get or set the value of the property,
118 * or receive notification when the value of the property changes.
119 */
120 Glib::PropertyProxy< Glib::RefPtr<Gst::Caps> > property_caps() ;
121
122 /** Set target format for mixing (NULL means ANY). Setting this property takes a reference to the supplied GstCaps object.
123 *
124 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
125 * or receive notification when the value of the property changes.
126 */
127 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Caps> > property_caps() const;
128
129
130 public:
131
132 public:
133 //C++ methods used to invoke GTK+ virtual functions:
134
135 protected:
136 //GTK+ Virtual Functions (override these to change behaviour):
137
138 //Default Signal Handlers::
139
140
141 };
142
143 } // namespace Gst
144
145
146 namespace Glib
147 {
148 /** A Glib::wrap() method for this object.
149 *
150 * @param object The C instance.
151 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
152 * @result A C++ instance that wraps this C instance.
153 *
154 * @relates Gst::Adder
155 */
156 Glib::RefPtr<Gst::Adder> wrap(GstAdder* object, bool take_copy = false);
157 }
158
159
160 #endif // GSTREAMERMM_DISABLE_DEPRECATED
161
162
163 #endif /* _GSTREAMERMM_ADDER_H */
164