00001
00002
00003 #ifndef _GSTREAMERMM_SYSTEMCLOCK_H
00004 #define _GSTREAMERMM_SYSTEMCLOCK_H
00005
00006
00007 #include <glibmm.h>
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #include <gstreamermm/clock.h>
00029
00030
00031 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00032 typedef struct _GstSystemClock GstSystemClock;
00033 typedef struct _GstSystemClockClass GstSystemClockClass;
00034 #endif
00035
00036
00037 namespace Gst
00038 { class SystemClock_Class; }
00039 namespace Gst
00040 {
00041
00056 class SystemClock : public Clock
00057 {
00058
00059 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00060
00061 public:
00062 typedef SystemClock CppObjectType;
00063 typedef SystemClock_Class CppClassType;
00064 typedef GstSystemClock BaseObjectType;
00065 typedef GstSystemClockClass BaseClassType;
00066
00067 private: friend class SystemClock_Class;
00068 static CppClassType systemclock_class_;
00069
00070 private:
00071
00072 SystemClock(const SystemClock&);
00073 SystemClock& operator=(const SystemClock&);
00074
00075 protected:
00076 explicit SystemClock(const Glib::ConstructParams& construct_params);
00077 explicit SystemClock(GstSystemClock* castitem);
00078
00079 #endif
00080
00081 public:
00082 virtual ~SystemClock();
00083
00084 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00085 static GType get_type() G_GNUC_CONST;
00086 static GType get_base_type() G_GNUC_CONST;
00087 #endif
00088
00090 GstSystemClock* gobj() { return reinterpret_cast<GstSystemClock*>(gobject_); }
00091
00093 const GstSystemClock* gobj() const { return reinterpret_cast<GstSystemClock*>(gobject_); }
00094
00096 GstSystemClock* gobj_copy();
00097
00098 private:
00099
00100
00101 protected:
00102 SystemClock();
00103
00104 public:
00105
00113 static Glib::RefPtr<Gst::Clock> obtain();
00114
00115
00116 public:
00117
00118 public:
00119
00120 #ifdef GLIBMM_VFUNCS_ENABLED
00121 #endif //GLIBMM_VFUNCS_ENABLED
00122
00123 protected:
00124
00125 #ifdef GLIBMM_VFUNCS_ENABLED
00126 #endif //GLIBMM_VFUNCS_ENABLED
00127
00128
00129 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00130 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00131
00132
00133 };
00134
00135 }
00136
00137
00138 namespace Glib
00139 {
00148 Glib::RefPtr<Gst::SystemClock> wrap(GstSystemClock* object, bool take_copy = false);
00149 }
00150
00151
00152 #endif
00153