Trees | Index | Help |
---|
Package flumotion :: Package component :: Module feedcomponent09 :: Class FeedComponent |
|
object
--+ |GObject
--+ |Loggable
--+ |BaseComponent
--+ | FeedComponent
Method Summary | |
---|---|
| |
addEffect(self,
effect)
| |
bus_watch_func(self,
bus,
message)
| |
cleanup(self)
| |
create_pipeline(self)
| |
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)
| |
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)
| |
restart(self)
| |
Sets a property on an element in the GStreamer pipeline. | |
| |
setup_pipeline(self)
| |
Tell the component to stop. | |
_buffer_probe_cb(self,
pad,
buffer,
name)
| |
Set up the feeded GStreamer elements in our pipeline based on information in the tuple. | |
Set up the feeding GStreamer elements in our pipeline based on information in the tuple. | |
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. | |
Send heartbeat to manager and reschedule. | |
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+feedcomponent09+F...
|
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. |
int |
_reconnectInterval = 3 |
Inherited from BaseComponent | |
int |
_heartbeatInterval = 5 |
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)
|
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.
|
set_element_property(self, element_name, property, value)Sets a property on an element in the GStreamer pipeline. |
set_feed_ports(self, feed_ports)
|
stop(self)Tell the component to stop. The connection to the manager will be closed. The job process will also finish.
|
_setup_eaters(self, eatersData)Set up the feeded GStreamer elements in our pipeline based on information in the tuple. For each feeded element in the tuple, it sets the host and port of the feeder on the feeded element.
|
_setup_feeders(self, feedersData)Set up the feeding GStreamer elements in our pipeline based on information in the tuple. For each feeding element in the tuple, it sets the host it will listen as.
|
Class Variable Details |
---|
__gtype__
|
EATER_TMPL
|
FEEDER_TMPL
|
logCategoryImplementors can provide a category to log their messages under.
|
_reconnectInterval
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Tue Dec 20 15:33:10 2005 | http://epydoc.sf.net |