pluginfeature.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _GSTREAMERMM_PLUGINFEATURE_H
00004 #define _GSTREAMERMM_PLUGINFEATURE_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/gstpluginfeature.h>
00031 #include <gstreamermm/object.h>
00032 
00033 
00034 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00035 typedef struct _GstPluginFeature GstPluginFeature;
00036 typedef struct _GstPluginFeatureClass GstPluginFeatureClass;
00037 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00038 
00039 
00040 namespace Gst
00041 { class PluginFeature_Class; } // namespace Gst
00042 namespace Gst
00043 {
00044 
00050 enum Rank
00051 {
00052   RANK_NONE = 0,
00053   RANK_MARGINAL = 64,
00054   RANK_SECONDARY = 128,
00055   RANK_PRIMARY = 256
00056 };
00057 
00058 } // namespace Gst
00059 
00060 
00061 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00062 namespace Glib
00063 {
00064 
00065 template <>
00066 class Value<Gst::Rank> : public Glib::Value_Enum<Gst::Rank>
00067 {
00068 public:
00069   static GType value_type() G_GNUC_CONST;
00070 };
00071 
00072 } // namespace Glib
00073 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00074 
00075 
00076 namespace Gst
00077 {
00078 
00079 
00084 class PluginFeature : public Object
00085 {
00086   
00087 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00088 
00089 public:
00090   typedef PluginFeature CppObjectType;
00091   typedef PluginFeature_Class CppClassType;
00092   typedef GstPluginFeature BaseObjectType;
00093   typedef GstPluginFeatureClass BaseClassType;
00094 
00095 private:  friend class PluginFeature_Class;
00096   static CppClassType pluginfeature_class_;
00097 
00098 private:
00099   // noncopyable
00100   PluginFeature(const PluginFeature&);
00101   PluginFeature& operator=(const PluginFeature&);
00102 
00103 protected:
00104   explicit PluginFeature(const Glib::ConstructParams& construct_params);
00105   explicit PluginFeature(GstPluginFeature* castitem);
00106 
00107 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00108 
00109 public:
00110   virtual ~PluginFeature();
00111 
00112 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00113   static GType get_type()      G_GNUC_CONST;
00114   static GType get_base_type() G_GNUC_CONST;
00115 #endif
00116 
00118   GstPluginFeature*       gobj()       { return reinterpret_cast<GstPluginFeature*>(gobject_); }
00119 
00121   const GstPluginFeature* gobj() const { return reinterpret_cast<GstPluginFeature*>(gobject_); }
00122 
00124   GstPluginFeature* gobj_copy();
00125 
00126 private:
00127 
00128 
00129 public:
00135   typedef sigc::slot< bool, const Glib::RefPtr<PluginFeature>& > SlotFilter;
00136 
00137   
00142   void set_rank(guint rank);
00143   
00150   void set_name(const Glib::ustring& name);
00151   
00155   guint get_rank() const;
00156   
00160   Glib::ustring get_name() const;
00161   
00176   Glib::RefPtr<PluginFeature> load();
00177 
00178  
00182   static void free(Glib::ListHandle< Glib::RefPtr<PluginFeature> >);
00183 
00184   
00193   bool check_version(guint min_major, guint min_minor, guint min_micro) const;
00194 
00195   
00196 public:
00197 
00198 public:
00199   //C++ methods used to invoke GTK+ virtual functions:
00200 #ifdef GLIBMM_VFUNCS_ENABLED
00201 #endif //GLIBMM_VFUNCS_ENABLED
00202 
00203 protected:
00204   //GTK+ Virtual Functions (override these to change behaviour):
00205 #ifdef GLIBMM_VFUNCS_ENABLED
00206 #endif //GLIBMM_VFUNCS_ENABLED
00207 
00208   //Default Signal Handlers::
00209 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00210 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00211 
00212 
00213 };
00214 
00215 } // namespace Gst
00216 
00217 
00218 namespace Glib
00219 {
00228   Glib::RefPtr<Gst::PluginFeature> wrap(GstPluginFeature* object, bool take_copy = false);
00229 }
00230 
00231 
00232 #endif /* _GSTREAMERMM_PLUGINFEATURE_H */
00233 

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