gstreamer-0.10 Reference Manual

Synopsis

public class Clock : Object  {
    public    weak GLib.Mutex           slave_lock ;
    public    weak ClockTime            internal_calibration ;
    public    weak ClockTime            external_calibration ;
    public    weak ClockTime            rate_numerator ;
    public    weak ClockTime            rate_denominator ;
    public    weak ClockTime            last_time ;
    public    weak GLib.List            entries ;
    public    weak GLib.Cond            entries_changed ;
    public    weak ClockTime            resolution ;
    public    weak Clock                master ;
    public    bool                      filling ;
    public    int                       time_index ;
    public    weak ClockTime            times ;
    public    weak ClockID              clockid ;


    public    weak bool                 stats                     { get; set; } ;
    public    weak uint64               timeout                   { get; set; } ;
    public    weak int                  window_size               { get; set; } ;
    public    weak int                  window_threshold          { get; set; } ;


    public                              Clock.periodic_id         ( Clock               clock,
                                                                    ClockTime           start_time,
                                                                    ClockTime           interval ) ;
    public                              Clock.single_shot_id      ( Clock               clock,
                                                                    ClockTime           time ) ;


    public    bool                      add_observation           ( ClockTime           slave,
                                                                    ClockTime           master,
                                                                    double              r_squared ) ;
    public    weak ClockTime            adjust_unlocked           ( ClockTime           internal ) ;
    public    void                      get_calibration           ( ClockTime           internal,
                                                                    ClockTime           external,
                                                                    ClockTime           rate_num,
                                                                    ClockTime           rate_denom ) ;
    public    weak Clock                get_master                (  ) ;
    public    weak ClockTime            get_time                  (  ) ;
    public    void                      set_calibration           ( ClockTime           internal,
                                                                    ClockTime           external,
                                                                    ClockTime           rate_num,
                                                                    ClockTime           rate_denom ) ;
    public    bool                      set_master                ( Clock               master ) ;
    public    weak ClockTime            set_resolution            ( ClockTime           resolution ) ;
    public    weak ClockTime            unadjust_unlocked         ( ClockTime           external ) ;
    public    virtual weak ClockTime    change_resolution         ( ClockTime           old_resolution,
                                                                    ClockTime           new_resolution ) ;
    public    virtual weak ClockTime    get_internal_time         (  ) ;
    public    virtual weak ClockTime    get_resolution            (  ) ;
    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,
                                                                    ClockTimeDiff       jitter ) ;
}

Clock Description

Details

Constructor Details

Clock.periodic_id ()
    public                              Clock.periodic_id         ( Clock               clock,
                                                                    ClockTime           start_time,
                                                                    ClockTime           interval ) ;		

Clock.single_shot_id ()
    public                              Clock.single_shot_id      ( Clock               clock,
                                                                    ClockTime           time ) ;		

Field Details

slave_lock
    public    weak GLib.Mutex           slave_lock ;		

internal_calibration
    public    weak ClockTime            internal_calibration ;		

external_calibration
    public    weak ClockTime            external_calibration ;		

rate_numerator
    public    weak ClockTime            rate_numerator ;		

rate_denominator
    public    weak ClockTime            rate_denominator ;		

last_time
    public    weak ClockTime            last_time ;		

entries
    public    weak GLib.List            entries ;		

entries_changed
    public    weak GLib.Cond            entries_changed ;		

resolution
    public    weak ClockTime            resolution ;		

master
    public    weak Clock                master ;		

filling
    public    bool                      filling ;		

time_index
    public    int                       time_index ;		

times
    public    weak ClockTime            times ;		

clockid
    public    weak ClockID              clockid ;		

Signal Details

Property Details

stats
    public    weak bool                 stats                     { get; set; } ;		

timeout
    public    weak uint64               timeout                   { get; set; } ;		

window_size
    public    weak int                  window_size               { get; set; } ;		

window_threshold
    public    weak int                  window_threshold          { get; set; } ;		

Method Details

add_observation ()
    public    bool                      add_observation           ( ClockTime           slave,
                                                                    ClockTime           master,
                                                                    double              r_squared ) ;		

adjust_unlocked ()
    public    weak ClockTime            adjust_unlocked           ( ClockTime           internal ) ;		

get_calibration ()
    public    void                      get_calibration           ( ClockTime           internal,
                                                                    ClockTime           external,
                                                                    ClockTime           rate_num,
                                                                    ClockTime           rate_denom ) ;		

get_master ()
    public    weak Clock                get_master                (  ) ;		

get_time ()
    public    weak ClockTime            get_time                  (  ) ;		

set_calibration ()
    public    void                      set_calibration           ( ClockTime           internal,
                                                                    ClockTime           external,
                                                                    ClockTime           rate_num,
                                                                    ClockTime           rate_denom ) ;		

set_master ()
    public    bool                      set_master                ( Clock               master ) ;		

set_resolution ()
    public    weak ClockTime            set_resolution            ( ClockTime           resolution ) ;		

unadjust_unlocked ()
    public    weak ClockTime            unadjust_unlocked         ( ClockTime           external ) ;		

change_resolution ()
    public    virtual weak ClockTime    change_resolution         ( ClockTime           old_resolution,
                                                                    ClockTime           new_resolution ) ;		

get_internal_time ()
    public    virtual weak ClockTime    get_internal_time         (  ) ;		

get_resolution ()
    public    virtual weak ClockTime    get_resolution            (  ) ;		

unschedule ()
    public    virtual void              unschedule                ( ClockEntry          entry ) ;		

wait ()
    public    virtual ClockReturn       wait                      ( ClockEntry          entry ) ;		

wait_async ()
    public    virtual ClockReturn       wait_async                ( ClockEntry          entry ) ;		

wait_jitter ()
    public    virtual ClockReturn       wait_jitter               ( ClockEntry          entry,
                                                                    ClockTimeDiff       jitter ) ;		


Created by Valadoc