- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

# 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
    00141
    00142   static GType get_base_type() G_GNUC_CONST;
    00143 #endif
    00144
    00146   GstCddaBaseSrc*       gobj()       { return reinterpret_cast<GstCddaBaseSrc*>(gobject_); }
    00147
    00149   const GstCddaBaseSrc* gobj() const { return reinterpret_cast<GstCddaBaseSrc*>(gobject_); }
    00150
    00152   GstCddaBaseSrc* gobj_copy();
    00153
    00154 private:
    00155
    00156
    00157 public:
    00158   //TODO: _WRAP_METHOD(bool add_track(...), gst_cdda_base_src_add_track)
    00159
    00160   #ifdef GLIBMM_PROPERTIES_ENABLED
    00161
    00167   Glib::PropertyProxy<Glib::ustring> property_device() ;
    00168 #endif //#GLIBMM_PROPERTIES_ENABLED
    00169
    00170 #ifdef GLIBMM_PROPERTIES_ENABLED
    00171
    00177   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_device() const;
    00178 #endif //#GLIBMM_PROPERTIES_ENABLED
    00179
    00180   #ifdef GLIBMM_PROPERTIES_ENABLED
    00181
    00187   Glib::PropertyProxy<CddaBaseSrcMode> property_mode() ;
    00188 #endif //#GLIBMM_PROPERTIES_ENABLED
    00189
    00190 #ifdef GLIBMM_PROPERTIES_ENABLED
    00191
    00197   Glib::PropertyProxy_ReadOnly<CddaBaseSrcMode> property_mode() const;
    00198 #endif //#GLIBMM_PROPERTIES_ENABLED
    00199
    00200   #ifdef GLIBMM_PROPERTIES_ENABLED
    00201
    00207   Glib::PropertyProxy<guint> property_track() ;
    00208 #endif //#GLIBMM_PROPERTIES_ENABLED
    00209
    00210 #ifdef GLIBMM_PROPERTIES_ENABLED
    00211
    00217   Glib::PropertyProxy_ReadOnly<guint> property_track() const;
    00218 #endif //#GLIBMM_PROPERTIES_ENABLED
    00219
    00220
    00221   //TODO: Wrap vfuncs.
    00222
    00223
    00224 public:
    00225
    00226 public:
    00227   //C++ methods used to invoke GTK+ virtual functions:
    00228 #ifdef GLIBMM_VFUNCS_ENABLED
    00229 #endif //GLIBMM_VFUNCS_ENABLED
    00230
    00231 protected:
    00232   //GTK+ Virtual Functions (override these to change behaviour):
    00233 #ifdef GLIBMM_VFUNCS_ENABLED
    00234 #endif //GLIBMM_VFUNCS_ENABLED
    00235
    00236   //Default Signal Handlers::
    00237 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00238 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00239
    00240
    00241 };
    00242
    00243 } // namespace Gst
    00244
    00245
    00246 namespace Glib
    00247 {
    00256   Glib::RefPtr<Gst::CddaBaseSrc> wrap(GstCddaBaseSrc* object, bool take_copy = false);
    00257 }
    00258
    00259
    00260 #endif /* _GSTREAMERMM_CDDABASESRC_H */
    00261