- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List

# cddabasesrc.h

Go to the documentation of this file.

    00001 // -*- c++ -*-
    00002 // Generated by gtkmmproc -- DO NOT MODIFY!
    00003 #ifndef _GSTREAMERMM_CDDABASESRC_H
    00004 #define _GSTREAMERMM_CDDABASESRC_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 <gst/cdda/gstcddabasesrc.h>
    00029 #include <gstreamermm/pushsrc.h>
    00030
    00031
    00032 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00033 typedef struct _GstCddaBaseSrc GstCddaBaseSrc;
    00034 typedef struct _GstCddaBaseSrcClass GstCddaBaseSrcClass;
    00035 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00036
    00037
    00038 namespace Gst
    00039 { class CddaBaseSrc_Class; } // namespace Gst
    00040 namespace Gst
    00041 {
    00042
    00048 enum CddaBaseSrcMode
    00049 {
    00050   CDDA_BASE_SRC_MODE_NORMAL,
    00051   CDDA_BASE_SRC_MODE_CONTINUOUS
    00052 };
    00053
    00054 } // namespace Gst
    00055
    00056
    00057 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00058 namespace Glib
    00059 {
    00060
    00061 template <>
    00062 class Value<Gst::CddaBaseSrcMode> : public Glib::Value_Enum<Gst::CddaBaseSrcMode>
    00063 {
    00064 public:
    00065   static GType value_type() G_GNUC_CONST;
    00066 };
    00067
    00068 } // namespace Glib
    00069 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00070
    00071
    00072 namespace Gst
    00073 {
    00074
    00075
    00110 class CddaBaseSrc : public Gst::PushSrc
    00111 {
    00112
    00113 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00114
    00115 public:
    00116   typedef CddaBaseSrc CppObjectType;
    00117   typedef CddaBaseSrc_Class CppClassType;
    00118   typedef GstCddaBaseSrc BaseObjectType;
    00119   typedef GstCddaBaseSrcClass BaseClassType;
    00120
    00121 private:  friend class CddaBaseSrc_Class;
    00122   static CppClassType cddabasesrc_class_;
    00123
    00124 private:
    00125   // noncopyable
    00126   CddaBaseSrc(const CddaBaseSrc&);
    00127   CddaBaseSrc& operator=(const CddaBaseSrc&);
    00128
    00129 protected:
    00130   explicit CddaBaseSrc(const Glib::ConstructParams& construct_params);
    00131   explicit CddaBaseSrc(GstCddaBaseSrc* castitem);
    00132
    00133 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00134
    00135 public:
    00136   virtual ~CddaBaseSrc();
    00137
    00138 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00139   static GType get_type()      G_GNUC_CONST;
    00140   static GType get_base_type() G_GNUC_CONST;
    00141 #endif
    00142
    00144   GstCddaBaseSrc*       gobj()       { return reinterpret_cast<GstCddaBaseSrc*>(gobject_); }
    00145
    00147   const GstCddaBaseSrc* gobj() const { return reinterpret_cast<GstCddaBaseSrc*>(gobject_); }
    00148
    00150   GstCddaBaseSrc* gobj_copy();
    00151
    00152 private:
    00153
    00154
    00155 public:
    00156   //TODO: _WRAP_METHOD(bool add_track(...), gst_cdda_base_src_add_track)
    00157
    00158   #ifdef GLIBMM_PROPERTIES_ENABLED
    00159
    00165   Glib::PropertyProxy<Glib::ustring> property_device() ;
    00166 #endif //#GLIBMM_PROPERTIES_ENABLED
    00167
    00168 #ifdef GLIBMM_PROPERTIES_ENABLED
    00169
    00175   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_device() const;
    00176 #endif //#GLIBMM_PROPERTIES_ENABLED
    00177
    00178   #ifdef GLIBMM_PROPERTIES_ENABLED
    00179
    00185   Glib::PropertyProxy<CddaBaseSrcMode> property_mode() ;
    00186 #endif //#GLIBMM_PROPERTIES_ENABLED
    00187
    00188 #ifdef GLIBMM_PROPERTIES_ENABLED
    00189
    00195   Glib::PropertyProxy_ReadOnly<CddaBaseSrcMode> property_mode() const;
    00196 #endif //#GLIBMM_PROPERTIES_ENABLED
    00197
    00198   #ifdef GLIBMM_PROPERTIES_ENABLED
    00199
    00205   Glib::PropertyProxy<guint> property_track() ;
    00206 #endif //#GLIBMM_PROPERTIES_ENABLED
    00207
    00208 #ifdef GLIBMM_PROPERTIES_ENABLED
    00209
    00215   Glib::PropertyProxy_ReadOnly<guint> property_track() const;
    00216 #endif //#GLIBMM_PROPERTIES_ENABLED
    00217
    00218
    00219   //TODO: Wrap vfuncs.
    00220
    00221
    00222 public:
    00223
    00224 public:
    00225   //C++ methods used to invoke GTK+ virtual functions:
    00226 #ifdef GLIBMM_VFUNCS_ENABLED
    00227 #endif //GLIBMM_VFUNCS_ENABLED
    00228
    00229 protected:
    00230   //GTK+ Virtual Functions (override these to change behaviour):
    00231 #ifdef GLIBMM_VFUNCS_ENABLED
    00232 #endif //GLIBMM_VFUNCS_ENABLED
    00233
    00234   //Default Signal Handlers::
    00235 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00236 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00237
    00238
    00239 };
    00240
    00241 } // namespace Gst
    00242
    00243
    00244 namespace Glib
    00245 {
    00254   Glib::RefPtr<Gst::CddaBaseSrc> wrap(GstCddaBaseSrc* object, bool take_copy = false);
    00255 }
    00256
    00257
    00258 #endif /* _GSTREAMERMM_CDDABASESRC_H */
    00259