if arguments == None:
arguments = {}
self.arguments = arguments
+ self.explicit_user_call = True
+ """Message is explicitly user-executed. This is useful for
+ distinguishing auto-generated calls (for which
+ `explicit_user_call` should be `False` such as the GUIs
+ current status requests.
+ """
def __str__(self):
return str(self.__unicode__())
be ready to receive the next :class:`QueueMessage`.
"""
log = logging.getLogger('hooke')
+ log.debug('engine starting')
+ for playlist in hooke.playlists: # Curve._hooke is not pickled.
+ for curve in playlist:
+ curve.set_hooke(hooke)
while True:
log.debug('engine waiting for command')
msg = ui_to_command_queue.get()