1/* gstreamermm - a C++ wrapper for gstreamer
2 *
3 * Copyright 2008-2016 The gstreamermm Development Team
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free
17 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 */
19
20#include <glibmm/object.h>
21
22_DEFS(gstreamermm,gst)
23
24namespace Gst
25{
26
27/** A class that represents a color balance channel.
28 *
29 * The Gst::ColorBalanceChannel object represents a parameter for modifying the color
30 * balance implemented by an element providing the Gst::ColorBalance interface.
31 * For example, Hue or Saturation.
32 *
33 * Last reviewed on 2016-05-16 (1.8.0)
34 *
35 * @ingroup GstInterfaces
36 */
37class ColorBalanceChannel : public Glib::Object
38{
39  _CLASS_GOBJECT(ColorBalanceChannel, GstColorBalanceChannel, GST_COLOR_BALANCE_CHANNEL, Glib::Object, GObject)
40
41public:
42  /** Get a string containing a descriptive name for this channel.
43   */
44  _MEMBER_GET(label, label, Glib::ustring, gchar*)
45
46  /** Get the minimum valid value for this channel.
47   */
48  _MEMBER_GET(min_value, min_value, int, gint)
49
50  /** Get the maximum valid value for this channel.
51   */
52  _MEMBER_GET(max_value, max_value, int, gint)
53
54  _WRAP_SIGNAL(void value_changed(int value), "value-changed")
55};
56
57} // namespace Gst
58