Package elisa :: Package core :: Package tests :: Module test_player_engine :: Class FooEngine
[hide private]
[frames] | no frames]

Class FooEngine

source code


Nested Classes [hide private]

Inherited from component.Component: __metaclass__

Instance Methods [hide private]
 
__init__(self)
Lazily set name from class name styled with underscores (class ComponentBar -> name component_bar.
source code
 
state__get(self) source code
 
state__set(self, state) source code
 
_pipeline_set_state(self, state)
Set the state of the pipeline asynchronisly
source code
 
volume__set(self, volume) source code
 
volume__get(self) source code
 
audio_sink__set(self, sink) source code
 
audio_sink__get(self) source code
 
video_sink__set(self, sink) source code
 
video_sink__get(self) source code

Inherited from base_components.player_engine.PlayerEngine: duration__get, pause, play, position__get, position__set, speed__get, speed_set, stop, uri__set, visualisation__get, visualisation__set

Inherited from component.Component: clean, initialize, load_config, save_config

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

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

Static Methods [hide private]

Inherited from component.Component: __classinit__

Class Variables [hide private]
dict uri_schemes = {'foo': 150, 'test': 100, 'test2': 50}
the uri-schemes this engine supports associated with their ranking value between 0 (highest rank) and 255 (lowest rank)
  pipeline = 'frontend'
  _volume = 0
  _videosink = 'frontend'
  _audiosink = 'frontend'

Inherited from base_components.player_engine.PlayerEngine: name

Inherited from component.Component: checked, config_doc, default_config, id, plugin

Inherited from extern.log.log.Loggable: logCategory

Instance Variables [hide private]

Inherited from base_components.player_engine.PlayerEngine: audio_sink, duration, message_sender, position, speed, state, uri, video_sink, visualisation, volume

Inherited from component.Component: config, path

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 
Lazily set name from class name styled with underscores (class ComponentBar -> name component_bar. Also set log category based on component name, with a 'comp_' prefix.
Overrides: base_components.player_engine.PlayerEngine.__init__

state__get(self)

source code 
Overrides: base_components.player_engine.PlayerEngine.state__get

_pipeline_set_state(self, state)

source code 
Set the state of the pipeline asynchronisly
Overrides: base_components.player_engine.PlayerEngine._pipeline_set_state
(inherited documentation)

volume__set(self, volume)

source code 
Overrides: base_components.player_engine.PlayerEngine.volume__set

volume__get(self)

source code 
Overrides: base_components.player_engine.PlayerEngine.volume__get

audio_sink__set(self, sink)

source code 
Overrides: base_components.player_engine.PlayerEngine.audio_sink__set

audio_sink__get(self)

source code 
Overrides: base_components.player_engine.PlayerEngine.audio_sink__get

video_sink__set(self, sink)

source code 
Overrides: base_components.player_engine.PlayerEngine.video_sink__set

video_sink__get(self)

source code 
Overrides: base_components.player_engine.PlayerEngine.video_sink__get