Exemplo n.º 1
0
 def __init__(self,
              run_method,
              stop_method,
              success_child,
              fail_child,
              add_to_queue_method,
              priority,
              target,
              result_key=None):
     ITask.__init__(self, run_method, stop_method, success_child,
                    fail_child, add_to_queue_method, priority)
     self.target = target
     self.result_key = result_key
Exemplo n.º 2
0
 def __init__(self,
              run_method,
              stop_method,
              success_child,
              fail_child,
              add_to_queue_method,
              priority,
              target,
              offset=0):
     ITask.__init__(self, run_method, stop_method, success_child,
                    fail_child, add_to_queue_method, priority)
     self.target = target
     self.offset = offset
Exemplo n.º 3
0
 def __init__(self,
              run_method,
              stop_method,
              success_child,
              fail_child,
              add_to_queue_method,
              priority,
              target,
              optional_entities=None):
     ITask.__init__(self, run_method, stop_method, success_child,
                    fail_child, add_to_queue_method, priority)
     self.target = target
     self.optional_entities = optional_entities
Exemplo n.º 4
0
 def __init__(self, run_method, stop_method, success_child, fail_child,
              add_to_queue_method, priority, text):
     ITask.__init__(self, run_method, stop_method, success_child,
                    fail_child, add_to_queue_method, priority)
     self.text = text
Exemplo n.º 5
0
 def __init__(self, run_method, stop_method, success_child, fail_child,
              add_to_queue_method, priority, keywords):
     ITask.__init__(self, run_method, stop_method, success_child,
                    fail_child, add_to_queue_method, priority)
     self.keywords = keywords
     self.result = None
Exemplo n.º 6
0
 def __init__(self, run_method, stop_method, success_child, fail_child,
              add_to_queue_method, priority, activity):
     ITask.__init__(self, run_method, stop_method, success_child,
                    fail_child, add_to_queue_method, priority)
     self.activity = activity
     self.result = None
Exemplo n.º 7
0
 def __init__(self, run_method, stop_method, success_child, fail_child,
              add_to_queue_method, priority, beh_name):
     ITask.__init__(self, run_method, stop_method, success_child,
                    fail_child, add_to_queue_method, priority)
     self.behaviour_name = beh_name
Exemplo n.º 8
0
 def __init__(self, run_method, stop_method, success_child, fail_child,
              add_to_queue_method, priority, pose_name):
     ITask.__init__(self, run_method, stop_method, success_child,
                    fail_child, add_to_queue_method, priority)
     self.pose_name = pose_name