colorbalance.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _GSTREAMERBASEMM_COLORBALANCE_H
00004 #define _GSTREAMERBASEMM_COLORBALANCE_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 // -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*-
00010 
00011 /* gstreamermm - a C++ wrapper for gstreamer
00012  *
00013  * Copyright 2008 The gstreamermm Development Team
00014  *
00015  * This library is free software; you can redistribute it and/or
00016  * modify it under the terms of the GNU Library General Public
00017  * License as published by the Free Software Foundation; either
00018  * version 2 of the License, or (at your option) any later version.
00019  *
00020  * This library is distributed in the hope that it will be useful,
00021  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00022  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00023  * Library General Public License for more details.
00024  *
00025  * You should have received a copy of the GNU Library General Public
00026  * License along with this library; if not, write to the Free
00027  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00028  */
00029 
00030 #include <gst/interfaces/colorbalance.h>
00031 #include <glibmm/interface.h>
00032 
00033 
00034 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00035 typedef struct _GstColorBalance GstColorBalance;
00036 typedef struct _GstColorBalanceClass GstColorBalanceClass;
00037 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00038 
00039 
00040 namespace GstBase
00041 { class ColorBalance_Class; } // namespace GstBase
00042 namespace GstBase
00043 {
00044 
00050 enum ColorBalanceType
00051 {
00052   COLOR_BALANCE_HARDWARE,
00053   COLOR_BALANCE_SOFTWARE
00054 };
00055 
00056 } // namespace GstBase
00057 
00058 
00059 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00060 namespace Glib
00061 {
00062 
00063 template <>
00064 class Value<GstBase::ColorBalanceType> : public Glib::Value_Enum<GstBase::ColorBalanceType>
00065 {
00066 public:
00067   static GType value_type() G_GNUC_CONST;
00068 };
00069 
00070 } // namespace Glib
00071 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00072 
00073 
00074 namespace GstBase
00075 {
00076 
00077 
00078 class ColorBalanceChannel;
00079 
00083 class ColorBalance : public Glib::Interface
00084 {
00085   
00086 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00087 
00088 public:
00089   typedef ColorBalance CppObjectType;
00090   typedef ColorBalance_Class CppClassType;
00091   typedef GstColorBalance BaseObjectType;
00092   typedef GstColorBalanceClass BaseClassType;
00093 
00094 private:
00095   friend class ColorBalance_Class;
00096   static CppClassType colorbalance_class_;
00097 
00098   // noncopyable
00099   ColorBalance(const ColorBalance&);
00100   ColorBalance& operator=(const ColorBalance&);
00101 
00102 protected:
00103   ColorBalance(); // you must derive from this class
00104 
00111   explicit ColorBalance(const Glib::Interface_Class& interface_class);
00112 
00113 public:
00114   // This is public so that C++ wrapper instances can be
00115   // created for C instances of unwrapped types.
00116   // For instance, if an unexpected C type implements the C interface. 
00117   explicit ColorBalance(GstColorBalance* castitem);
00118 
00119 protected:
00120 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00121 
00122 public:
00123   virtual ~ColorBalance();
00124 
00125   static void add_interface(GType gtype_implementer);
00126 
00127 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00128   static GType get_type()      G_GNUC_CONST;
00129   static GType get_base_type() G_GNUC_CONST;
00130 #endif
00131 
00133   GstColorBalance*       gobj()       { return reinterpret_cast<GstColorBalance*>(gobject_); }
00134 
00136   const GstColorBalance* gobj() const { return reinterpret_cast<GstColorBalance*>(gobject_); }
00137 
00138 private:
00139 
00140 
00141 public:
00142  
00143 
00149   Glib::ListHandle< Glib::RefPtr<ColorBalanceChannel> > list_channels();
00150 
00151 
00161   int get_value(const Glib::RefPtr<ColorBalanceChannel>& channel);
00162 
00172   void set_value(const Glib::RefPtr<ColorBalanceChannel>& channel, int value);
00173 
00181   void value_changed(const Glib::RefPtr<ColorBalanceChannel>& channel, int value);
00182 
00183 
00184 public:
00185 
00186 public:
00187   //C++ methods used to invoke GTK+ virtual functions:
00188 #ifdef GLIBMM_VFUNCS_ENABLED
00189 #endif //GLIBMM_VFUNCS_ENABLED
00190 
00191 protected:
00192   //GTK+ Virtual Functions (override these to change behaviour):
00193 #ifdef GLIBMM_VFUNCS_ENABLED
00194 #endif //GLIBMM_VFUNCS_ENABLED
00195 
00196   //Default Signal Handlers::
00197 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00198 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00199 
00200 
00201 };
00202 
00203 
00204 } // namespace GstBase
00205 
00206 
00207 namespace Glib
00208 {
00217   Glib::RefPtr<GstBase::ColorBalance> wrap(GstColorBalance* object, bool take_copy = false);
00218 
00219 } // namespace Glib
00220 
00221 
00222 #endif /* _GSTREAMERBASEMM_COLORBALANCE_H */
00223 

Generated on Sun Jul 27 17:07:20 2008 for gstreamermm by  doxygen 1.5.4