Trait gst_plugin::aggregator::AggregatorImpl [−][src]
pub trait AggregatorImpl<T: AggregatorBase>: AnyImpl + ObjectImpl<T> + ElementImpl<T> + Send + Sync + 'static where
T::InstanceStructType: PanicPoison, { fn aggregate(&self, aggregator: &T, timeout: bool) -> FlowReturn; fn flush(&self, aggregator: &T) -> FlowReturn { ... } fn clip(
&self,
aggregator: &T,
aggregator_pad: &AggregatorPad,
buffer: Buffer
) -> Option<Buffer> { ... } fn finish_buffer(&self, aggregator: &T, buffer: Buffer) -> FlowReturn { ... } fn sink_event(
&self,
aggregator: &T,
aggregator_pad: &AggregatorPad,
event: Event
) -> bool { ... } fn sink_query(
&self,
aggregator: &T,
aggregator_pad: &AggregatorPad,
query: &mut QueryRef
) -> bool { ... } fn src_event(&self, aggregator: &T, event: Event) -> bool { ... } fn src_query(&self, aggregator: &T, query: &mut QueryRef) -> bool { ... } fn src_activate(&self, aggregator: &T, mode: PadMode, active: bool) -> bool { ... } fn start(&self, aggregator: &T) -> bool { ... } fn stop(&self, aggregator: &T) -> bool { ... } fn get_next_time(&self, aggregator: &T) -> ClockTime { ... } fn create_new_pad(
&self,
aggregator: &T,
templ: &PadTemplate,
req_name: Option<&str>,
caps: Option<&CapsRef>
) -> Option<AggregatorPad> { ... } fn update_src_caps(
&self,
aggregator: &T,
caps: &CapsRef
) -> Result<Caps, FlowReturn> { ... } fn fixate_src_caps(&self, aggregator: &T, caps: Caps) -> Caps { ... } fn negotiated_src_caps(&self, aggregator: &T, caps: &CapsRef) -> bool { ... } }
Required Methods
fn aggregate(&self, aggregator: &T, timeout: bool) -> FlowReturn
Provided Methods
fn flush(&self, aggregator: &T) -> FlowReturn
fn clip(
&self,
aggregator: &T,
aggregator_pad: &AggregatorPad,
buffer: Buffer
) -> Option<Buffer>
&self,
aggregator: &T,
aggregator_pad: &AggregatorPad,
buffer: Buffer
) -> Option<Buffer>
fn finish_buffer(&self, aggregator: &T, buffer: Buffer) -> FlowReturn
fn sink_event(
&self,
aggregator: &T,
aggregator_pad: &AggregatorPad,
event: Event
) -> bool
&self,
aggregator: &T,
aggregator_pad: &AggregatorPad,
event: Event
) -> bool
fn sink_query(
&self,
aggregator: &T,
aggregator_pad: &AggregatorPad,
query: &mut QueryRef
) -> bool
&self,
aggregator: &T,
aggregator_pad: &AggregatorPad,
query: &mut QueryRef
) -> bool
fn src_event(&self, aggregator: &T, event: Event) -> bool
fn src_query(&self, aggregator: &T, query: &mut QueryRef) -> bool
fn src_activate(&self, aggregator: &T, mode: PadMode, active: bool) -> bool
fn start(&self, aggregator: &T) -> bool
fn stop(&self, aggregator: &T) -> bool
fn get_next_time(&self, aggregator: &T) -> ClockTime
fn create_new_pad(
&self,
aggregator: &T,
templ: &PadTemplate,
req_name: Option<&str>,
caps: Option<&CapsRef>
) -> Option<AggregatorPad>
&self,
aggregator: &T,
templ: &PadTemplate,
req_name: Option<&str>,
caps: Option<&CapsRef>
) -> Option<AggregatorPad>
fn update_src_caps(
&self,
aggregator: &T,
caps: &CapsRef
) -> Result<Caps, FlowReturn>
&self,
aggregator: &T,
caps: &CapsRef
) -> Result<Caps, FlowReturn>
fn fixate_src_caps(&self, aggregator: &T, caps: Caps) -> Caps
fn negotiated_src_caps(&self, aggregator: &T, caps: &CapsRef) -> bool
Methods
impl<T: AggregatorBase> AggregatorImpl<T> where
T::InstanceStructType: PanicPoison,
impl<T: AggregatorBase> AggregatorImpl<T> where
T::InstanceStructType: PanicPoison,
pub fn downcast_ref<U: AggregatorImpl<T>>(&self) -> Option<&U>
pub fn downcast_ref<U: AggregatorImpl<T>>(&self) -> Option<&U>
ⓘImportant traits for &'a mut Rpub unsafe fn downcast_ref_unchecked<U: AggregatorImpl<T>>(&self) -> &U
ⓘImportant traits for &'a mut R
pub unsafe fn downcast_ref_unchecked<U: AggregatorImpl<T>>(&self) -> &U
pub fn is<U: AggregatorImpl<T>>(&self) -> bool
pub fn is<U: AggregatorImpl<T>>(&self) -> bool
Implementations on Foreign Types
impl<T: AggregatorBase> AggregatorImpl<T> for Box<AggregatorImpl<T>> where
T::InstanceStructType: PanicPoison,
[src]
impl<T: AggregatorBase> AggregatorImpl<T> for Box<AggregatorImpl<T>> where
T::InstanceStructType: PanicPoison,
fn flush(&self, aggregator: &T) -> FlowReturn
[src]
fn flush(&self, aggregator: &T) -> FlowReturn
fn clip(
&self,
aggregator: &T,
aggregator_pad: &AggregatorPad,
buffer: Buffer
) -> Option<Buffer>
[src]
fn clip(
&self,
aggregator: &T,
aggregator_pad: &AggregatorPad,
buffer: Buffer
) -> Option<Buffer>
fn finish_buffer(&self, aggregator: &T, buffer: Buffer) -> FlowReturn
[src]
fn finish_buffer(&self, aggregator: &T, buffer: Buffer) -> FlowReturn
fn sink_event(
&self,
aggregator: &T,
aggregator_pad: &AggregatorPad,
event: Event
) -> bool
[src]
fn sink_event(
&self,
aggregator: &T,
aggregator_pad: &AggregatorPad,
event: Event
) -> bool
fn sink_query(
&self,
aggregator: &T,
aggregator_pad: &AggregatorPad,
query: &mut QueryRef
) -> bool
[src]
fn sink_query(
&self,
aggregator: &T,
aggregator_pad: &AggregatorPad,
query: &mut QueryRef
) -> bool
fn src_event(&self, aggregator: &T, event: Event) -> bool
[src]
fn src_event(&self, aggregator: &T, event: Event) -> bool
fn src_query(&self, aggregator: &T, query: &mut QueryRef) -> bool
[src]
fn src_query(&self, aggregator: &T, query: &mut QueryRef) -> bool
fn src_activate(&self, aggregator: &T, mode: PadMode, active: bool) -> bool
[src]
fn src_activate(&self, aggregator: &T, mode: PadMode, active: bool) -> bool
fn aggregate(&self, aggregator: &T, timeout: bool) -> FlowReturn
[src]
fn aggregate(&self, aggregator: &T, timeout: bool) -> FlowReturn
fn start(&self, aggregator: &T) -> bool
[src]
fn start(&self, aggregator: &T) -> bool
fn stop(&self, aggregator: &T) -> bool
[src]
fn stop(&self, aggregator: &T) -> bool
fn get_next_time(&self, aggregator: &T) -> ClockTime
[src]
fn get_next_time(&self, aggregator: &T) -> ClockTime
fn create_new_pad(
&self,
aggregator: &T,
templ: &PadTemplate,
req_name: Option<&str>,
caps: Option<&CapsRef>
) -> Option<AggregatorPad>
[src]
fn create_new_pad(
&self,
aggregator: &T,
templ: &PadTemplate,
req_name: Option<&str>,
caps: Option<&CapsRef>
) -> Option<AggregatorPad>
fn update_src_caps(
&self,
aggregator: &T,
caps: &CapsRef
) -> Result<Caps, FlowReturn>
[src]
fn update_src_caps(
&self,
aggregator: &T,
caps: &CapsRef
) -> Result<Caps, FlowReturn>
fn fixate_src_caps(&self, aggregator: &T, caps: Caps) -> Caps
[src]
fn fixate_src_caps(&self, aggregator: &T, caps: Caps) -> Caps
fn negotiated_src_caps(&self, aggregator: &T, caps: &CapsRef) -> bool
[src]
fn negotiated_src_caps(&self, aggregator: &T, caps: &CapsRef) -> bool