Trees | Index | Help |
---|
Package flumotion :: Package component :: Module feedcomponent08 :: Class FeedComponent |
|
object
--+ |GObject
--+ |Loggable
--+ |BaseComponent
--+ | FeedComponent
ParseLaunchComponent
Method Summary | |
---|---|
| |
addEffect(self,
effect)
| |
cleanup(self)
| |
create_pipeline(self)
| |
Called when the eater element changes state. | |
Notify the manager that an effect property has changed to a new value. | |
feeder_state_change_cb(self,
element,
old,
state,
feed_name)
| |
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)
| |
Make the component eat from the feeds it depends on and start producing feeds itself. | |
parseEaterConfig(self,
eater_config)
| |
parseFeederConfig(self,
feeder_config)
| |
pause(self)
| |
pipeline_pause(self)
| |
Start playing the pipeline. | |
pipeline_stop(self)
| |
play(self)
| |
restart(self)
| |
Sets a property on an element in the GStreamer pipeline. | |
| |
Set the given gst state and start iterating the pipeline if not done yet. | |
setup_pipeline(self)
| |
Tell the component to stop. | |
Update the mood because a mood condition has changed. | |
Inherited from BaseComponent | |
Call a remote method on all admin client views on this component. | |
BaseComponent vmethod for starting up. | |
| |
| |
| |
| |
| |
Set the given mood on the component if it's different from the current one. | |
| |
Tell the component to start. | |
Start sending heartbeats. | |
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+feedcomponent08+F...
|
classobj |
component_medium_class = flumotion.component.feedcomponent.FeedComponentMedium |
str |
EATER_TMPL = 'tcpclientsrc name=%(name)s'
|
str |
FEEDER_TMPL = 'tcpserversink name=%(name)s buffers-max=5...
|
str |
logCategory : Implementors can provide a category to log their messages under. |
Inherited from GObject | |
str |
__gdoc__ = 'Object GObject\n\nSignals from GObject:\n n...
|
getset_descriptor |
__grefcount__ = <attribute '__grefcount__' of 'gobject.G...
|
Method Details |
---|
__init__(self,
name,
eater_config,
feeder_config)
|
eater_state_change_cb(self, element, old, state)Called when the eater element changes state. |
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. |
link(self, eatersData, feedersData)Make the component eat from the feeds it depends on and start producing feeds itself.
|
pipeline_play(self)Start playing the pipeline.
|
set_element_property(self, element_name, property, value)Sets a property on an element in the GStreamer pipeline. |
set_feed_ports(self, feed_ports)
|
set_state_and_iterate(self, state)Set the given gst state and start iterating the pipeline if not done yet. |
stop(self)Tell the component to stop. The connection to the manager will be closed. The job process will also finish.
|
updateMood(self)Update the mood because a mood condition has changed. Will not change the mood if it's sad - sad needs to be explicitly fixed. See the mood transition diagram. |
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 Tue Dec 20 15:33:10 2005 | http://epydoc.sf.net |