- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

# audiotestsrc.h

Go to the documentation of this file.

    00001 // -*- c++ -*-
    00002 // Generated by gtkmmproc -- DO NOT MODIFY!
    00003 #ifndef _GSTREAMERMM_AUDIOTESTSRC_H
    00004 #define _GSTREAMERMM_AUDIOTESTSRC_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 // Generated by generate_plugin_gmmproc_file. Don't edit this file.
    00029
    00030 #include <gstreamermm/basesrc.h>
    00031
    00032
    00033 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00034 typedef struct _GstAudioTestSrc GstAudioTestSrc;
    00035 typedef struct _GstAudioTestSrcClass GstAudioTestSrcClass;
    00036 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00037
    00038
    00039 namespace Gst
    00040 { class AudioTestSrc_Class; } // namespace Gst
    00041 namespace Gst
    00042 {
    00043
    00049 enum AudioTestSrcWave
    00050 {
    00051   AUDIO_TEST_SRC_WAVE_SINE,
    00052   AUDIO_TEST_SRC_WAVE_SQUARE,
    00053   AUDIO_TEST_SRC_WAVE_SAW,
    00054   AUDIO_TEST_SRC_WAVE_TRIANGLE,
    00055   AUDIO_TEST_SRC_WAVE_SILENCE,
    00056   AUDIO_TEST_SRC_WAVE_WHITE_NOISE,
    00057   AUDIO_TEST_SRC_WAVE_PINK_NOISE,
    00058   AUDIO_TEST_SRC_WAVE_SINE_TAB,
    00059   AUDIO_TEST_SRC_WAVE_TICKS,
    00060   AUDIO_TEST_SRC_WAVE_GAUSSIAN_WHITE_NOISE
    00061 };
    00062
    00063 } // namespace Gst
    00064
    00065
    00066 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00067 namespace Glib
    00068 {
    00069
    00070 template <>
    00071 class Value<Gst::AudioTestSrcWave> : public Glib::Value_Enum<Gst::AudioTestSrcWave>
    00072 {
    00073 public:
    00074   static GType value_type() G_GNUC_CONST;
    00075 };
    00076
    00077 } // namespace Glib
    00078 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00079
    00080
    00081 namespace Gst
    00082 {
    00083
    00084
    00095 class AudioTestSrc
    00096 : public Gst::BaseSrc
    00097 {
    00098
    00099 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00100
    00101 public:
    00102   typedef AudioTestSrc CppObjectType;
    00103   typedef AudioTestSrc_Class CppClassType;
    00104   typedef GstAudioTestSrc BaseObjectType;
    00105   typedef GstAudioTestSrcClass BaseClassType;
    00106
    00107 private:  friend class AudioTestSrc_Class;
    00108   static CppClassType audiotestsrc_class_;
    00109
    00110 private:
    00111   // noncopyable
    00112   AudioTestSrc(const AudioTestSrc&);
    00113   AudioTestSrc& operator=(const AudioTestSrc&);
    00114
    00115 protected:
    00116   explicit AudioTestSrc(const Glib::ConstructParams& construct_params);
    00117   explicit AudioTestSrc(GstAudioTestSrc* castitem);
    00118
    00119 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00120
    00121 public:
    00122   virtual ~AudioTestSrc();
    00123
    00124 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00125   static GType get_type()      G_GNUC_CONST;
    00126
    00127
    00128   static GType get_base_type() G_GNUC_CONST;
    00129 #endif
    00130
    00132   GstAudioTestSrc*       gobj()       { return reinterpret_cast<GstAudioTestSrc*>(gobject_); }
    00133
    00135   const GstAudioTestSrc* gobj() const { return reinterpret_cast<GstAudioTestSrc*>(gobject_); }
    00136
    00138   GstAudioTestSrc* gobj_copy();
    00139
    00140 private:
    00141
    00142
    00143 protected:
    00144   AudioTestSrc();
    00145   AudioTestSrc(const Glib::ustring& name);
    00146
    00147 public:
    00151   static Glib::RefPtr<AudioTestSrc> create();
    00152
    00153
    00157   static Glib::RefPtr<AudioTestSrc> create(const Glib::ustring& name);
    00158
    00159
    00160   #ifdef GLIBMM_PROPERTIES_ENABLED
    00161
    00167   Glib::PropertyProxy<int> property_samplesperbuffer() ;
    00168 #endif //#GLIBMM_PROPERTIES_ENABLED
    00169
    00170 #ifdef GLIBMM_PROPERTIES_ENABLED
    00171
    00177   Glib::PropertyProxy_ReadOnly<int> property_samplesperbuffer() const;
    00178 #endif //#GLIBMM_PROPERTIES_ENABLED
    00179
    00180   #ifdef GLIBMM_PROPERTIES_ENABLED
    00181
    00187   Glib::PropertyProxy<Gst::AudioTestSrcWave> property_wave() ;
    00188 #endif //#GLIBMM_PROPERTIES_ENABLED
    00189
    00190 #ifdef GLIBMM_PROPERTIES_ENABLED
    00191
    00197   Glib::PropertyProxy_ReadOnly<Gst::AudioTestSrcWave> property_wave() const;
    00198 #endif //#GLIBMM_PROPERTIES_ENABLED
    00199
    00200   #ifdef GLIBMM_PROPERTIES_ENABLED
    00201
    00207   Glib::PropertyProxy<double> property_freq() ;
    00208 #endif //#GLIBMM_PROPERTIES_ENABLED
    00209
    00210 #ifdef GLIBMM_PROPERTIES_ENABLED
    00211
    00217   Glib::PropertyProxy_ReadOnly<double> property_freq() const;
    00218 #endif //#GLIBMM_PROPERTIES_ENABLED
    00219
    00220   #ifdef GLIBMM_PROPERTIES_ENABLED
    00221
    00227   Glib::PropertyProxy<double> property_volume() ;
    00228 #endif //#GLIBMM_PROPERTIES_ENABLED
    00229
    00230 #ifdef GLIBMM_PROPERTIES_ENABLED
    00231
    00237   Glib::PropertyProxy_ReadOnly<double> property_volume() const;
    00238 #endif //#GLIBMM_PROPERTIES_ENABLED
    00239
    00240   #ifdef GLIBMM_PROPERTIES_ENABLED
    00241
    00247   Glib::PropertyProxy<bool> property_is_live() ;
    00248 #endif //#GLIBMM_PROPERTIES_ENABLED
    00249
    00250 #ifdef GLIBMM_PROPERTIES_ENABLED
    00251
    00257   Glib::PropertyProxy_ReadOnly<bool> property_is_live() const;
    00258 #endif //#GLIBMM_PROPERTIES_ENABLED
    00259
    00260   #ifdef GLIBMM_PROPERTIES_ENABLED
    00261
    00267   Glib::PropertyProxy<gint64> property_timestamp_offset() ;
    00268 #endif //#GLIBMM_PROPERTIES_ENABLED
    00269
    00270 #ifdef GLIBMM_PROPERTIES_ENABLED
    00271
    00277   Glib::PropertyProxy_ReadOnly<gint64> property_timestamp_offset() const;
    00278 #endif //#GLIBMM_PROPERTIES_ENABLED
    00279
    00280   #ifdef GLIBMM_PROPERTIES_ENABLED
    00281
    00287   Glib::PropertyProxy<bool> property_can_activate_push() ;
    00288 #endif //#GLIBMM_PROPERTIES_ENABLED
    00289
    00290 #ifdef GLIBMM_PROPERTIES_ENABLED
    00291
    00297   Glib::PropertyProxy_ReadOnly<bool> property_can_activate_push() const;
    00298 #endif //#GLIBMM_PROPERTIES_ENABLED
    00299
    00300   #ifdef GLIBMM_PROPERTIES_ENABLED
    00301
    00307   Glib::PropertyProxy<bool> property_can_activate_pull() ;
    00308 #endif //#GLIBMM_PROPERTIES_ENABLED
    00309
    00310 #ifdef GLIBMM_PROPERTIES_ENABLED
    00311
    00317   Glib::PropertyProxy_ReadOnly<bool> property_can_activate_pull() const;
    00318 #endif //#GLIBMM_PROPERTIES_ENABLED
    00319
    00320
    00321 public:
    00322
    00323 public:
    00324   //C++ methods used to invoke GTK+ virtual functions:
    00325 #ifdef GLIBMM_VFUNCS_ENABLED
    00326 #endif //GLIBMM_VFUNCS_ENABLED
    00327
    00328 protected:
    00329   //GTK+ Virtual Functions (override these to change behaviour):
    00330 #ifdef GLIBMM_VFUNCS_ENABLED
    00331 #endif //GLIBMM_VFUNCS_ENABLED
    00332
    00333   //Default Signal Handlers::
    00334 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00335 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00336
    00337
    00338 };
    00339
    00340 } //namespace Gst
    00341
    00342
    00343 namespace Glib
    00344 {
    00353   Glib::RefPtr<Gst::AudioTestSrc> wrap(GstAudioTestSrc* object, bool take_copy = false);
    00354 }
    00355
    00356
    00357 #endif /* _GSTREAMERMM_AUDIOTESTSRC_H */
    00358