#include <systemclock.h>
Public Member Functions | |
virtual | ~SystemClock () |
GstSystemClock* | gobj () |
Provides access to the underlying C GObject. | |
const GstSystemClock* | gobj () const |
Provides access to the underlying C GObject. | |
GstSystemClock* | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
Static Public Member Functions | |
static Glib::RefPtr<Gst::Clock> | obtain () |
Get a handle to the default system clock. | |
Protected Member Functions | |
SystemClock () | |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr<Gst::SystemClock> | wrap (GstSystemClock* object, bool take_copy=false) |
A Glib::wrap() method for this object. |
The GStreamer core provides a Gst::SystemClock based on the system time. Asynchronous callbacks are scheduled from an internal thread.
Gst::Clock implementors are encouraged to subclass this systemclock as it implements the async notification.
Subclasses can however override all of the important methods for sync and async notifications to implement their own callback methods or blocking wait operations.
Last reviewed on 2006-03-08 (0.10.4)
virtual Gst::SystemClock::~SystemClock | ( | ) | [virtual] |
Gst::SystemClock::SystemClock | ( | ) | [protected] |
const GstSystemClock* Gst::SystemClock::gobj | ( | ) | const [inline] |
Provides access to the underlying C GObject.
Reimplemented from Gst::Clock.
Reimplemented in GstBase::AudioClock.
GstSystemClock* Gst::SystemClock::gobj | ( | ) | [inline] |
Provides access to the underlying C GObject.
Reimplemented from Gst::Clock.
Reimplemented in GstBase::AudioClock.
GstSystemClock* Gst::SystemClock::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
Reimplemented from Gst::Clock.
Reimplemented in GstBase::AudioClock.
static Glib::RefPtr<Gst::Clock> Gst::SystemClock::obtain | ( | ) | [static] |
Get a handle to the default system clock.
The refcount of the clock will be increased so you need to unref the clock after usage.
Glib::RefPtr<Gst::SystemClock> wrap | ( | GstSystemClock * | object, | |
bool | take_copy = false | |||
) | [related] |
A Glib::wrap() method for this object.
object | The C instance. | |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |