Exemple #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
Exemple #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
Exemple #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
Exemple #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
Exemple #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
Exemple #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
Exemple #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
Exemple #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