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
00029
00030 #include <gstreamermm/clock.h>
00031
00032
00033 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00034 typedef struct _GstSystemClock GstSystemClock;
00035 typedef struct _GstSystemClockClass GstSystemClockClass;
00036 #endif
00037
00038
00039 namespace Gst
00040 { class SystemClock_Class; }
00041 namespace Gst
00042 {
00043
00058 class SystemClock : public Clock
00059 {
00060
00061 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00062
00063 public:
00064 typedef SystemClock CppObjectType;
00065 typedef SystemClock_Class CppClassType;
00066 typedef GstSystemClock BaseObjectType;
00067 typedef GstSystemClockClass BaseClassType;
00068
00069 private: friend class SystemClock_Class;
00070 static CppClassType systemclock_class_;
00071
00072 private:
00073
00074 SystemClock(const SystemClock&);
00075 SystemClock& operator=(const SystemClock&);
00076
00077 protected:
00078 explicit SystemClock(const Glib::ConstructParams& construct_params);
00079 explicit SystemClock(GstSystemClock* castitem);
00080
00081 #endif
00082
00083 public:
00084 virtual ~SystemClock();
00085
00086 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00087 static GType get_type() G_GNUC_CONST;
00088 static GType get_base_type() G_GNUC_CONST;
00089 #endif
00090
00092 GstSystemClock* gobj() { return reinterpret_cast<GstSystemClock*>(gobject_); }
00093
00095 const GstSystemClock* gobj() const { return reinterpret_cast<GstSystemClock*>(gobject_); }
00096
00098 GstSystemClock* gobj_copy();
00099
00100 private:
00101
00102
00103 protected:
00104 SystemClock();
00105
00106 public:
00107
00115 static Glib::RefPtr<Gst::Clock> obtain();
00116
00117
00118 public:
00119
00120 public:
00121
00122 #ifdef GLIBMM_VFUNCS_ENABLED
00123 #endif //GLIBMM_VFUNCS_ENABLED
00124
00125 protected:
00126
00127 #ifdef GLIBMM_VFUNCS_ENABLED
00128 #endif //GLIBMM_VFUNCS_ENABLED
00129
00130
00131 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00132 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00133
00134
00135 };
00136
00137 }
00138
00139
00140 namespace Glib
00141 {
00150 Glib::RefPtr<Gst::SystemClock> wrap(GstSystemClock* object, bool take_copy = false);
00151 }
00152
00153
00154 #endif
00155