- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

# systemclock.h

Go to the documentation of this file.

    00001 // -*- c++ -*-
    00002 // Generated by gtkmmproc -- DO NOT MODIFY!
    00003 #ifndef _GSTREAMERMM_SYSTEMCLOCK_H
    00004 #define _GSTREAMERMM_SYSTEMCLOCK_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/clock.h>
    00029
    00030
    00031 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00032 typedef struct _GstSystemClock GstSystemClock;
    00033 typedef struct _GstSystemClockClass GstSystemClockClass;
    00034 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00035
    00036
    00037 namespace Gst
    00038 { class SystemClock_Class; } // namespace Gst
    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   // noncopyable
    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 /* DOXYGEN_SHOULD_SKIP_THIS */
    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   //C++ methods used to invoke GTK+ virtual functions:
    00122 #ifdef GLIBMM_VFUNCS_ENABLED
    00123 #endif //GLIBMM_VFUNCS_ENABLED
    00124
    00125 protected:
    00126   //GTK+ Virtual Functions (override these to change behaviour):
    00127 #ifdef GLIBMM_VFUNCS_ENABLED
    00128 #endif //GLIBMM_VFUNCS_ENABLED
    00129
    00130   //Default Signal Handlers::
    00131 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00132 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00133
    00134
    00135 };
    00136
    00137 } //namespace Gst
    00138
    00139
    00140 namespace Glib
    00141 {
    00150   Glib::RefPtr<Gst::SystemClock> wrap(GstSystemClock* object, bool take_copy = false);
    00151 }
    00152
    00153
    00154 #endif /* _GSTREAMERMM_SYSTEMCLOCK_H */
    00155