- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

# audioclock.h

Go to the documentation of this file.

    00001 // -*- c++ -*-
    00002 // Generated by gtkmmproc -- DO NOT MODIFY!
    00003 #ifndef _GSTREAMERMM_AUDIOCLOCK_H
    00004 #define _GSTREAMERMM_AUDIOCLOCK_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/systemclock.h>
    00029
    00030
    00031 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00032 typedef struct _GstAudioClock GstAudioClock;
    00033 typedef struct _GstAudioClockClass GstAudioClockClass;
    00034 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00035
    00036
    00037 namespace Gst
    00038 { class AudioClock_Class; } // namespace Gst
    00039 namespace Gst
    00040 {
    00041
    00052 class AudioClock : public Gst::SystemClock
    00053 {
    00054
    00055 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00056
    00057 public:
    00058   typedef AudioClock CppObjectType;
    00059   typedef AudioClock_Class CppClassType;
    00060   typedef GstAudioClock BaseObjectType;
    00061   typedef GstAudioClockClass BaseClassType;
    00062
    00063 private:  friend class AudioClock_Class;
    00064   static CppClassType audioclock_class_;
    00065
    00066 private:
    00067   // noncopyable
    00068   AudioClock(const AudioClock&);
    00069   AudioClock& operator=(const AudioClock&);
    00070
    00071 protected:
    00072   explicit AudioClock(const Glib::ConstructParams& construct_params);
    00073   explicit AudioClock(GstAudioClock* castitem);
    00074
    00075 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00076
    00077 public:
    00078   virtual ~AudioClock();
    00079
    00080 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00081   static GType get_type()      G_GNUC_CONST;
    00082
    00083
    00084   static GType get_base_type() G_GNUC_CONST;
    00085 #endif
    00086
    00088   GstAudioClock*       gobj()       { return reinterpret_cast<GstAudioClock*>(gobject_); }
    00089
    00091   const GstAudioClock* gobj() const { return reinterpret_cast<GstAudioClock*>(gobject_); }
    00092
    00094   GstAudioClock* gobj_copy();
    00095
    00096 private:
    00097
    00098
    00099 public:
    00108   typedef sigc::slot< Gst::ClockTime, const Glib::RefPtr<Gst::Clock>& > SlotGetTime;
    00109
    00110 protected:
    00111   AudioClock(const Glib::ustring& name, const SlotGetTime& time_slot);
    00112
    00113 public:
    00124   static Glib::RefPtr<AudioClock> create(const Glib::ustring& name, const SlotGetTime& time_slot);
    00125 ;
    00126
    00127 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00128 private:
    00129   SlotGetTime* slot;
    00130   bool _slot_set;
    00131 #endif
    00132
    00133
    00134 public:
    00135
    00136 public:
    00137   //C++ methods used to invoke GTK+ virtual functions:
    00138 #ifdef GLIBMM_VFUNCS_ENABLED
    00139 #endif //GLIBMM_VFUNCS_ENABLED
    00140
    00141 protected:
    00142   //GTK+ Virtual Functions (override these to change behaviour):
    00143 #ifdef GLIBMM_VFUNCS_ENABLED
    00144 #endif //GLIBMM_VFUNCS_ENABLED
    00145
    00146   //Default Signal Handlers::
    00147 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00148 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00149
    00150
    00151 };
    00152
    00153 } // namespace Gst
    00154
    00155
    00156 namespace Glib
    00157 {
    00166   Glib::RefPtr<Gst::AudioClock> wrap(GstAudioClock* object, bool take_copy = false);
    00167 }
    00168
    00169
    00170 #endif /* _GSTREAMERMM_AUDIOCLOCK_H */
    00171