Gst::Clock Class Reference

#include <clock.h>

Inheritance diagram for Gst::Clock:

Gst::Object Gst::SystemClock List of all members.

Public Types

typedef Clock CppObjectType
typedef Clock_Class CppClassType
typedef GstClock BaseObjectType
typedef GstClockClass BaseClassType

Public Member Functions

virtual ~Clock ()
GstClockgobj ()
 Provides access to the underlying C GObject.
const GstClockgobj () const
 Provides access to the underlying C GObject.
GstClockgobj_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< Clockget_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::Clockwrap (GstClock *object, bool take_copy=false)

Member Typedef Documentation

typedef Clock Gst::Clock::CppObjectType

Reimplemented from Gst::Object.

Reimplemented in Gst::SystemClock.

typedef Clock_Class Gst::Clock::CppClassType

Reimplemented from Gst::Object.

Reimplemented in Gst::SystemClock.

typedef GstClock Gst::Clock::BaseObjectType

Reimplemented from Gst::Object.

Reimplemented in Gst::SystemClock.

typedef GstClockClass Gst::Clock::BaseClassType

Reimplemented from Gst::Object.

Reimplemented in Gst::SystemClock.


Constructor & Destructor Documentation

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]


Member Function Documentation

static GType Gst::Clock::get_type (  )  [static]

Reimplemented from Gst::Object.

Reimplemented in Gst::SystemClock.

static GType Gst::Clock::get_base_type (  )  [static]

Reimplemented from Gst::Object.

Reimplemented in Gst::SystemClock.

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::add_observation ( ClockTime  slave_time,
ClockTime  master_time,
gdouble *  result 
)

bool Gst::Clock::set_master ( const Clock master_clock  ) 

Glib::RefPtr<Clock> Gst::Clock::get_master (  ) 

ClockTime Gst::Clock::set_resolution ( ClockTime  resolution  ) 

ClockTime Gst::Clock::get_resolution (  )  const

ClockTime Gst::Clock::get_time (  )  const

ClockTime Gst::Clock::get_internal_time (  )  const

ClockTime Gst::Clock::adjust_unlocked ( ClockTime  internal_time  ) 

ClockTime Gst::Clock::unadjust_unlocked ( ClockTime  external_time  ) 


Friends And Related Function Documentation

friend class Clock_Class [friend]

Glib::RefPtr< Gst::Clock > wrap ( GstClock object,
bool  take_copy = false 
) [related]

A Glib::wrap() method for this object.

Parameters:
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.
Returns:
A C++ instance that wraps this C instance.


The documentation for this class was generated from the following file:
Generated on Sat Jan 26 11:53:53 2008 for gstreamermm by  doxygen 1.5.1