Trees | Index | Help |
---|
Package flumotion :: Package component :: Module feedcomponent :: Class ParseLaunchComponent |
|
object
--+ |GObject
--+ |object
--+ | | |InitMixin
--+ |Loggable
--+ |BaseComponent
--+ |FeedComponent
--+ | ParseLaunchComponent
Method Summary | |
---|---|
Method that can be implemented by subclasses if they wish to interact with the pipeline after it has been created and set on the component. | |
gst.Pipeline
|
Subclasses have to implement this method. |
Tell the component to start, linking itself to other components. | |
Method that must be implemented by subclasses to produce the gstparse string for the component's pipeline. | |
parse_pipeline(self,
pipeline)
| |
Expand the given pipeline string representation by substituting blocks between '@' with a filled-in template. | |
Subclasses can override me. | |
Expand the given string to a full element name for an eater or feeder. | |
Expand each @..@ block to use the full element name for eater or feeder. | |
Inherited from FeedComponent | |
| |
| |
| |
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. | |
| |
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. | |
| |
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. | |
| |
| |
| |
Tell the component to provide a master clock on the given port. | |
| |
Sets a property on an element in the GStreamer pipeline. | |
| |
| |
| |
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 | |
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. | |
| |
| |
| |
| |
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. | |
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 | |
---|---|
str |
DELIMITER = '@'
|
Inherited from FeedComponent | |
GType |
__gtype__ = <GType flumotion+component+feedcomponent010+...
|
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 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 0x41d3972c>
|
Method Details |
---|
configure_pipeline(self, pipeline, properties)Method that can be implemented by subclasses if they wish to interact with the pipeline after it has been created and set on the component. This could include attaching signals and bus handlers. |
create_pipeline(self)Subclasses have to implement this method.
|
do_start(self, eatersData, feedersData, clocking)Tell the component to start, linking itself to other components.
|
get_pipeline_string(self, properties)Method that must be implemented by subclasses to produce the gstparse string for the component's pipeline. Subclasses should not chain up; this method raises a NotImplemented error. Returns: a new pipeline string representation. |
parse_tmpl(self, pipeline, names, template, format)Expand the given pipeline string representation by substituting blocks between '@' with a filled-in template.
|
set_pipeline(self, pipeline)Subclasses can override me. They should chain up first.
|
_expandElementName(self, block)Expand the given string to a full element name for an eater or feeder. The full name is of the form eater:(sourceComponentName):(feedName) or feeder:(componentName):feedName |
_expandElementNames(self, block)Expand each @..@ block to use the full element name for eater or feeder. The full name is of the form eater:(sourceComponentName):(feedName) or feeder:(componentName):feedName This also does some basic checking of the block. |
Class Variable Details |
---|
DELIMITER
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Wed Sep 13 13:38:32 2006 | http://epydoc.sf.net |