Debian Codegraph @

gstreamer/gstreamermm/colorbalancechannel.h

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!
2 #ifndef _GSTREAMERMM_COLORBALANCECHANNEL_H
3 #define _GSTREAMERMM_COLORBALANCECHANNEL_H
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 <glibmm/object.h>
29
30
31 #ifndef DOXYGEN_SHOULD_SKIP_THIS
32 using GstColorBalanceChannel = struct _GstColorBalanceChannel;
33 using GstColorBalanceChannelClass = struct _GstColorBalanceChannelClass;
34 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
35
36
37 #ifndef DOXYGEN_SHOULD_SKIP_THIS
38 namespace Gst
39 { class ColorBalanceChannel_Class; } // namespace Gst
40 #endif //DOXYGEN_SHOULD_SKIP_THIS
41
42 namespace Gst
43 {
44
45 /** A class that represents a color balance channel.
46 *
47 * The Gst::ColorBalanceChannel object represents a parameter for modifying the color
48 * balance implemented by an element providing the Gst::ColorBalance interface.
49 * For example, Hue or Saturation.
50 *
51 * Last reviewed on 2016-05-16 (1.8.0)
52 *
53 * @ingroup GstInterfaces
54 */
55
56 class ColorBalanceChannel : public Glib::Object
57 {
58
59 #ifndef DOXYGEN_SHOULD_SKIP_THIS
60
61 public:
62 using CppObjectType = ColorBalanceChannel;
63 using CppClassType = ColorBalanceChannel_Class;
64 using BaseObjectType = GstColorBalanceChannel;
65 using BaseClassType = GstColorBalanceChannelClass;
66
67 // noncopyable
68 ColorBalanceChannel(const ColorBalanceChannel&) = delete;
69 ColorBalanceChannel& operator=(const ColorBalanceChannel&) = delete;
70
71 private: friend class ColorBalanceChannel_Class;
72 static CppClassType colorbalancechannel_class_;
73
74 protected:
75 explicit ColorBalanceChannel(const Glib::ConstructParams& construct_params);
76 explicit ColorBalanceChannel(GstColorBalanceChannel* castitem);
77
78 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
79
80 public:
81
82 ColorBalanceChannel(ColorBalanceChannel&& src) noexcept;
83 ColorBalanceChannel& operator=(ColorBalanceChannel&& src) noexcept;
84
85 ~ColorBalanceChannel() noexcept override;
86
87 /** Get the GType for this class, for use with the underlying GObject type system.
88 */
89 static GType get_type() G_GNUC_CONST;
90
91 #ifndef DOXYGEN_SHOULD_SKIP_THIS
92
93
94 static GType get_base_type() G_GNUC_CONST;
95 #endif
96
97 ///Provides access to the underlying C GObject.
98 GstColorBalanceChannel* gobj() { return reinterpret_cast<GstColorBalanceChannel*>(gobject_); }
99
100 ///Provides access to the underlying C GObject.
101 const GstColorBalanceChannel* gobj() const { return reinterpret_cast<GstColorBalanceChannel*>(gobject_); }
102
103 ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
104 GstColorBalanceChannel* gobj_copy();
105
106 private:
107
108
109 public:
110 /** Get a string containing a descriptive name for this channel.
111 */
112 Glib::ustring get_label() const;
113
114 /** Get the minimum valid value for this channel.
115 */
116 int get_min_value() const;
117
118 /** Get the maximum valid value for this channel.
119 */
120 int get_max_value() const;
121
122
123 /**
124 * @par Slot Prototype:
125 * <tt>void on_my_%value_changed(int value)</tt>
126 *
127 * Fired when the value of the indicated channel has changed.
128 *
129 * @param value The new value.
130 */
131
132 Glib::SignalProxy< void,int > signal_value_changed();
133
134
135 public:
136
137 public:
138 //C++ methods used to invoke GTK+ virtual functions:
139
140 protected:
141 //GTK+ Virtual Functions (override these to change behaviour):
142
143 //Default Signal Handlers::
144 /// This is a default handler for the signal signal_value_changed().
145 virtual void on_value_changed(int value);
146
147
148 };
149
150 } // namespace Gst
151
152
153 namespace Glib
154 {
155 /** A Glib::wrap() method for this object.
156 *
157 * @param object The C instance.
158 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
159 * @result A C++ instance that wraps this C instance.
160 *
161 * @relates Gst::ColorBalanceChannel
162 */
163 Glib::RefPtr<Gst::ColorBalanceChannel> wrap(GstColorBalanceChannel* object, bool take_copy = false);
164 }
165
166
167 #endif /* _GSTREAMERMM_COLORBALANCECHANNEL_H */
168