- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List

# 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   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   //C++ methods used to invoke GTK+ virtual functions:
    00120 #ifdef GLIBMM_VFUNCS_ENABLED
    00121 #endif //GLIBMM_VFUNCS_ENABLED
    00122
    00123 protected:
    00124   //GTK+ Virtual Functions (override these to change behaviour):
    00125 #ifdef GLIBMM_VFUNCS_ENABLED
    00126 #endif //GLIBMM_VFUNCS_ENABLED
    00127
    00128   //Default Signal Handlers::
    00129 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00130 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00131
    00132
    00133 };
    00134
    00135 } //namespace Gst
    00136
    00137
    00138 namespace Glib
    00139 {
    00148   Glib::RefPtr<Gst::SystemClock> wrap(GstSystemClock* object, bool take_copy = false);
    00149 }
    00150
    00151
    00152 #endif /* _GSTREAMERMM_SYSTEMCLOCK_H */
    00153