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
00087
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