示例#1
0
    def __init__(self):
        OutOfBandProcessor.__init__(self)
        self._pub = rospy.Publisher(gestSettings.g_rostopic_gestures, String, queue_size=gestSettings.g_queueSize)

        self._service = None
        self._method = None
        self._parameter = None
示例#2
0
    def test_processor(self):
        oob_processor = OutOfBandProcessor()
        self.assertIsNotNone(oob_processor)
        self.assertIsNone(oob_processor._xml)

        oob_content = ET.fromstring("<something>process</something>")
        oob_processor.parse_oob_xml(oob_content)
        self.assertIsNotNone(oob_processor._xml)

        with self.assertRaises(NotImplementedError):
            oob_processor.execute_oob_command(self._client_context)

        with self.assertRaises(NotImplementedError):
            oob_processor.process_out_of_bounds(self._client_context,
                                                oob_content)
示例#3
0
    def test_processor(self):
        oob_processor = OutOfBandProcessor()
        self.assertIsNotNone(oob_processor)
        self.assertIsNone(oob_processor._xml)

        oob_content = ET.fromstring("<something>process</something>")
        oob_processor.parse_oob_xml(oob_content)
        self.assertIsNotNone(oob_processor._xml)

        self.assertEqual("", oob_processor.execute_oob_command(self._client_context))

        self.assertEqual("", oob_processor.process_out_of_bounds(self._client_context, oob_content))
示例#4
0
 def __init__(self):
     OutOfBandProcessor.__init__(self)
     self._location = None
示例#5
0
 def __init__(self):
     OutOfBandProcessor.__init__(self)
     self._url = None
示例#6
0
 def __init__(self):
     OutOfBandProcessor.__init__(self)
     self._hour = None
     self._min = None
     self._message = None
示例#7
0
文件: dial.py 项目: zippyy/program-y
 def __init__(self):
     OutOfBandProcessor.__init__(self)
     self._number = None
示例#8
0
 def __init__(self):
     OutOfBandProcessor.__init__(self)
     self._command = None
示例#9
0
 def __init__(self):
     OutOfBandProcessor.__init__(self)
     self._to = None
     self._subject = None
     self._body = None
示例#10
0
 def __init__(self):
     OutOfBandProcessor.__init__(self)
示例#11
0
 def __init__(self):
     OutOfBandProcessor.__init__(self)
     self._title = None
     self._list = None
示例#12
0
 def __init__(self):
     OutOfBandProcessor.__init__(self)
     self._title = None
     self._description = None
示例#13
0
文件: sms.py 项目: zippyy/program-y
 def __init__(self):
     OutOfBandProcessor.__init__(self)
     self._recipient = None
     self._message = None
示例#14
0
 def __init__(self):
     OutOfBandProcessor.__init__(self)
     self._search = None