Clock
Object Hierarchy:
Description:
public abstract class Clock :
Object
GStreamer clock class.
Override the vmethods to implement the clock functionality.
Content:
Properties:
Creation methods:
Methods:
- public bool add_observation (ClockTime slave, ClockTime master, out double r_squared)
The time master of the master clock and the time slave
of the slave clock are added to the list of observations.
- public ClockTime adjust_unlocked (ClockTime @internal)
Converts the given internal clock time to the external time,
adjusting for the rate and reference time set with set_calibration
and making sure that the returned time is increasing.
- public virtual ClockTime change_resolution (ClockTime old_resolution, ClockTime new_resolution)
- public void get_calibration (out ClockTime @internal, out ClockTime external, out ClockTime rate_num, out ClockTime rate_denom)
Gets the internal rate and reference time of clock.
- public virtual ClockTime get_internal_time ()
Gets the current internal time of the given clock.
- public Clock? get_master ()
Get the master clock that clock is slaved to or null
when the clock is not slaved to any master clock.
- public virtual ClockTime get_resolution ()
Get the accuracy of the clock.
- public ClockTime get_time ()
Gets the current time of the given clock.
- public bool periodic_id_reinit (ClockID id, ClockTime start_time, ClockTime interval)
Reinitializes the provided periodic id to the provided start
time and interval.
- public void set_calibration (ClockTime @internal, ClockTime external, ClockTime rate_num, ClockTime rate_denom)
Adjusts the rate and time of clock.
- public bool set_master (Clock? master)
Set master as the master clock for clock.
- public ClockTime set_resolution (ClockTime resolution)
Set the accuracy of the clock.
- public bool single_shot_id_reinit (ClockID id, ClockTime time)
Reinitializes the provided single shot id to the provided
time.
- public ClockTime unadjust_unlocked (ClockTime external)
Converts the given external clock time to the internal time
of clock, using the rate and reference time set with
set_calibration.
- public virtual void unschedule (ClockEntry entry)
- public virtual ClockReturn wait (ClockEntry entry)
- public virtual ClockReturn wait_async (ClockEntry entry)
- public virtual ClockReturn wait_jitter (ClockEntry entry, out ClockTimeDiff jitter)
Fields:
Inherited Members:
All known members inherited from class Gst.Object
All known members inherited from class GLib.Object