pub trait TimedValueControlSourceExt:
IsA<TimedValueControlSource>
+ Sealed
+ 'static {
// Provided methods
fn count(&self) -> i32 { ... }
fn set(&self, timestamp: ClockTime, value: f64) -> bool { ... }
fn unset(&self, timestamp: ClockTime) -> bool { ... }
fn unset_all(&self) { ... }
fn connect_value_added<F: Fn(&Self, &ControlPoint) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_value_changed<F: Fn(&Self, &ControlPoint) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_value_removed<F: Fn(&Self, &ControlPoint) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Expand description
Trait containing all TimedValueControlSource
methods.
§Implementors
InterpolationControlSource
, TimedValueControlSource
, TriggerControlSource
Provided Methods§
sourcefn unset_all(&self)
fn unset_all(&self)
Used to remove all time-stamped values of given controller-handled property
sourcefn connect_value_added<F: Fn(&Self, &ControlPoint) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_value_added<F: Fn(&Self, &ControlPoint) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
Emitted right after the new value has been added to self_
§timed_value
The newly added GstTimedValue
sourcefn connect_value_changed<F: Fn(&Self, &ControlPoint) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_value_changed<F: Fn(&Self, &ControlPoint) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
Emitted right after the new value has been set on timed_signals
§timed_value
The GstTimedValue
where the value changed
sourcefn connect_value_removed<F: Fn(&Self, &ControlPoint) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_value_removed<F: Fn(&Self, &ControlPoint) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
Object Safety§
This trait is not object safe.