gstreamermm: cdparanoiasrc.h Source File

- Main Page
- Modules
- Namespaces
- Classes
- Files

# cdparanoiasrc.h

Go to the documentation of this file.

    00001 // -*- c++ -*-
    00002 // Generated by gtkmmproc -- DO NOT MODIFY!
    00003 #ifndef _GSTREAMERMM_CDPARANOIASRC_H
    00004 #define _GSTREAMERMM_CDPARANOIASRC_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/pushsrc.h>
    00029
    00030
    00031 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00032 typedef struct _GstCdParanoiaSrc GstCdParanoiaSrc;
    00033 typedef struct _GstCdParanoiaSrcClass GstCdParanoiaSrcClass;
    00034 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00035
    00036
    00037 namespace Gst
    00038 { class CdParanoiaSrc_Class; } // namespace Gst
    00039 namespace Gst
    00040 {
    00041
    00047 enum CdParanoiaMode
    00048 {
    00049   PARANOIA_MODE_DISABLE = 1<<0,
    00050   PARANOIA_MODE_FRAGMENT = 1<<1,
    00051   PARANOIA_MODE_OVERLAP = 1<<2,
    00052   PARANOIA_MODE_SCRATCH = 1<<3,
    00053   PARANOIA_MODE_REPAIR = 1<<4,
    00054   PARANOIA_MODE_FULL = 0xff
    00055 };
    00056
    00057 } // namespace Gst
    00058
    00059
    00060 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00061 namespace Glib
    00062 {
    00063
    00064 template <>
    00065 class Value<Gst::CdParanoiaMode> : public Glib::Value_Enum<Gst::CdParanoiaMode>
    00066 {
    00067 public:
    00068   static GType value_type() G_GNUC_CONST;
    00069 };
    00070
    00071 } // namespace Glib
    00072 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00073
    00074
    00075 namespace Gst
    00076 {
    00077
    00078
    00089 class CdParanoiaSrc
    00090 : public Gst::PushSrc
    00091 {
    00092
    00093 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00094
    00095 public:
    00096   typedef CdParanoiaSrc CppObjectType;
    00097   typedef CdParanoiaSrc_Class CppClassType;
    00098   typedef GstCdParanoiaSrc BaseObjectType;
    00099   typedef GstCdParanoiaSrcClass BaseClassType;
    00100
    00101 private:  friend class CdParanoiaSrc_Class;
    00102   static CppClassType cdparanoiasrc_class_;
    00103
    00104 private:
    00105   // noncopyable
    00106   CdParanoiaSrc(const CdParanoiaSrc&);
    00107   CdParanoiaSrc& operator=(const CdParanoiaSrc&);
    00108
    00109 protected:
    00110   explicit CdParanoiaSrc(const Glib::ConstructParams& construct_params);
    00111   explicit CdParanoiaSrc(GstCdParanoiaSrc* castitem);
    00112
    00113 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00114
    00115 public:
    00116   virtual ~CdParanoiaSrc();
    00117
    00118 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00119   static GType get_type()      G_GNUC_CONST;
    00120   static GType get_base_type() G_GNUC_CONST;
    00121 #endif
    00122
    00124   GstCdParanoiaSrc*       gobj()       { return reinterpret_cast<GstCdParanoiaSrc*>(gobject_); }
    00125
    00127   const GstCdParanoiaSrc* gobj() const { return reinterpret_cast<GstCdParanoiaSrc*>(gobject_); }
    00128
    00130   GstCdParanoiaSrc* gobj_copy();
    00131
    00132 private:
    00133
    00134
    00135 protected:
    00136   CdParanoiaSrc();
    00137   CdParanoiaSrc(const Glib::ustring& name);
    00138
    00139 public:
    00143   static Glib::RefPtr<CdParanoiaSrc> create();
    00144
    00145
    00149   static Glib::RefPtr<CdParanoiaSrc> create(const Glib::ustring& name);
    00150
    00151
    00152   #ifdef GLIBMM_PROPERTIES_ENABLED
    00153
    00159   Glib::PropertyProxy<int> property_read_speed() ;
    00160 #endif //#GLIBMM_PROPERTIES_ENABLED
    00161
    00162 #ifdef GLIBMM_PROPERTIES_ENABLED
    00163
    00169   Glib::PropertyProxy_ReadOnly<int> property_read_speed() const;
    00170 #endif //#GLIBMM_PROPERTIES_ENABLED
    00171
    00172   #ifdef GLIBMM_PROPERTIES_ENABLED
    00173
    00179   Glib::PropertyProxy<CdParanoiaMode> property_paranoia_mode() ;
    00180 #endif //#GLIBMM_PROPERTIES_ENABLED
    00181
    00182 #ifdef GLIBMM_PROPERTIES_ENABLED
    00183
    00189   Glib::PropertyProxy_ReadOnly<CdParanoiaMode> property_paranoia_mode() const;
    00190 #endif //#GLIBMM_PROPERTIES_ENABLED
    00191
    00192   #ifdef GLIBMM_PROPERTIES_ENABLED
    00193
    00199   Glib::PropertyProxy<int> property_search_overlap() ;
    00200 #endif //#GLIBMM_PROPERTIES_ENABLED
    00201
    00202 #ifdef GLIBMM_PROPERTIES_ENABLED
    00203
    00209   Glib::PropertyProxy_ReadOnly<int> property_search_overlap() const;
    00210 #endif //#GLIBMM_PROPERTIES_ENABLED
    00211
    00212   #ifdef GLIBMM_PROPERTIES_ENABLED
    00213
    00219   Glib::PropertyProxy<Glib::ustring> property_generic_device() ;
    00220 #endif //#GLIBMM_PROPERTIES_ENABLED
    00221
    00222 #ifdef GLIBMM_PROPERTIES_ENABLED
    00223
    00229   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_generic_device() const;
    00230 #endif //#GLIBMM_PROPERTIES_ENABLED
    00231
    00232
    00238   Glib::SignalProxy1< void,int > signal_transport_error();
    00239
    00240
    00246   Glib::SignalProxy1< void,int > signal_uncorrected_error();
    00247
    00248
    00249 public:
    00250
    00251 public:
    00252   //C++ methods used to invoke GTK+ virtual functions:
    00253 #ifdef GLIBMM_VFUNCS_ENABLED
    00254 #endif //GLIBMM_VFUNCS_ENABLED
    00255
    00256 protected:
    00257   //GTK+ Virtual Functions (override these to change behaviour):
    00258 #ifdef GLIBMM_VFUNCS_ENABLED
    00259 #endif //GLIBMM_VFUNCS_ENABLED
    00260
    00261   //Default Signal Handlers::
    00262 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00263   virtual void on_transport_error(int arg0);
    00264   virtual void on_uncorrected_error(int arg0);
    00265 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00266
    00267
    00268 };
    00269
    00270 } //namespace Gst
    00271
    00272
    00273 namespace Glib
    00274 {
    00283   Glib::RefPtr<Gst::CdParanoiaSrc> wrap(GstCdParanoiaSrc* object, bool take_copy = false);
    00284 }
    00285
    00286
    00287 #endif /* _GSTREAMERMM_CDPARANOIASRC_H */
    00288