[][src]Trait gstreamer::ClockExt

pub trait ClockExt: 'static {
    pub fn add_observation(
        &self,
        slave: ClockTime,
        master: ClockTime
    ) -> Option<f64>;
pub fn add_observation_unapplied(
        &self,
        slave: ClockTime,
        master: ClockTime
    ) -> Option<(f64, ClockTime, ClockTime, ClockTime, ClockTime)>;
pub fn adjust_unlocked(&self, internal: ClockTime) -> ClockTime;
pub fn get_calibration(
        &self
    ) -> (ClockTime, ClockTime, ClockTime, ClockTime);
pub fn get_internal_time(&self) -> ClockTime;
pub fn get_master(&self) -> Option<Clock>;
pub fn get_resolution(&self) -> ClockTime;
pub fn get_time(&self) -> ClockTime;
pub fn get_timeout(&self) -> ClockTime;
pub fn is_synced(&self) -> bool;
pub fn set_calibration(
        &self,
        internal: ClockTime,
        external: ClockTime,
        rate_num: ClockTime,
        rate_denom: ClockTime
    );
pub fn set_master<P: IsA<Clock>>(
        &self,
        master: Option<&P>
    ) -> Result<(), BoolError>;
pub fn set_resolution(&self, resolution: ClockTime) -> ClockTime;
pub fn set_synced(&self, synced: bool);
pub fn set_timeout(&self, timeout: ClockTime);
pub fn unadjust_unlocked(&self, external: ClockTime) -> ClockTime;
pub fn wait_for_sync(&self, timeout: ClockTime) -> Result<(), BoolError>;
pub fn get_property_window_size(&self) -> i32;
pub fn set_property_window_size(&self, window_size: i32);
pub fn get_property_window_threshold(&self) -> i32;
pub fn set_property_window_threshold(&self, window_threshold: i32);
pub fn connect_synced<F: Fn(&Self, bool) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_timeout_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_window_size_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_window_threshold_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

pub fn add_observation(
    &self,
    slave: ClockTime,
    master: ClockTime
) -> Option<f64>
[src]

pub fn add_observation_unapplied(
    &self,
    slave: ClockTime,
    master: ClockTime
) -> Option<(f64, ClockTime, ClockTime, ClockTime, ClockTime)>
[src]

pub fn adjust_unlocked(&self, internal: ClockTime) -> ClockTime[src]

pub fn get_calibration(&self) -> (ClockTime, ClockTime, ClockTime, ClockTime)[src]

pub fn get_internal_time(&self) -> ClockTime[src]

pub fn get_master(&self) -> Option<Clock>[src]

pub fn get_resolution(&self) -> ClockTime[src]

pub fn get_time(&self) -> ClockTime[src]

pub fn get_timeout(&self) -> ClockTime[src]

pub fn is_synced(&self) -> bool[src]

pub fn set_calibration(
    &self,
    internal: ClockTime,
    external: ClockTime,
    rate_num: ClockTime,
    rate_denom: ClockTime
)
[src]

pub fn set_master<P: IsA<Clock>>(
    &self,
    master: Option<&P>
) -> Result<(), BoolError>
[src]

pub fn set_resolution(&self, resolution: ClockTime) -> ClockTime[src]

pub fn set_synced(&self, synced: bool)[src]

pub fn set_timeout(&self, timeout: ClockTime)[src]

pub fn unadjust_unlocked(&self, external: ClockTime) -> ClockTime[src]

pub fn wait_for_sync(&self, timeout: ClockTime) -> Result<(), BoolError>[src]

pub fn get_property_window_size(&self) -> i32[src]

pub fn set_property_window_size(&self, window_size: i32)[src]

pub fn get_property_window_threshold(&self) -> i32[src]

pub fn set_property_window_threshold(&self, window_threshold: i32)[src]

pub fn connect_synced<F: Fn(&Self, bool) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_timeout_notify<F: Fn(&Self) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_window_size_notify<F: Fn(&Self) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_window_threshold_notify<F: Fn(&Self) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Loading content...

Implementors

impl<O: IsA<Clock>> ClockExt for O[src]

Loading content...