Debian Codegraph @

gstreamer/gstreamermm/colorbalance.h

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/colorbalance.h`/
2 #ifndef _GSTREAMERMM_COLORBALANCE_H
3 #define _GSTREAMERMM_COLORBALANCE_Hcxx . . $ `gstreamer/gstreamermm/colorbalance.h:3:9`!
4
5
6 #include <glibmm/ustring.h>
7 #include <sigc++/sigc++.h>
8
9 /* gstreamermm - a C++ wrapper for gstreamer
10 *
11 * Copyright 2008-2016 The gstreamermm Development Team
12 *
13 * This library is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU Lesser General Public
15 * License as published by the Free Software Foundation; either
16 * version 2.1 of the License, or (at your option) any later version.
17 *
18 * This library is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 * Lesser General Public License for more details.
22 *
23 * You should have received a copy of the GNU Lesser General Public
24 * License along with this library; if not, write to the Free
25 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
26 */
27
28 #include <gst/video/colorbalance.h>
29 #include <glibmm/interface.h>
30
31
32 #ifndef DOXYGEN_SHOULD_SKIP_THIS
33 using GstColorBalancecxx . . $ GstColorBalance# = struct _GstColorBalancecxx . . $ _GstColorBalance#;
34 using GstColorBalanceClasscxx . . $ GstColorBalanceClass# = struct _GstColorBalanceClasscxx . . $ _GstColorBalanceClass#;
35 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
36
37
38 #ifndef DOXYGEN_SHOULD_SKIP_THIS
39 namespace Gstcxx . . $ Gst/
40 { class ColorBalance_Classcxx . . $ Gst/ColorBalance_Class#; } // namespace Gst
41 #endif // DOXYGEN_SHOULD_SKIP_THIS
42
43 namespace Gstcxx . . $ Gst/
44 {
45
46 /** @addtogroup gstreamermmEnums gstreamermm Enums and Flags */
47
48 /**
49 * @var ColorBalanceType COLOR_BALANCE_HARDWARE
50 * Color balance is implemented with dedicated
51 * hardware.
52 *
53 * @var ColorBalanceType COLOR_BALANCE_SOFTWARE
54 * Color balance is implemented via software
55 * processing.
56 *
57 * @enum ColorBalanceType
58 *
59 * An enumeration indicating whether an element implements color balancing
60 * operations in software or in dedicated hardware. In general, dedicated
61 * hardware implementations (such as those provided by xvimagesink) are
62 * preferred.
63 *
64 * @ingroup gstreamermmEnums
65 */
66 enum ColorBalanceTypecxx . . $ Gst/ColorBalanceType#
67 {
68 COLOR_BALANCE_HARDWAREcxx . . $ Gst/COLOR_BALANCE_HARDWARE.,
69 COLOR_BALANCE_SOFTWAREcxx . . $ Gst/COLOR_BALANCE_SOFTWARE.
70 };
71
72
73 class ColorBalanceChannelcxx . . $ Gst/ColorBalanceChannel#;
74
75 /** An interface for adjusting color balance settings.
76 *
77 * This interface is implemented by elements which can perform some color balance
78 * operation on video frames they process. For example, modifying the brightness,
79 * contrast, hue or saturation.
80 *
81 * Example elements are 'xvimagesink' and 'colorbalance'.
82 *
83 * Last reviewed on 2016-05-16 (1.8.0)
84 *
85 * @ingroup GstInterfaces
86 */
87
88 class ColorBalancecxx . . $ Gst/ColorBalance# : public Glibcxx . . $ Glib/::Interfacecxx . . $ Glib/Interface#
89 {
90
91 #ifndef DOXYGEN_SHOULD_SKIP_THIS
92
93 public:
94 using CppObjectTypecxx . . $ Gst/ColorBalance#CppObjectType# = ColorBalancecxx . . $ Gst/ColorBalance#;
95 using CppClassTypecxx . . $ Gst/ColorBalance#CppClassType# = ColorBalance_Classcxx . . $ Gst/ColorBalance_Class#;
96 using BaseObjectTypecxx . . $ Gst/ColorBalance#BaseObjectType# = GstColorBalancecxx . . $ GstColorBalance#;
97 using BaseClassTypecxx . . $ Gst/ColorBalance#BaseClassType# = GstColorBalanceInterface;
98
99 // noncopyable
100 ColorBalancecxx . . $ Gst/ColorBalance#ColorBalance(45f5e8fbe0af1bb3).(const ColorBalancecxx . . $ Gst/ColorBalance#&) = delete;
101 ColorBalancecxx . . $ Gst/ColorBalance#& operatorcxx . . $ Gst/ColorBalance#`operator=`(c24ef47b0c054ae5).=(const ColorBalancecxx . . $ Gst/ColorBalance#&) = delete;
102
103 private:
104 friend class ColorBalance_Classcxx . . $ Gst/ColorBalance_Class#;
105 static CppClassTypecxx . . $ Gst/ColorBalance#CppClassType# colorbalance_class_cxx . . $ Gst/ColorBalance#colorbalance_class_.;
106
107 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
108 protected:
109 /**
110 * You should derive from this class to use it.
111 */
112 ColorBalancecxx . . $ Gst/ColorBalance#ColorBalance(49f6e7a06ebc5aa8).();
113
114 #ifndef DOXYGEN_SHOULD_SKIP_THIS
115 /** Called by constructors of derived classes. Provide the result of
116 * the Class init() function to ensure that it is properly
117 * initialized.
118 *
119 * @param interface_class The Class object for the derived type.
120 */
121 explicit ColorBalancecxx . . $ Gst/ColorBalance#ColorBalance(2ae54c1e3e0dc4a8).(const Glibcxx . . $ Glib/::Interface_Classcxx . . $ Glib/Interface_Class#& interface_class);
122
123 public:
124 // This is public so that C++ wrapper instances can be
125 // created for C instances of unwrapped types.
126 // For instance, if an unexpected C type implements the C interface.
127 explicit ColorBalancecxx . . $ Gst/ColorBalance#ColorBalance(3f01d7f4675063).(GstColorBalancecxx . . $ GstColorBalance#* castitem);
128
129 protected:
130 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
131
132 public:
133
134 ColorBalancecxx . . $ Gst/ColorBalance#ColorBalance(ffc2ca468bfb234c).(ColorBalancecxx . . $ Gst/ColorBalance#&& src) noexcept;
135 ColorBalancecxx . . $ Gst/ColorBalance#& operatorcxx . . $ Gst/ColorBalance#`operator=`(11898af2f5fbf688).=(ColorBalancecxx . . $ Gst/ColorBalance#&& src) noexcept;
136
137 ~cxx . . $ Gst/ColorBalance#`~ColorBalance`(ced63f7c635d850d).ColorBalancecxx . . $ Gst/ColorBalance#() noexcept override;
138
139 static void add_interfacecxx . . $ Gst/ColorBalance#add_interface(2c44cd906ae4e829).(GType gtype_implementer);
140
141 /** Get the GType for this class, for use with the underlying GObject type system.
142 */
143 static GType get_typecxx . . $ Gst/ColorBalance#get_type(f708dce9a8856c70).() G_GNUC_CONSTcxx . . $ `gstreamer/gstreamermm/wrap_init.cc:9:9`!;
144
145 #ifndef DOXYGEN_SHOULD_SKIP_THIS
146 static GType get_base_typecxx . . $ Gst/ColorBalance#get_base_type(f708dce9a8856c70).() G_GNUC_CONSTcxx . . $ `gstreamer/gstreamermm/wrap_init.cc:9:9`!;
147 #endif
148
149 ///Provides access to the underlying C GObject.
150 GstColorBalancecxx . . $ GstColorBalance#* gobjcxx . . $ Gst/ColorBalance#gobj(ebb707ba48343604).() { return reinterpret_cast<GstColorBalancecxx . . $ GstColorBalance#*>(gobject_cxx . . $ Glib/ObjectBase#gobject_.); }
151
152 ///Provides access to the underlying C GObject.
153 const GstColorBalancecxx . . $ GstColorBalance#* gobjcxx . . $ Gst/ColorBalance#gobj(8d4ef6831388ab29).() const { return reinterpret_cast<GstColorBalancecxx . . $ GstColorBalance#*>(gobject_cxx . . $ Glib/ObjectBase#gobject_.); }
154
155 private:
156
157
158 public:
159
160
161 /** Retrieve a list of the available channels.
162 *
163 * @return A
164 * GList containing pointers to Gst::ColorBalanceChannel
165 * objects. The list is owned by the Gst::ColorBalance
166 * instance and must not be freed.
167 */
168 Glibcxx . . $ Glib/::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::ColorBalanceChannelcxx . . $ Gst/ColorBalanceChannel#> > list_channelscxx . . $ Gst/ColorBalance#list_channels(7b403a02fd1fe813).();
169
170
171 /** Retrieve a list of the available channels.
172 *
173 * @return A
174 * GList containing pointers to Gst::ColorBalanceChannel
175 * objects. The list is owned by the Gst::ColorBalance
176 * instance and must not be freed.
177 */
178 Glibcxx . . $ Glib/::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::ColorBalanceChannelcxx . . $ Gst/ColorBalanceChannel#> > list_channelscxx . . $ Gst/ColorBalance#list_channels(a07c68118a2b4c41).() const;
179
180
181 /** Retrieve the current value of the indicated channel, between min_value
182 * and max_value.
183 *
184 * See Also: The Gst::ColorBalanceChannel.min_value and
185 * Gst::ColorBalanceChannel.max_value members of the
186 * Gst::ColorBalanceChannel object.
187 *
188 * @param channel A Gst::ColorBalanceChannel instance.
189 * @return The current value of the channel.
190 */
191 int get_valuecxx . . $ Gst/ColorBalance#get_value(7f9800f62fef5ee5).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::ColorBalanceChannelcxx . . $ Gst/ColorBalanceChannel#>& channel) const;
192
193 /** Sets the current value of the channel to the passed value, which must
194 * be between min_value and max_value.
195 *
196 * See Also: The Gst::ColorBalanceChannel.min_value and
197 * Gst::ColorBalanceChannel.max_value members of the
198 * Gst::ColorBalanceChannel object.
199 *
200 * @param channel A Gst::ColorBalanceChannel instance.
201 * @param value The new value for the channel.
202 */
203 void set_valuecxx . . $ Gst/ColorBalance#set_value(7dfe56d548b261b6).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::ColorBalanceChannelcxx . . $ Gst/ColorBalanceChannel#>& channel, int value);
204
205 /** A helper function called by implementations of the GstColorBalance
206 * interface. It fires the Gst::ColorBalance::signal_value_changed() signal on the
207 * instance, and the Gst::ColorBalanceChannel::signal_value_changed() signal on the
208 * channel object.
209 *
210 * @param channel A Gst::ColorBalanceChannel whose value has changed.
211 * @param value The new value of the channel.
212 */
213 void value_changedcxx . . $ Gst/ColorBalance#value_changed(7dfe56d548b261b6).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::ColorBalanceChannelcxx . . $ Gst/ColorBalanceChannel#>& channel, int value);
214
215 /** Get the Gst::ColorBalanceType of this implementation.
216 *
217 * @return A the Gst::ColorBalanceType.
218 */
219 Gstcxx . . $ Gst/::ColorBalanceTypecxx . . $ Gst/ColorBalanceType# get_balance_typecxx . . $ Gst/ColorBalance#get_balance_type(31595243740f3f12).() const;
220
221
222 /**
223 * @par Slot Prototype:
224 * <tt>void on_my_%value_changed(const Glib::RefPtr<Gst::ColorBalanceChannel>& channel, int value)</tt>
225 *
226 * Fired when the value of the indicated channel has changed.
227 *
228 * @param channel The Gst::ColorBalanceChannel.
229 * @param value The new value.
230 */
231
232 Glibcxx . . $ Glib/::SignalProxycxx . . $ Glib/SignalProxy#< void,const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::ColorBalanceChannelcxx . . $ Gst/ColorBalanceChannel#>&,int > signal_value_changedcxx . . $ Gst/ColorBalance#signal_value_changed(4f5b145360fa5de7).();
233
234
235 /** Lists the channels of the Gst::ColorBalance.
236 */
237 virtual Glibcxx . . $ Glib/::ListHandlecxx . . $ Glib/ListHandle#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::ColorBalanceChannelcxx . . $ Gst/ColorBalanceChannel#> > list_channels_vfunccxx . . $ Gst/ColorBalance#list_channels_vfunc(8273883b65709f85).() const;
238
239 /** Sets the value of a Gst::ColorBalanceChannel of the Gst::ColorBalance.
240 */
241 virtual void set_value_vfunccxx . . $ Gst/ColorBalance#set_value_vfunc(7dfe56d548b261b6).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::ColorBalanceChannelcxx . . $ Gst/ColorBalanceChannel#>& channel, int value);
242
243
244 /** Gets the value of a Gst::ColorBalanceChannel of the Gst::ColorBalance.
245 */
246 virtual int get_value_vfunccxx . . $ Gst/ColorBalance#get_value_vfunc(7f9800f62fef5ee5).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::ColorBalanceChannelcxx . . $ Gst/ColorBalanceChannel#>& channel) const;
247
248
249 /** Gets the implementation type.
250 */
251 virtual Gstcxx . . $ Gst/::ColorBalanceTypecxx . . $ Gst/ColorBalanceType# get_balance_type_vfunccxx . . $ Gst/ColorBalance#get_balance_type_vfunc(17e24ed63dc2d377).();
252
253
254 protected:
255
256
257 public:
258
259 public:
260 //C++ methods used to invoke GTK+ virtual functions:
261
262 protected:
263 //GTK+ Virtual Functions (override these to change behaviour):
264
265 //Default Signal Handlers::
266 /// This is a default handler for the signal signal_value_changed().
267 virtual void on_value_changedcxx . . $ Gst/ColorBalance#on_value_changed(7dfe56d548b261b6).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::ColorBalanceChannelcxx . . $ Gst/ColorBalanceChannel#>& channel, int value);
268
269
270 };
271
272 } // namespace Gst
273
274
275 namespace Glibcxx . . $ Glib/
276 {
277 /** A Glib::wrap() method for this object.
278 *
279 * @param object The C instance.
280 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
281 * @result A C++ instance that wraps this C instance.
282 *
283 * @relates Gst::ColorBalance
284 */
285 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::ColorBalancecxx . . $ Gst/ColorBalance#> wrapcxx . . $ Glib/wrap(8e1361fa9c35a447).(GstColorBalancecxx . . $ GstColorBalance#* object, bool take_copy = false);
286
287 } // namespace Glib
288
289
290 #endif /* _GSTREAMERMM_COLORBALANCE_H */
291