gstreamermm: audiosink.h Source File

- Main Page
- Modules
- Namespaces
- Classes
- Files

# audiosink.h

Go to the documentation of this file.

    00001 // -*- c++ -*-
    00002 // Generated by gtkmmproc -- DO NOT MODIFY!
    00003 #ifndef _GSTREAMERMM_AUDIOSINK_H
    00004 #define _GSTREAMERMM_AUDIOSINK_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/audio/gstaudiosink.h>
    00029 #include <gstreamermm/baseaudiosink.h>
    00030
    00031
    00032 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00033 typedef struct _GstAudioSink GstAudioSink;
    00034 typedef struct _GstAudioSinkClass GstAudioSinkClass;
    00035 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00036
    00037
    00038 namespace Gst
    00039 { class AudioSink_Class; } // namespace Gst
    00040 namespace Gst
    00041 {
    00042
    00065 class AudioSink : public Gst::BaseAudioSink
    00066 {
    00067
    00068 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00069
    00070 public:
    00071   typedef AudioSink CppObjectType;
    00072   typedef AudioSink_Class CppClassType;
    00073   typedef GstAudioSink BaseObjectType;
    00074   typedef GstAudioSinkClass BaseClassType;
    00075
    00076 private:  friend class AudioSink_Class;
    00077   static CppClassType audiosink_class_;
    00078
    00079 private:
    00080   // noncopyable
    00081   AudioSink(const AudioSink&);
    00082   AudioSink& operator=(const AudioSink&);
    00083
    00084 protected:
    00085   explicit AudioSink(const Glib::ConstructParams& construct_params);
    00086   explicit AudioSink(GstAudioSink* castitem);
    00087
    00088 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00089
    00090 public:
    00091   virtual ~AudioSink();
    00092
    00093 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00094   static GType get_type()      G_GNUC_CONST;
    00095   static GType get_base_type() G_GNUC_CONST;
    00096 #endif
    00097
    00099   GstAudioSink*       gobj()       { return reinterpret_cast<GstAudioSink*>(gobject_); }
    00100
    00102   const GstAudioSink* gobj() const { return reinterpret_cast<GstAudioSink*>(gobject_); }
    00103
    00105   GstAudioSink* gobj_copy();
    00106
    00107 private:
    00108
    00109
    00110 public:
    00111   //TODO: Wrap vfuncs.
    00112
    00113
    00114 public:
    00115
    00116 public:
    00117   //C++ methods used to invoke GTK+ virtual functions:
    00118 #ifdef GLIBMM_VFUNCS_ENABLED
    00119 #endif //GLIBMM_VFUNCS_ENABLED
    00120
    00121 protected:
    00122   //GTK+ Virtual Functions (override these to change behaviour):
    00123 #ifdef GLIBMM_VFUNCS_ENABLED
    00124 #endif //GLIBMM_VFUNCS_ENABLED
    00125
    00126   //Default Signal Handlers::
    00127 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00128 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00129
    00130
    00131 };
    00132
    00133 } // namespace Gst
    00134
    00135
    00136 namespace Glib
    00137 {
    00146   Glib::RefPtr<Gst::AudioSink> wrap(GstAudioSink* object, bool take_copy = false);
    00147 }
    00148
    00149
    00150 #endif /* _GSTREAMERMM_AUDIOSINK_H */
    00151