- Main Page
- Modules
- Namespaces
- Classes
- Files

# vorbisenc.h

Go to the documentation of this file.

    00001 // -*- c++ -*-
    00002 // Generated by gtkmmproc -- DO NOT MODIFY!
    00003 #ifndef _GSTREAMERMM_VORBISENC_H
    00004 #define _GSTREAMERMM_VORBISENC_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/element.h>
    00029 #include <gstreamermm/tagsetter.h>
    00030
    00031
    00032 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00033 typedef struct _GstVorbisEnc GstVorbisEnc;
    00034 typedef struct _GstVorbisEncClass GstVorbisEncClass;
    00035 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00036
    00037
    00038 namespace Gst
    00039 { class VorbisEnc_Class; } // namespace Gst
    00040 namespace Gst
    00041 {
    00042
    00053 class VorbisEnc
    00054 : public Gst::Element, public Gst::TagSetter
    00055 {
    00056
    00057 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00058
    00059 public:
    00060   typedef VorbisEnc CppObjectType;
    00061   typedef VorbisEnc_Class CppClassType;
    00062   typedef GstVorbisEnc BaseObjectType;
    00063   typedef GstVorbisEncClass BaseClassType;
    00064
    00065 private:  friend class VorbisEnc_Class;
    00066   static CppClassType vorbisenc_class_;
    00067
    00068 private:
    00069   // noncopyable
    00070   VorbisEnc(const VorbisEnc&);
    00071   VorbisEnc& operator=(const VorbisEnc&);
    00072
    00073 protected:
    00074   explicit VorbisEnc(const Glib::ConstructParams& construct_params);
    00075   explicit VorbisEnc(GstVorbisEnc* castitem);
    00076
    00077 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00078
    00079 public:
    00080   virtual ~VorbisEnc();
    00081
    00082 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00083   static GType get_type()      G_GNUC_CONST;
    00084   static GType get_base_type() G_GNUC_CONST;
    00085 #endif
    00086
    00088   GstVorbisEnc*       gobj()       { return reinterpret_cast<GstVorbisEnc*>(gobject_); }
    00089
    00091   const GstVorbisEnc* gobj() const { return reinterpret_cast<GstVorbisEnc*>(gobject_); }
    00092
    00094   GstVorbisEnc* gobj_copy();
    00095
    00096 private:
    00097
    00098
    00099 protected:
    00100   VorbisEnc();
    00101   VorbisEnc(const Glib::ustring& name);
    00102
    00103 public:
    00107   static Glib::RefPtr<VorbisEnc> create();
    00108
    00109
    00113   static Glib::RefPtr<VorbisEnc> create(const Glib::ustring& name);
    00114
    00115
    00116   #ifdef GLIBMM_PROPERTIES_ENABLED
    00117
    00123   Glib::PropertyProxy<int> property_max_bitrate() ;
    00124 #endif //#GLIBMM_PROPERTIES_ENABLED
    00125
    00126 #ifdef GLIBMM_PROPERTIES_ENABLED
    00127
    00133   Glib::PropertyProxy_ReadOnly<int> property_max_bitrate() const;
    00134 #endif //#GLIBMM_PROPERTIES_ENABLED
    00135
    00136   #ifdef GLIBMM_PROPERTIES_ENABLED
    00137
    00143   Glib::PropertyProxy<int> property_bitrate() ;
    00144 #endif //#GLIBMM_PROPERTIES_ENABLED
    00145
    00146 #ifdef GLIBMM_PROPERTIES_ENABLED
    00147
    00153   Glib::PropertyProxy_ReadOnly<int> property_bitrate() const;
    00154 #endif //#GLIBMM_PROPERTIES_ENABLED
    00155
    00156   #ifdef GLIBMM_PROPERTIES_ENABLED
    00157
    00163   Glib::PropertyProxy<int> property_min_bitrate() ;
    00164 #endif //#GLIBMM_PROPERTIES_ENABLED
    00165
    00166 #ifdef GLIBMM_PROPERTIES_ENABLED
    00167
    00173   Glib::PropertyProxy_ReadOnly<int> property_min_bitrate() const;
    00174 #endif //#GLIBMM_PROPERTIES_ENABLED
    00175
    00176   #ifdef GLIBMM_PROPERTIES_ENABLED
    00177
    00183   Glib::PropertyProxy<float> property_quality() ;
    00184 #endif //#GLIBMM_PROPERTIES_ENABLED
    00185
    00186 #ifdef GLIBMM_PROPERTIES_ENABLED
    00187
    00193   Glib::PropertyProxy_ReadOnly<float> property_quality() const;
    00194 #endif //#GLIBMM_PROPERTIES_ENABLED
    00195
    00196   #ifdef GLIBMM_PROPERTIES_ENABLED
    00197
    00203   Glib::PropertyProxy<bool> property_managed() ;
    00204 #endif //#GLIBMM_PROPERTIES_ENABLED
    00205
    00206 #ifdef GLIBMM_PROPERTIES_ENABLED
    00207
    00213   Glib::PropertyProxy_ReadOnly<bool> property_managed() const;
    00214 #endif //#GLIBMM_PROPERTIES_ENABLED
    00215
    00216   #ifdef GLIBMM_PROPERTIES_ENABLED
    00217
    00223   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_last_message() const;
    00224 #endif //#GLIBMM_PROPERTIES_ENABLED
    00225
    00226
    00227 public:
    00228
    00229 public:
    00230   //C++ methods used to invoke GTK+ virtual functions:
    00231 #ifdef GLIBMM_VFUNCS_ENABLED
    00232 #endif //GLIBMM_VFUNCS_ENABLED
    00233
    00234 protected:
    00235   //GTK+ Virtual Functions (override these to change behaviour):
    00236 #ifdef GLIBMM_VFUNCS_ENABLED
    00237 #endif //GLIBMM_VFUNCS_ENABLED
    00238
    00239   //Default Signal Handlers::
    00240 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00241 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00242
    00243
    00244 };
    00245
    00246 } //namespace Gst
    00247
    00248
    00249 namespace Glib
    00250 {
    00259   Glib::RefPtr<Gst::VorbisEnc> wrap(GstVorbisEnc* object, bool take_copy = false);
    00260 }
    00261
    00262
    00263 #endif /* _GSTREAMERMM_VORBISENC_H */
    00264