#include <clock.h>
Inheritance diagram for Gst::Clock:
Public Types | |
typedef Clock | CppObjectType |
typedef Clock_Class | CppClassType |
typedef GstClock | BaseObjectType |
typedef GstClockClass | BaseClassType |
Public Member Functions | |
virtual | ~Clock () |
GstClock * | gobj () |
Provides access to the underlying C GObject. | |
const GstClock * | gobj () const |
Provides access to the underlying C GObject. | |
GstClock * | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
bool | add_observation (ClockTime slave_time, ClockTime master_time, gdouble *result) |
bool | set_master (const Clock &master_clock) |
Glib::RefPtr< Clock > | get_master () |
ClockTime | set_resolution (ClockTime resolution) |
ClockTime | get_resolution () const |
ClockTime | get_time () const |
ClockTime | get_internal_time () const |
ClockTime | adjust_unlocked (ClockTime internal_time) |
ClockTime | unadjust_unlocked (ClockTime external_time) |
Static Public Member Functions | |
static GType | get_type () G_GNUC_CONST |
static GType | get_base_type () G_GNUC_CONST |
Protected Member Functions | |
Clock (const Glib::ConstructParams &construct_params) | |
Clock (GstClock *castitem) | |
Clock () | |
Friends | |
class | Clock_Class |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr< Gst::Clock > | wrap (GstClock *object, bool take_copy=false) |
typedef Clock Gst::Clock::CppObjectType |
typedef Clock_Class Gst::Clock::CppClassType |
typedef GstClock Gst::Clock::BaseObjectType |
Gst::Clock::Clock | ( | const Glib::ConstructParams & | construct_params | ) | [explicit, protected] |
Gst::Clock::Clock | ( | GstClock * | castitem | ) | [explicit, protected] |
virtual Gst::Clock::~Clock | ( | ) | [virtual] |
Gst::Clock::Clock | ( | ) | [protected] |
static GType Gst::Clock::get_type | ( | ) | [static] |
static GType Gst::Clock::get_base_type | ( | ) | [static] |
GstClock* Gst::Clock::gobj | ( | ) | [inline] |
Provides access to the underlying C GObject.
Reimplemented from Gst::Object.
Reimplemented in Gst::SystemClock.
const GstClock* Gst::Clock::gobj | ( | ) | const [inline] |
Provides access to the underlying C GObject.
Reimplemented from Gst::Object.
Reimplemented in Gst::SystemClock.
GstClock* Gst::Clock::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::Object.
Reimplemented in Gst::SystemClock.
bool Gst::Clock::set_master | ( | const Clock & | master_clock | ) |
Glib::RefPtr<Clock> Gst::Clock::get_master | ( | ) |
ClockTime Gst::Clock::get_resolution | ( | ) | const |
ClockTime Gst::Clock::get_time | ( | ) | const |
ClockTime Gst::Clock::get_internal_time | ( | ) | const |
friend class Clock_Class [friend] |
Glib::RefPtr< Gst::Clock > wrap | ( | GstClock * | 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. |