[−][src]Trait gstreamer_sdp::prelude::ClockExt
Required methods
pub fn add_observation(
&self,
slave: ClockTime,
master: ClockTime
) -> Option<f64>
[src]
&self,
slave: ClockTime,
master: ClockTime
) -> Option<f64>
pub fn add_observation_unapplied(
&self,
slave: ClockTime,
master: ClockTime
) -> Option<(f64, ClockTime, ClockTime, ClockTime, ClockTime)>
[src]
&self,
slave: ClockTime,
master: ClockTime
) -> Option<(f64, ClockTime, ClockTime, ClockTime, ClockTime)>
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]
&self,
internal: ClockTime,
external: ClockTime,
rate_num: ClockTime,
rate_denom: ClockTime
)
pub fn set_master<P>(&self, master: Option<&P>) -> Result<(), BoolError> where
P: IsA<Clock>,
[src]
P: IsA<Clock>,
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>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&Self, bool),
[src]
F: 'static + Send + Sync + Fn(&Self, bool),
pub fn connect_property_timeout_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&Self),
[src]
F: 'static + Send + Sync + Fn(&Self),
pub fn connect_property_window_size_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&Self),
[src]
F: 'static + Send + Sync + Fn(&Self),
pub fn connect_property_window_threshold_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&Self),
[src]
&self,
f: F
) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&Self),
Implementors
impl<O> ClockExt for O where
O: IsA<Clock>,
[src]
O: IsA<Clock>,
pub fn add_observation(
&self,
slave: ClockTime,
master: ClockTime
) -> Option<f64>
[src]
&self,
slave: ClockTime,
master: ClockTime
) -> Option<f64>
pub fn add_observation_unapplied(
&self,
slave: ClockTime,
master: ClockTime
) -> Option<(f64, ClockTime, ClockTime, ClockTime, ClockTime)>
[src]
&self,
slave: ClockTime,
master: ClockTime
) -> Option<(f64, ClockTime, ClockTime, ClockTime, ClockTime)>
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]
&self,
internal: ClockTime,
external: ClockTime,
rate_num: ClockTime,
rate_denom: ClockTime
)
pub fn set_master<P>(&self, master: Option<&P>) -> Result<(), BoolError> where
P: IsA<Clock>,
[src]
P: IsA<Clock>,
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>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O, bool),
[src]
F: 'static + Send + Sync + Fn(&O, bool),
pub fn connect_property_timeout_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O),
[src]
F: 'static + Send + Sync + Fn(&O),
pub fn connect_property_window_size_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O),
[src]
F: 'static + Send + Sync + Fn(&O),
pub fn connect_property_window_threshold_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O),
[src]
&self,
f: F
) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&O),