Debian Codegraph @

gstreamer/gstreamermm/volume.h

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