Trees | Index | Help |
---|
Package flumotion :: Package component :: Module feedcomponent010 :: Class FeedComponent |
|
object
--+ |GObject
--+ |object
--+ | | |InitMixin
--+ |Loggable
--+ |BaseComponent
--+ | FeedComponent
ParseLaunchComponent
Method Summary | |
---|---|
addEffect(self,
effect)
| |
bus_watch_func(self,
bus,
message)
| |
cleanup(self)
| |
gst.Pipeline
|
Subclasses have to implement this method. |
Subclasses can implement me to set up the component before it is started. | |
BaseComponent vmethod for stopping. | |
Notify the manager that an effect property has changed to a new value. | |
Return the list of feeder names this component eats from. | |
get_element(self,
element_name)
| |
Gets a property of an element in the GStreamer pipeline. | |
Return the list of feeder names this component has. | |
Return the list of feeder names this component has. | |
get_pipeline(self)
| |
A subclass should do as little as possible in its init method. | |
Make the component eat from the feeds it depends on and start producing feeds itself. | |
parseEaterConfig(self,
eater_config)
| |
parseFeederConfig(self,
feeder_config)
| |
pipeline_stop(self)
| |
Tell the component to provide a master clock on the given port. | |
really_link(self,
res)
| |
really_provide_master_clock(self)
| |
restart(self)
| |
Sets a property on an element in the GStreamer pipeline. | |
set_master_clock(self,
ip,
port,
base_time)
| |
Subclasses can override me. | |
setup_pipeline(self)
| |
Inherited from BaseComponent | |
Subclasses should not override __init__ at all. | |
Add a message to the component. | |
Call a remote method on all admin client views on this component. | |
Subclasses can implement me to run any checks before the component performs setup. | |
BaseComponent vmethod for starting up. | |
| |
| |
| |
| |
Set the given mood on the component if it's different from the current one. | |
Sets up the component with the given config. | |
| |
Tell the component to start. | |
Start sending heartbeats. | |
Tell the component to stop. | |
Stop sending heartbeats. | |
Inherited from Loggable | |
Log a debug message. | |
Log an error. | |
Log an informational message. | |
Log a log message. | |
Overridable log function. | |
Overridable object name function. | |
Log a warning. | |
Log a warning about a Failure. | |
Inherited from GObject | |
x.__cmp__(y) <==> cmp(x,y) | |
| |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
x.__repr__() <==> repr(x) | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Instance Variable Summary | |
---|---|
Inherited from BaseComponent | |
string | name : the name of the component |
Class Variable Summary | |
---|---|
GType |
__gtype__ = <GType flumotion+component+feedcomponent010+...
|
classobj |
component_medium_class = flumotion.component.feedcomponent.FeedComponentMedium |
str |
EATER_TMPL = 'tcpclientsrc name=%(name)s'
|
str |
FEEDER_TMPL = 'tcpserversink sync=false name=%(name)s bu...
|
str |
logCategory : Implementors can provide a category to log their messages under. |
Inherited from Loggable | |
Implements |
__implemented__ = <implementedBy flumotion.common.log.Lo...
|
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
Inherited from GObject | |
str |
__gdoc__ = 'Object GObject\n\nSignals from GObject:\n n...
|
getset_descriptor |
__grefcount__ = <attribute '__grefcount__' of 'gobject.G...
|
GProps |
props = <gobject.GProps object at 0x723789b0>
|
Method Details |
---|
create_pipeline(self)Subclasses have to implement this method.
|
do_setup(self)Subclasses can implement me to set up the component before it is started. It should set up the component, possibly opening files and resources. Non-programming errors should not be raised, but returned as a failing deferred. self.config will be set when this is called.
|
do_stop(self)BaseComponent vmethod for stopping. If you override this method, you are responsible for arranging that the component becomes sleeping.
|
effectPropertyChanged(self, effectName, propertyName, value)Notify the manager that an effect property has changed to a new value. Admin clients will receive it as a propertyChanged message for effectName:propertyName. |
get_eater_names(self)Return the list of feeder names this component eats from.
|
get_element_property(self, element_name, property)Gets a property of an element in the GStreamer pipeline. |
get_feed_names(self)Return the list of feeder names this component has.
|
get_feeder_names(self)Return the list of feeder names this component has.
|
init(self)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.
|
link(self, eatersData, feedersData)Make the component eat from the feeds it depends on and start producing feeds itself.
|
provide_master_clock(self, port)Tell the component to provide a master clock on the given port.
|
set_element_property(self, element_name, property, value)Sets a property on an element in the GStreamer pipeline. |
set_pipeline(self, pipeline)Subclasses can override me. They should chain up first. |
Class Variable Details |
---|
__gtype__
|
EATER_TMPL
|
FEEDER_TMPL
|
logCategoryImplementors can provide a category to log their messages under.
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Sun Oct 22 03:16:40 2006 | http://epydoc.sf.net |