gstreamermm: volume.h Source File

- Main Page
- Modules
- Namespaces
- Classes
- Files

# volume.h

Go to the documentation of this file.

    00001 // -*- c++ -*-
    00002 // Generated by gtkmmproc -- DO NOT MODIFY!
    00003 #ifndef _GSTREAMERMM_VOLUME_H
    00004 #define _GSTREAMERMM_VOLUME_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/audiofilter.h>
    00029 #include <gstreamermm/interface.h>
    00030 #include <gstreamermm/mixer.h>
    00031
    00032
    00033 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00034 typedef struct _GstVolume GstVolume;
    00035 typedef struct _GstVolumeClass GstVolumeClass;
    00036 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00037
    00038
    00039 namespace Gst
    00040 { class Volume_Class; } // namespace Gst
    00041 namespace Gst
    00042 {
    00043
    00044
    00055 class Volume
    00056 : public Gst::AudioFilter, public Gst::Interface, public Gst::Mixer
    00057 {
    00058
    00059 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00060
    00061 public:
    00062   typedef Volume CppObjectType;
    00063   typedef Volume_Class CppClassType;
    00064   typedef GstVolume BaseObjectType;
    00065   typedef GstVolumeClass BaseClassType;
    00066
    00067 private:  friend class Volume_Class;
    00068   static CppClassType volume_class_;
    00069
    00070 private:
    00071   // noncopyable
    00072   Volume(const Volume&);
    00073   Volume& operator=(const Volume&);
    00074
    00075 protected:
    00076   explicit Volume(const Glib::ConstructParams& construct_params);
    00077   explicit Volume(GstVolume* castitem);
    00078
    00079 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00080
    00081 public:
    00082   virtual ~Volume();
    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   GstVolume*       gobj()       { return reinterpret_cast<GstVolume*>(gobject_); }
    00091
    00093   const GstVolume* gobj() const { return reinterpret_cast<GstVolume*>(gobject_); }
    00094
    00096   GstVolume* gobj_copy();
    00097
    00098 private:
    00099
    00100
    00101 protected:
    00102   Volume();
    00103   Volume(const Glib::ustring& name);
    00104
    00105 public:
    00109   static Glib::RefPtr<Volume> create();
    00110
    00111
    00115   static Glib::RefPtr<Volume> create(const Glib::ustring& name);
    00116
    00117
    00118   #ifdef GLIBMM_PROPERTIES_ENABLED
    00119
    00125   Glib::PropertyProxy<bool> property_mute() ;
    00126 #endif //#GLIBMM_PROPERTIES_ENABLED
    00127
    00128 #ifdef GLIBMM_PROPERTIES_ENABLED
    00129
    00135   Glib::PropertyProxy_ReadOnly<bool> property_mute() const;
    00136 #endif //#GLIBMM_PROPERTIES_ENABLED
    00137
    00138   #ifdef GLIBMM_PROPERTIES_ENABLED
    00139
    00145   Glib::PropertyProxy<double> property_volume() ;
    00146 #endif //#GLIBMM_PROPERTIES_ENABLED
    00147
    00148 #ifdef GLIBMM_PROPERTIES_ENABLED
    00149
    00155   Glib::PropertyProxy_ReadOnly<double> property_volume() const;
    00156 #endif //#GLIBMM_PROPERTIES_ENABLED
    00157
    00158
    00159 public:
    00160
    00161 public:
    00162   //C++ methods used to invoke GTK+ virtual functions:
    00163 #ifdef GLIBMM_VFUNCS_ENABLED
    00164 #endif //GLIBMM_VFUNCS_ENABLED
    00165
    00166 protected:
    00167   //GTK+ Virtual Functions (override these to change behaviour):
    00168 #ifdef GLIBMM_VFUNCS_ENABLED
    00169 #endif //GLIBMM_VFUNCS_ENABLED
    00170
    00171   //Default Signal Handlers::
    00172 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00173 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00174
    00175
    00176 };
    00177
    00178 } //namespace Gst
    00179
    00180
    00181 namespace Glib
    00182 {
    00191   Glib::RefPtr<Gst::Volume> wrap(GstVolume* object, bool take_copy = false);
    00192 }
    00193
    00194
    00195 #endif /* _GSTREAMERMM_VOLUME_H */
    00196