Package elisa :: Package plugins :: Package gstreamer :: Module gst_metadata :: Class GstMetadata

Class GstMetadata

source code


Instance Methods
 
__init__(self, next_interval=0.00)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
twisted.internet.defer.Deferred
clean(self)
Clean the component.
source code
twisted.internet.defer.Deferred
initialize(self, retself=True)
Initialize the component.
source code
integer
get_rank(self)
Rank determining wether the parser should be prioritized.
source code
bool
able_to_handle(self, metadata)
Return wether this provider is able to fill in metadata, when it gets this metadata dictionary.
source code
twisted.internet.defer.Deferred
get_metadata(self, metadata)
Retrieve the metadata for this metadata request and put it in there.
source code
 
set_process_interval(self, value) source code

Inherited from extern.log.log.Loggable: debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

    Inherited from core.component.Component
 
name__get(self) source code
 
name__set(self, value) source code
Class Methods
    Inherited from core.component.Component
elisa.core.component.Component or a subclass
create(cls, config_section=None, **kwargs)
Create and initialize the component.
source code
Class Variables

Inherited from extern.log.log.Loggable: logCategory

    Inherited from core.component.Component
  config_doc = {}
  default_config = {}
  name = property(fget= name__get, fset= name__set)
  path = PathDescriptor()
Properties

Inherited from object: __class__

Method Details

__init__(self, next_interval=0.00)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

clean(self)

source code 

Clean the component.

This method is called when a component is not needed anymore to clean its state.

Returns: twisted.internet.defer.Deferred
a deferred called when the component has finished cleaning its state
Overrides: core.component.Component.clean
(inherited documentation)

initialize(self, retself=True)

source code 

Initialize the component.

This method is called by Component.create to finish the initialization of a component.

Returns: twisted.internet.defer.Deferred
a deferred called when a component is fully initialized
Overrides: core.component.Component.initialize
(inherited documentation)

get_rank(self)

source code 

Rank determining wether the parser should be prioritized.

Returns: integer
the rank as integer between 0 and 255
Overrides: core.components.metadata_provider.MetadataProvider.get_rank
(inherited documentation)

able_to_handle(self, metadata)

source code 

Return wether this provider is able to fill in metadata, when it gets this metadata dictionary.

Parameters:
  • metadata - a dictionary containing all known and requested metadata
Returns: bool
Overrides: core.components.metadata_provider.MetadataProvider.able_to_handle
(inherited documentation)

get_metadata(self, metadata)

source code 

Retrieve the metadata for this metadata request and put it in there.

Parameters:
  • metadata - a dictionary containing all the known and requested metadata, which is also filled with the new data
Returns: twisted.internet.defer.Deferred
Overrides: core.components.metadata_provider.MetadataProvider.get_metadata
(inherited documentation)