Trees | Indices | Help |
---|
|
object --+ | common.common.InitMixin --+ | extern.log.log.Loggable --+ | component.BaseComponent --+ | feedcomponent010.FeedComponent --+ | feedcomponent.ParseLaunchComponent --+ | Looper
|
|||
child class of BaseComponentMedium |
componentMediumClass the medium class to use for this component |
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
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.
|
Subclasses can implement me to run any checks before the component performs setup. Messages can be added to the component state's 'messages' list key. Any error messages added will trigger the component going to sad, with flumotion.common.errors.ComponentSetupError being raised before getting to setup stage; do_setup() will not be called. In the event of a fatal problem that can't be expressed through an error message, this method should raise an exception or return a failure. It is not necessary to chain up in this function. The return value may be a deferred.
|
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.
|
Make a flumotion error message to show to the user. This method may be overridden by components that have special knowledge about potential errors. If the component does not know about the error, it can chain up to this implementation, which will make a generic message.
|
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.
|
Restarts the looping. Returns True if the seeking was accepted, Returns False otherwiser |
Sets up component. Invokes the create_pipeline and set_pipeline vmethods, which subclasses can provide.
|
BaseComponent vmethod for stopping. The component should do any cleanup it needs, but must not set the component's mood to sleeping.
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Wed Aug 11 21:33:16 2010 | http://epydoc.sourceforge.net |