_Framework.ControlElement (runtime)¶
Live 11 — Live Object Model & framework reference (descriptions and signatures).
Functions¶
const(value)¶
depends(**dependencies)¶
nop(*a, **k)¶
print_message(*messages)¶
second(seq)¶
Classes¶
class ControlElement(Disconnectable)¶
Properties¶
resource
Methods¶
ProxiedInterface(outer=None, *a, **k)¶
__init__(self, name='', resource_type=None, optimized_send_midi=None, send_midi=None, register_control=None, *a, **k)¶
Initialize self. See help(type(self)) for accurate signature.
_on_resource_lost(self, client)¶
_on_resource_received(self, client, *a, **k)¶
_resource_type(on_received_callback=None, on_lost_callback=None, *a, **k)¶
clear_send_cache(self)¶
disconnect(self)¶
notify_ownership_change(self, client, grabbed, element_ownership_handler=None)¶
reset(self)¶
reset_state(self)¶
send_midi(self, message)¶
Attributes¶
_has_resource=False- bool(x) -> bool_has_task_group=False- bool(x) -> bool_resource=<_Framework.Util.lazy_attribute object at 0x162c99550>_tasks=<_Framework.Util.lazy_attribute object at 0x162c995f8>canonical_parent=Nonename=''- str(object='') -> stroptimized_send_midi=True- bool(x) -> boolproxied_interface=<_Framework.Util.lazy_attribute object at 0x162c91b00>
class ControlElementClient¶
Methods¶
__init__(self, /, *args, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.
set_control_element(self, control_element, grabbed)¶
class Disconnectable¶
Methods¶
__init__(self, /, *args, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.
disconnect(self)¶
class ElementOwnershipHandler¶
Methods¶
__init__(self, /, *args, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.
handle_ownership_change(self, control, client, status)¶
class OptimizedOwnershipHandler(ElementOwnershipHandler)¶
Methods¶
__init__(self, *a, **k)¶
Initialize self. See help(type(self)) for accurate signature.
commit_ownership_changes(self, log_message=None, traceback=None)¶
handle_ownership_change(self, control, client, status)¶
class StackingResource(Resource)¶
Properties¶
clientsmax_priorityownerownersstack_size
Methods¶
__init__(self, on_received_callback=None, on_lost_callback=None, *a, **k)¶
Initialize self. See help(type(self)) for accurate signature.
_actual_owners(self)¶
_add_client(self, client, priority)¶
_on_lost_set(self, clients)¶
_on_received_set(self, clients)¶
_remove_client(self, client)¶
get_owner(self)¶
grab(self, client, priority=None)¶
on_lost(self, client)¶
on_received(self, client)¶
release(self, client)¶
release_all(self)¶
release_stacked(self)¶
class lazy_attribute¶
Methods¶
__init__(self, func, name=None)¶
Initialize self. See help(type(self)) for accurate signature.