alsasrc.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _GSTREAMERMM_ALSASRC_H
00004 #define _GSTREAMERMM_ALSASRC_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 <gstreamermm/audiosrc.h>
00029 #include <gstreamermm/interface.h>
00030 #include <gstreamermm/mixer.h>
00031 #include <gstreamermm/propertyprobe.h>
00032 
00033 
00034 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00035 typedef struct _GstAlsaSrc GstAlsaSrc;
00036 typedef struct _GstAlsaSrcClass GstAlsaSrcClass;
00037 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00038 
00039 
00040 namespace Gst
00041 { class AlsaSrc_Class; } // namespace Gst
00042 namespace Gst
00043 {
00044 
00055 class AlsaSrc
00056 : public Gst::AudioSrc, public Gst::Interface, public Gst::Mixer, public Gst::PropertyProbe
00057 {
00058   
00059 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00060 
00061 public:
00062   typedef AlsaSrc CppObjectType;
00063   typedef AlsaSrc_Class CppClassType;
00064   typedef GstAlsaSrc BaseObjectType;
00065   typedef GstAlsaSrcClass BaseClassType;
00066 
00067 private:  friend class AlsaSrc_Class;
00068   static CppClassType alsasrc_class_;
00069 
00070 private:
00071   // noncopyable
00072   AlsaSrc(const AlsaSrc&);
00073   AlsaSrc& operator=(const AlsaSrc&);
00074 
00075 protected:
00076   explicit AlsaSrc(const Glib::ConstructParams& construct_params);
00077   explicit AlsaSrc(GstAlsaSrc* castitem);
00078 
00079 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00080 
00081 public:
00082   virtual ~AlsaSrc();
00083 
00084 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00085   static GType get_type()      G_GNUC_CONST;
00086   static GType get_base_type() G_GNUC_CONST;
00087 #endif
00088 
00090   GstAlsaSrc*       gobj()       { return reinterpret_cast<GstAlsaSrc*>(gobject_); }
00091 
00093   const GstAlsaSrc* gobj() const { return reinterpret_cast<GstAlsaSrc*>(gobject_); }
00094 
00096   GstAlsaSrc* gobj_copy();
00097 
00098 private:
00099 
00100   
00101 protected:
00102   AlsaSrc();
00103   AlsaSrc(const Glib::ustring& name);
00104 
00105 public:
00109   static Glib::RefPtr<AlsaSrc> create();
00110 
00111 
00115   static Glib::RefPtr<AlsaSrc> create(const Glib::ustring& name);
00116 
00117 
00118   #ifdef GLIBMM_PROPERTIES_ENABLED
00119 
00125   Glib::PropertyProxy<Glib::ustring> property_device() ;
00126 #endif //#GLIBMM_PROPERTIES_ENABLED
00127 
00128 #ifdef GLIBMM_PROPERTIES_ENABLED
00129 
00135   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_device() const;
00136 #endif //#GLIBMM_PROPERTIES_ENABLED
00137 
00138   #ifdef GLIBMM_PROPERTIES_ENABLED
00139 
00145   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_device_name() const;
00146 #endif //#GLIBMM_PROPERTIES_ENABLED
00147 
00148 
00149 public:
00150 
00151 public:
00152   //C++ methods used to invoke GTK+ virtual functions:
00153 #ifdef GLIBMM_VFUNCS_ENABLED
00154 #endif //GLIBMM_VFUNCS_ENABLED
00155 
00156 protected:
00157   //GTK+ Virtual Functions (override these to change behaviour):
00158 #ifdef GLIBMM_VFUNCS_ENABLED
00159 #endif //GLIBMM_VFUNCS_ENABLED
00160 
00161   //Default Signal Handlers::
00162 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00163 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00164 
00165 
00166 };
00167 
00168 } //namespace Gst
00169 
00170 
00171 namespace Glib
00172 {
00181   Glib::RefPtr<Gst::AlsaSrc> wrap(GstAlsaSrc* object, bool take_copy = false);
00182 }
00183 
00184 
00185 #endif /* _GSTREAMERMM_ALSASRC_H */
00186 

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