- 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
    00043
    00054 class VorbisEnc
    00055 : public Gst::Element, public Gst::TagSetter
    00056 {
    00057
    00058 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00059
    00060 public:
    00061   typedef VorbisEnc CppObjectType;
    00062   typedef VorbisEnc_Class CppClassType;
    00063   typedef GstVorbisEnc BaseObjectType;
    00064   typedef GstVorbisEncClass BaseClassType;
    00065
    00066 private:  friend class VorbisEnc_Class;
    00067   static CppClassType vorbisenc_class_;
    00068
    00069 private:
    00070   // noncopyable
    00071   VorbisEnc(const VorbisEnc&);
    00072   VorbisEnc& operator=(const VorbisEnc&);
    00073
    00074 protected:
    00075   explicit VorbisEnc(const Glib::ConstructParams& construct_params);
    00076   explicit VorbisEnc(GstVorbisEnc* castitem);
    00077
    00078 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00079
    00080 public:
    00081   virtual ~VorbisEnc();
    00082
    00083 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00084   static GType get_type()      G_GNUC_CONST;
    00085   static GType get_base_type() G_GNUC_CONST;
    00086 #endif
    00087
    00089   GstVorbisEnc*       gobj()       { return reinterpret_cast<GstVorbisEnc*>(gobject_); }
    00090
    00092   const GstVorbisEnc* gobj() const { return reinterpret_cast<GstVorbisEnc*>(gobject_); }
    00093
    00095   GstVorbisEnc* gobj_copy();
    00096
    00097 private:
    00098
    00099
    00100 protected:
    00101   VorbisEnc();
    00102   VorbisEnc(const Glib::ustring& name);
    00103
    00104 public:
    00108   static Glib::RefPtr<VorbisEnc> create();
    00109
    00110
    00114   static Glib::RefPtr<VorbisEnc> create(const Glib::ustring& name);
    00115
    00116
    00117   #ifdef GLIBMM_PROPERTIES_ENABLED
    00118
    00124   Glib::PropertyProxy<int> property_max_bitrate() ;
    00125 #endif //#GLIBMM_PROPERTIES_ENABLED
    00126
    00127 #ifdef GLIBMM_PROPERTIES_ENABLED
    00128
    00134   Glib::PropertyProxy_ReadOnly<int> property_max_bitrate() const;
    00135 #endif //#GLIBMM_PROPERTIES_ENABLED
    00136
    00137   #ifdef GLIBMM_PROPERTIES_ENABLED
    00138
    00144   Glib::PropertyProxy<int> property_bitrate() ;
    00145 #endif //#GLIBMM_PROPERTIES_ENABLED
    00146
    00147 #ifdef GLIBMM_PROPERTIES_ENABLED
    00148
    00154   Glib::PropertyProxy_ReadOnly<int> property_bitrate() const;
    00155 #endif //#GLIBMM_PROPERTIES_ENABLED
    00156
    00157   #ifdef GLIBMM_PROPERTIES_ENABLED
    00158
    00164   Glib::PropertyProxy<int> property_min_bitrate() ;
    00165 #endif //#GLIBMM_PROPERTIES_ENABLED
    00166
    00167 #ifdef GLIBMM_PROPERTIES_ENABLED
    00168
    00174   Glib::PropertyProxy_ReadOnly<int> property_min_bitrate() const;
    00175 #endif //#GLIBMM_PROPERTIES_ENABLED
    00176
    00177   #ifdef GLIBMM_PROPERTIES_ENABLED
    00178
    00184   Glib::PropertyProxy<float> property_quality() ;
    00185 #endif //#GLIBMM_PROPERTIES_ENABLED
    00186
    00187 #ifdef GLIBMM_PROPERTIES_ENABLED
    00188
    00194   Glib::PropertyProxy_ReadOnly<float> property_quality() const;
    00195 #endif //#GLIBMM_PROPERTIES_ENABLED
    00196
    00197   #ifdef GLIBMM_PROPERTIES_ENABLED
    00198
    00204   Glib::PropertyProxy<bool> property_managed() ;
    00205 #endif //#GLIBMM_PROPERTIES_ENABLED
    00206
    00207 #ifdef GLIBMM_PROPERTIES_ENABLED
    00208
    00214   Glib::PropertyProxy_ReadOnly<bool> property_managed() const;
    00215 #endif //#GLIBMM_PROPERTIES_ENABLED
    00216
    00217   #ifdef GLIBMM_PROPERTIES_ENABLED
    00218
    00224   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_last_message() const;
    00225 #endif //#GLIBMM_PROPERTIES_ENABLED
    00226
    00227
    00228 public:
    00229
    00230 public:
    00231   //C++ methods used to invoke GTK+ virtual functions:
    00232 #ifdef GLIBMM_VFUNCS_ENABLED
    00233 #endif //GLIBMM_VFUNCS_ENABLED
    00234
    00235 protected:
    00236   //GTK+ Virtual Functions (override these to change behaviour):
    00237 #ifdef GLIBMM_VFUNCS_ENABLED
    00238 #endif //GLIBMM_VFUNCS_ENABLED
    00239
    00240   //Default Signal Handlers::
    00241 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00242 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00243
    00244
    00245 };
    00246
    00247 } //namespace Gst
    00248
    00249
    00250 namespace Glib
    00251 {
    00260   Glib::RefPtr<Gst::VorbisEnc> wrap(GstVorbisEnc* object, bool take_copy = false);
    00261 }
    00262
    00263
    00264 #endif /* _GSTREAMERMM_VORBISENC_H */
    00265