- Main Page
- Modules
- Namespaces
- Classes
- Files

# 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
    00045
    00056 class AlsaSrc
    00057 : public Gst::AudioSrc, public Gst::Interface, public Gst::Mixer, public Gst::PropertyProbe
    00058 {
    00059
    00060 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00061
    00062 public:
    00063   typedef AlsaSrc CppObjectType;
    00064   typedef AlsaSrc_Class CppClassType;
    00065   typedef GstAlsaSrc BaseObjectType;
    00066   typedef GstAlsaSrcClass BaseClassType;
    00067
    00068 private:  friend class AlsaSrc_Class;
    00069   static CppClassType alsasrc_class_;
    00070
    00071 private:
    00072   // noncopyable
    00073   AlsaSrc(const AlsaSrc&);
    00074   AlsaSrc& operator=(const AlsaSrc&);
    00075
    00076 protected:
    00077   explicit AlsaSrc(const Glib::ConstructParams& construct_params);
    00078   explicit AlsaSrc(GstAlsaSrc* castitem);
    00079
    00080 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00081
    00082 public:
    00083   virtual ~AlsaSrc();
    00084
    00085 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00086   static GType get_type()      G_GNUC_CONST;
    00087   static GType get_base_type() G_GNUC_CONST;
    00088 #endif
    00089
    00091   GstAlsaSrc*       gobj()       { return reinterpret_cast<GstAlsaSrc*>(gobject_); }
    00092
    00094   const GstAlsaSrc* gobj() const { return reinterpret_cast<GstAlsaSrc*>(gobject_); }
    00095
    00097   GstAlsaSrc* gobj_copy();
    00098
    00099 private:
    00100
    00101
    00102 protected:
    00103   AlsaSrc();
    00104   AlsaSrc(const Glib::ustring& name);
    00105
    00106 public:
    00110   static Glib::RefPtr<AlsaSrc> create();
    00111
    00112
    00116   static Glib::RefPtr<AlsaSrc> create(const Glib::ustring& name);
    00117
    00118
    00119   #ifdef GLIBMM_PROPERTIES_ENABLED
    00120
    00126   Glib::PropertyProxy<Glib::ustring> property_device() ;
    00127 #endif //#GLIBMM_PROPERTIES_ENABLED
    00128
    00129 #ifdef GLIBMM_PROPERTIES_ENABLED
    00130
    00136   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_device() const;
    00137 #endif //#GLIBMM_PROPERTIES_ENABLED
    00138
    00139   #ifdef GLIBMM_PROPERTIES_ENABLED
    00140
    00146   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_device_name() const;
    00147 #endif //#GLIBMM_PROPERTIES_ENABLED
    00148
    00149
    00150 public:
    00151
    00152 public:
    00153   //C++ methods used to invoke GTK+ virtual functions:
    00154 #ifdef GLIBMM_VFUNCS_ENABLED
    00155 #endif //GLIBMM_VFUNCS_ENABLED
    00156
    00157 protected:
    00158   //GTK+ Virtual Functions (override these to change behaviour):
    00159 #ifdef GLIBMM_VFUNCS_ENABLED
    00160 #endif //GLIBMM_VFUNCS_ENABLED
    00161
    00162   //Default Signal Handlers::
    00163 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00164 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00165
    00166
    00167 };
    00168
    00169 } //namespace Gst
    00170
    00171
    00172 namespace Glib
    00173 {
    00182   Glib::RefPtr<Gst::AlsaSrc> wrap(GstAlsaSrc* object, bool take_copy = false);
    00183 }
    00184
    00185
    00186 #endif /* _GSTREAMERMM_ALSASRC_H */
    00187