00001
00002
00003 #ifndef _GSTREAMERBASEMM_VORBISENC_H
00004 #define _GSTREAMERBASEMM_VORBISENC_H
00005
00006
00007 #include <glibmm.h>
00008
00009 #include <gstreamermm/element.h>
00010
00011
00012 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00013 typedef struct _GstVorbisEnc GstVorbisEnc;
00014 typedef struct _GstVorbisEncClass GstVorbisEncClass;
00015 #endif
00016
00017
00018 namespace GstBase
00019 { class VorbisEnc_Class; }
00020 namespace GstBase
00021 {
00022
00023
00033 class VorbisEnc
00034 : public Gst::Element
00035 {
00036
00037 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00038
00039 public:
00040 typedef VorbisEnc CppObjectType;
00041 typedef VorbisEnc_Class CppClassType;
00042 typedef GstVorbisEnc BaseObjectType;
00043 typedef GstVorbisEncClass BaseClassType;
00044
00045 private: friend class VorbisEnc_Class;
00046 static CppClassType vorbisenc_class_;
00047
00048 private:
00049
00050 VorbisEnc(const VorbisEnc&);
00051 VorbisEnc& operator=(const VorbisEnc&);
00052
00053 protected:
00054 explicit VorbisEnc(const Glib::ConstructParams& construct_params);
00055 explicit VorbisEnc(GstVorbisEnc* castitem);
00056
00057 #endif
00058
00059 public:
00060 virtual ~VorbisEnc();
00061
00062 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00063 static GType get_type() G_GNUC_CONST;
00064 static GType get_base_type() G_GNUC_CONST;
00065 #endif
00066
00068 GstVorbisEnc* gobj() { return reinterpret_cast<GstVorbisEnc*>(gobject_); }
00069
00071 const GstVorbisEnc* gobj() const { return reinterpret_cast<GstVorbisEnc*>(gobject_); }
00072
00074 GstVorbisEnc* gobj_copy();
00075
00076 private:
00077
00078
00079 protected:
00080 VorbisEnc();
00081 VorbisEnc(const Glib::ustring& name);
00082
00083 public:
00087 static Glib::RefPtr<VorbisEnc> create();
00088
00089
00093 static Glib::RefPtr<VorbisEnc> create(const Glib::ustring& name);
00094
00095
00096 #ifdef GLIBMM_PROPERTIES_ENABLED
00097
00103 Glib::PropertyProxy<int> property_max_bitrate() ;
00104 #endif //#GLIBMM_PROPERTIES_ENABLED
00105
00106 #ifdef GLIBMM_PROPERTIES_ENABLED
00107
00113 Glib::PropertyProxy_ReadOnly<int> property_max_bitrate() const;
00114 #endif //#GLIBMM_PROPERTIES_ENABLED
00115
00116 #ifdef GLIBMM_PROPERTIES_ENABLED
00117
00123 Glib::PropertyProxy<int> property_bitrate() ;
00124 #endif //#GLIBMM_PROPERTIES_ENABLED
00125
00126 #ifdef GLIBMM_PROPERTIES_ENABLED
00127
00133 Glib::PropertyProxy_ReadOnly<int> property_bitrate() const;
00134 #endif //#GLIBMM_PROPERTIES_ENABLED
00135
00136 #ifdef GLIBMM_PROPERTIES_ENABLED
00137
00143 Glib::PropertyProxy<int> property_min_bitrate() ;
00144 #endif //#GLIBMM_PROPERTIES_ENABLED
00145
00146 #ifdef GLIBMM_PROPERTIES_ENABLED
00147
00153 Glib::PropertyProxy_ReadOnly<int> property_min_bitrate() const;
00154 #endif //#GLIBMM_PROPERTIES_ENABLED
00155
00156 #ifdef GLIBMM_PROPERTIES_ENABLED
00157
00163 Glib::PropertyProxy<float> property_quality() ;
00164 #endif //#GLIBMM_PROPERTIES_ENABLED
00165
00166 #ifdef GLIBMM_PROPERTIES_ENABLED
00167
00173 Glib::PropertyProxy_ReadOnly<float> property_quality() const;
00174 #endif //#GLIBMM_PROPERTIES_ENABLED
00175
00176 #ifdef GLIBMM_PROPERTIES_ENABLED
00177
00183 Glib::PropertyProxy<bool> property_managed() ;
00184 #endif //#GLIBMM_PROPERTIES_ENABLED
00185
00186 #ifdef GLIBMM_PROPERTIES_ENABLED
00187
00193 Glib::PropertyProxy_ReadOnly<bool> property_managed() const;
00194 #endif //#GLIBMM_PROPERTIES_ENABLED
00195
00196 #ifdef GLIBMM_PROPERTIES_ENABLED
00197
00203 Glib::PropertyProxy_ReadOnly<Glib::ustring> property_last_message() const;
00204 #endif //#GLIBMM_PROPERTIES_ENABLED
00205
00206
00207 public:
00208
00209 public:
00210
00211 #ifdef GLIBMM_VFUNCS_ENABLED
00212 #endif //GLIBMM_VFUNCS_ENABLED
00213
00214 protected:
00215
00216 #ifdef GLIBMM_VFUNCS_ENABLED
00217 #endif //GLIBMM_VFUNCS_ENABLED
00218
00219
00220 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00221 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00222
00223
00224 };
00225
00226 }
00227
00228
00229 namespace Glib
00230 {
00239 Glib::RefPtr<GstBase::VorbisEnc> wrap(GstVorbisEnc* object, bool take_copy = false);
00240 }
00241
00242
00243 #endif
00244