colorbalance.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _GSTREAMERMM_COLORBALANCE_H
00004 #define _GSTREAMERMM_COLORBALANCE_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 /* gstreamermm - a C++ wrapper for gstreamer
00010  *
00011  * Copyright 2008 The gstreamermm Development Team
00012  *
00013  * This library is free software; you can redistribute it and/or
00014  * modify it under the terms of the GNU Lesser General Public
00015  * License as published by the Free Software Foundation; either
00016  * version 2.1 of the License, or (at your option) any later version.
00017  *
00018  * This library is distributed in the hope that it will be useful,
00019  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00020  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00021  * Lesser General Public License for more details.
00022  *
00023  * You should have received a copy of the GNU Lesser General Public
00024  * License along with this library; if not, write to the Free
00025  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00026  */
00027 
00028 #include <gst/interfaces/colorbalance.h>
00029 #include <glibmm/interface.h>
00030 
00031 
00032 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00033 typedef struct _GstColorBalance GstColorBalance;
00034 typedef struct _GstColorBalanceClass GstColorBalanceClass;
00035 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00036 
00037 
00038 namespace Gst
00039 { class ColorBalance_Class; } // namespace Gst
00040 namespace Gst
00041 {
00042 
00048 enum ColorBalanceType
00049 {
00050   COLOR_BALANCE_HARDWARE,
00051   COLOR_BALANCE_SOFTWARE
00052 };
00053 
00054 } // namespace Gst
00055 
00056 
00057 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00058 namespace Glib
00059 {
00060 
00061 template <>
00062 class Value<Gst::ColorBalanceType> : public Glib::Value_Enum<Gst::ColorBalanceType>
00063 {
00064 public:
00065   static GType value_type() G_GNUC_CONST;
00066 };
00067 
00068 } // namespace Glib
00069 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00070 
00071 
00072 namespace Gst
00073 {
00074 
00075 
00076 class ColorBalanceChannel;
00077 
00082 class ColorBalance : public Glib::Interface
00083 {
00084   
00085 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00086 
00087 public:
00088   typedef ColorBalance CppObjectType;
00089   typedef ColorBalance_Class CppClassType;
00090   typedef GstColorBalance BaseObjectType;
00091   typedef GstColorBalanceClass BaseClassType;
00092 
00093 private:
00094   friend class ColorBalance_Class;
00095   static CppClassType colorbalance_class_;
00096 
00097   // noncopyable
00098   ColorBalance(const ColorBalance&);
00099   ColorBalance& operator=(const ColorBalance&);
00100 
00101 protected:
00102   ColorBalance(); // you must derive from this class
00103 
00110   explicit ColorBalance(const Glib::Interface_Class& interface_class);
00111 
00112 public:
00113   // This is public so that C++ wrapper instances can be
00114   // created for C instances of unwrapped types.
00115   // For instance, if an unexpected C type implements the C interface. 
00116   explicit ColorBalance(GstColorBalance* castitem);
00117 
00118 protected:
00119 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00120 
00121 public:
00122   virtual ~ColorBalance();
00123 
00124   static void add_interface(GType gtype_implementer);
00125 
00126 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00127   static GType get_type()      G_GNUC_CONST;
00128   static GType get_base_type() G_GNUC_CONST;
00129 #endif
00130 
00132   GstColorBalance*       gobj()       { return reinterpret_cast<GstColorBalance*>(gobject_); }
00133 
00135   const GstColorBalance* gobj() const { return reinterpret_cast<GstColorBalance*>(gobject_); }
00136 
00137 private:
00138 
00139 
00140 public:
00141  
00142 
00148   Glib::ListHandle< Glib::RefPtr<ColorBalanceChannel> > list_channels();
00149 
00150  
00156   Glib::ListHandle< Glib::RefPtr<const ColorBalanceChannel> > list_channels() const;
00157 
00158   
00168   int get_value(const Glib::RefPtr<const ColorBalanceChannel>& channel) const;
00169   
00179   void set_value(const Glib::RefPtr<ColorBalanceChannel>& channel, int value);
00180   
00188   void value_changed(const Glib::RefPtr<ColorBalanceChannel>& channel, int value);
00189 
00190  
00197   Glib::SignalProxy2< void,const Glib::RefPtr<ColorBalanceChannel>&,int > signal_value_changed();
00198 
00199 
00200 #ifdef GLIBMM_VFUNCS_ENABLED
00201 
00203   virtual Glib::ListHandle< Glib::RefPtr<ColorBalanceChannel> > list_channels_vfunc() const;
00204 #endif //GLIBMM_VFUNCS_ENABLED
00205 
00208   #ifdef GLIBMM_VFUNCS_ENABLED
00209   virtual void set_value_vfunc(const Glib::RefPtr<ColorBalanceChannel>& channel, int value);
00210 #endif //GLIBMM_VFUNCS_ENABLED
00211 
00212 
00215   #ifdef GLIBMM_VFUNCS_ENABLED
00216   virtual int get_value_vfunc(const Glib::RefPtr<const ColorBalanceChannel>& channel) const;
00217 #endif //GLIBMM_VFUNCS_ENABLED
00218 
00219 
00220 protected:
00221 
00222   
00223 public:
00224 
00225 public:
00226   //C++ methods used to invoke GTK+ virtual functions:
00227 #ifdef GLIBMM_VFUNCS_ENABLED
00228 #endif //GLIBMM_VFUNCS_ENABLED
00229 
00230 protected:
00231   //GTK+ Virtual Functions (override these to change behaviour):
00232 #ifdef GLIBMM_VFUNCS_ENABLED
00233 #endif //GLIBMM_VFUNCS_ENABLED
00234 
00235   //Default Signal Handlers::
00236 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00237   virtual void on_value_changed(const Glib::RefPtr<ColorBalanceChannel>& channel, int value);
00238 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00239 
00240 
00241 };
00242 
00243 } // namespace Gst
00244 
00245 
00246 namespace Glib
00247 {
00256   Glib::RefPtr<Gst::ColorBalance> wrap(GstColorBalance* object, bool take_copy = false);
00257 
00258 } // namespace Glib
00259 
00260 
00261 #endif /* _GSTREAMERMM_COLORBALANCE_H */
00262 

Generated on Wed Aug 19 15:53:17 2009 for gstreamermm by  doxygen 1.5.4