Package flumotion :: Package component :: Module feedcomponent :: Class ReconfigurableComponent
[hide private]

Class ReconfigurableComponent

source code

             object --+                
                      |                
common.common.InitMixin --+            
                          |            
extern.log.log.Loggable --+            
                          |            
    component.BaseComponent --+        
                              |        
 feedcomponent010.FeedComponent --+    
                                  |    
               ParseLaunchComponent --+
                                      |
                                     ReconfigurableComponent
Known Subclasses:

Nested Classes [hide private]

Inherited from feedcomponent010.FeedComponent: componentMediumClass

Instance Methods [hide private]
 
_get_base_pipeline_string(self)
Should be overrided by subclasses to provide the pipeline the component uses.
source code
 
init(self)
A subclass should do as little as possible in its init method.
source code
 
setup_completed(self) source code
 
get_output_elements(self) source code
 
get_input_elements(self) source code
 
get_base_pipeline_string(self) source code
gst.Pad
get_eater_srcpad(self, eaterAlias)
Method that returns the source pad of the final element in an eater.
source code
 
_install_changes_probes(self)
Add the event probes that will check for a caps change.
source code
 
_block_eaters(self)
Function that blocks all the identities of the eaters
source code
 
_unblock_eaters(self) source code
 
_unlink_pads(self, element, directions) source code
 
_remove_pipeline(self, pipeline, element, end, done=None) source code
 
_rebuild_pipeline(self) source code
 
_on_pad_blocked(self, pad, blocked) source code
 
_on_eater_blocked(self, pad, blocked) source code
 
_on_pipeline_drained(self) source code

Inherited from ParseLaunchComponent: add_default_eater_feeder, configure_pipeline, create_pipeline, get_eater_template, get_feeder_sinkpad, get_feeder_template, get_pipeline_string, get_queue_string, parse_pipeline, parse_tmpl, set_pipeline

Inherited from feedcomponent010.FeedComponent: addEffect, attachPadMonitorToElement, attachPadMonitorToFeeder, bus_message_received_cb, cleanup, connect_feeders, do_pipeline_playing, do_setup, do_stop, dump_gstreamer_debug_dot_file, eatFromFD, feedToFD, get_element, get_element_property, get_master_clock, get_pipeline, install_eater_continuity_watch, install_eater_event_probes, make_message_for_gstreamer_error, modify_element_property, provide_master_clock, reconnectEater, set_element_property, set_master_clock, stop_pipeline, try_start_pipeline, unblock_eater

Inherited from component.BaseComponent: __init__, __provides__, addMessage, adminCallRemote, checkPropertyType, check_properties, do_check, fixRenamedProperties, getMood, getName, getWorkerName, modifyProperty, observerAppend, observerRemove, removeMessage, setMedium, setMood, setShutdownHook, setWorkerName, setup, stop, waitForHappy, warnDeprecatedProperties

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Inherited from extern.log.log.Loggable: __providedBy__, debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure, writeMarker

Class Variables [hide private]
  disconnectedPads = False
  dropStreamHeaders = False

Inherited from ParseLaunchComponent: DELIMITER, DEPAY_TMPL, EATER_TMPL, FDSRC_TMPL, FEEDER_TMPL, checkOffset, checkTimestamp

Inherited from feedcomponent010.FeedComponent: FEEDER_STATS_UPDATE_FREQUENCY, eaters, feeders, logCategory, swallowNewSegment

Inherited from component.BaseComponent: __implemented__

Instance Variables [hide private]

Inherited from component.BaseComponent: medium, name, uiState

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

init(self)

source code 

A subclass should do as little as possible in its init method. In particular, it should not try to access resources.

Failures during init are marshalled back to the manager through the worker's remote_create method, since there is no component state proxied to the manager yet at the time of init.

Overrides: component.BaseComponent.init
(inherited documentation)

setup_completed(self)

source code 
Overrides: component.BaseComponent.setup_completed

get_eater_srcpad(self, eaterAlias)

source code 

Method that returns the source pad of the final element in an eater.

Returns: gst.Pad
the GStreamer source pad of the final element in an eater
Overrides: ParseLaunchComponent.get_eater_srcpad
(inherited documentation)

_install_changes_probes(self)

source code 

Add the event probes that will check for a caps change.

Those will trigger the pipeline's blocking and posterior reload