Skip to content

_Framework.ControlElement

Classes

class ControlElementClient(object)

Bases: object

set_control_element(self, control_element, grabbed)

class ElementOwnershipHandler(object)

Bases: object

handle_ownership_change(self, control, client, status)

class OptimizedOwnershipHandler(ElementOwnershipHandler)

Bases: ElementOwnershipHandler

__init__(self, *a, **k)

handle_ownership_change(self, control, client, status)

commit_ownership_changes(self, log_message, traceback)

class ControlElement(Disconnectable)

Bases: Disconnectable

Attributes

  • canonical_parent = None
  • name = ''
  • optimized_send_midi = True
  • _has_resource = False
  • _resource_type
  • _has_task_group = False

proxied_interface(self)

__init__(self, name, resource_type, optimized_send_midi, send_midi, register_control, *a, **k)

disconnect(self)

send_midi(self, message)

clear_send_cache(self)

reset(self)

reset_state(self)

resource(self)

_resource(self)

_tasks(self, parent_task_group)

_on_resource_received(self, client, *a, **k)

_on_resource_lost(self, client)

notify_ownership_change(self, client, grabbed, element_ownership_handler)

class ProxiedInterface(object)

Bases: object

Attributes
  • send_midi
  • reset_state
__init__(self, outer, *a, **k)
outer(self)