Package _Framework :: Module SessionComponent :: Class SessionComponent
[hide private]
[frames] | no frames]

Class SessionComponent

source code

                         object --+                    
                                  |                    
      Disconnectable.Disconnectable --+                
                                      |                
  Disconnectable.CompoundDisconnectable --+            
                                          |            
                    SubjectSlot.SlotManager --+        
                                              |        
                             object --+       |        
                                      |       |        
          Disconnectable.Disconnectable --+   |        
                                          |   |        
                        SubjectSlot.Subject --+        
                                              |        
ControlSurfaceComponent.ControlSurfaceComponent --+    
                                                  |    
                CompoundComponent.CompoundComponent --+
                                                      |
                                                     SessionComponent

Class encompassing several scene to cover a defined section of Live's session. It controls the session ring and the set of tracks controlled by a given mixer.

Nested Classes [hide private]

Inherited from SubjectSlot.Subject: __metaclass__

Instance Methods [hide private]
 
__init__(self, num_tracks=0, num_scenes=0, *a, **k)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_end_initialisation(self) source code
 
_create_scene(self) source code
 
disconnect(self) source code
 
set_highlighting_callback(self, callback) source code
 
scene(self, index) source code
 
selected_scene(self) source code
 
set_scene_bank_buttons(self, down_button, up_button) source code
 
set_scene_bank_up_button(self, button) source code
 
set_scene_bank_down_button(self, button) source code
 
set_track_bank_buttons(self, right_button, left_button) source code
 
set_track_bank_left_button(self, button) source code
 
set_track_bank_right_button(self, button) source code
 
set_stop_all_clips_button(self, button) source code
 
set_stop_track_clip_buttons(self, buttons) source code
 
set_track_banking_increment(self, increment) source code
 
set_stop_track_clip_value(self, value) source code
 
set_select_buttons(self, next_button, prev_button) source code
 
set_select_next_button(self, next_button) source code
 
set_select_prev_button(self, prev_button) source code
 
set_clip_launch_buttons(self, buttons) source code
 
set_scene_launch_buttons(self, buttons) source code
 
set_mixer(self, mixer)
Sets the MixerComponent to be controlled by this session
source code
 
set_offsets(self, track_offset, scene_offset) source code
 
set_show_highlight(self, show_highlight) source code
 
on_enabled_changed(self) source code
 
update(self) source code
 
_update_stop_track_clip_buttons(self) source code
 
on_scene_list_changed(self)
Called by the control surface if scenes are added/removed, to be overridden
source code
 
on_track_list_changed(self)
Called by the control surface if tracks are added/removed, to be overridden
source code
 
on_selected_scene_changed(self)
Called by the control surface when a scene is selected, to be overridden
source code
 
width(self) source code
 
height(self) source code
 
track_offset(self) source code
 
scene_offset(self) source code
 
tracks_to_use(self) source code
 
_get_minimal_track_offset(self) source code
 
_get_minimal_scene_offset(self) source code
 
_can_bank_down(self) source code
 
_can_bank_up(self) source code
 
_can_bank_right(self) source code
 
_can_bank_left(self) source code
 
_bank_up(self) source code
 
_bank_down(self) source code
 
_bank_right(self) source code
 
_bank_left(self) source code
 
_update_stop_all_clips_button(self) source code
 
_update_select_buttons(self) source code
 
_update_scene_offset(self) source code
 
_change_offsets(self, track_increment, scene_increment) source code
 
_reassign_scenes(self) source code
 
_reassign_tracks(self) source code
 
_on_stop_all_value(self, value) source code
 
_stop_all_value(self, value) source code
 
_on_next_scene_value(self, value) source code
 
_on_prev_scene_value(self, value) source code
 
_on_stop_track_value(self, value, sender) source code
 
_do_show_highlight(self) source code
 
_on_fired_slot_index_changed(self, index) source code
 
_is_linked(self) source code
 
_link(self) source code
 
_unlink(self) source code

Inherited from CompoundComponent.CompoundComponent: has_component, register_component, register_components, set_allow_update, set_enabled, update_all

Inherited from ControlSurfaceComponent.ControlSurfaceComponent: application, is_enabled, on_selected_track_changed, song

Inherited from SubjectSlot.SlotManager: register_slot, register_slot_manager

Inherited from Disconnectable.CompoundDisconnectable: disconnect_disconnectable, find_disconnectable, has_disconnectable, register_disconnectable, unregister_disconnectable

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

Static Methods [hide private]
 
_perform_offset_change(track_increment, scene_increment)
Performs the given offset changes on all linked instances
source code
Class Variables [hide private]
  __subject_events__ = 'offset',
  _linked_session_instances = []
  _minimal_track_offset = -1
  _minimal_scene_offset = -1
  _highlighting_callback = None
  _session_component_ends_initialisation = True
  scene_component_type = SceneComponent

Inherited from ControlSurfaceComponent.ControlSurfaceComponent: canonical_parent, is_private, layer, name

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, num_tracks=0, num_scenes=0, *a, **k)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

disconnect(self)

source code 
Overrides: Disconnectable.Disconnectable.disconnect

on_enabled_changed(self)

source code 
Overrides: ControlSurfaceComponent.ControlSurfaceComponent.on_enabled_changed

update(self)

source code 
Overrides: ControlSurfaceComponent.ControlSurfaceComponent.update

on_scene_list_changed(self)

source code 

Called by the control surface if scenes are added/removed, to be overridden

Overrides: ControlSurfaceComponent.ControlSurfaceComponent.on_scene_list_changed
(inherited documentation)

on_track_list_changed(self)

source code 

Called by the control surface if tracks are added/removed, to be overridden

Overrides: ControlSurfaceComponent.ControlSurfaceComponent.on_track_list_changed
(inherited documentation)

on_selected_scene_changed(self)

source code 

Called by the control surface when a scene is selected, to be overridden

Overrides: ControlSurfaceComponent.ControlSurfaceComponent.on_selected_scene_changed
(inherited documentation)

_on_stop_all_value(self, value)

source code 
Decorators:
  • @subject_slot('value')

_on_next_scene_value(self, value)

source code 
Decorators:
  • @subject_slot('value')

_on_prev_scene_value(self, value)

source code 
Decorators:
  • @subject_slot('value')

_on_stop_track_value(self, value, sender)

source code 
Decorators:
  • @subject_slot('value')