1 """autogenerated by genpy from launchman/ListTasksRequest.msg. Do not edit.""" 3 python3 =
True if sys.hexversion > 0x03000000
else False 9 _md5sum =
"d41d8cd98f00b204e9800998ecf8427e" 10 _type =
"launchman/ListTasksRequest" 19 Constructor. Any message fields that are implicitly/explicitly 20 set to None will be assigned a default value. The recommend 21 use is keyword arguments as this is more robust to future message 22 changes. You cannot mix in-order arguments and keyword arguments. 24 The available fields are: 27 :param args: complete set of field values, in .msg order 28 :param kwds: use keyword arguments corresponding to message field names 29 to set specific fields. 32 super(ListTasksRequest, self).
__init__(*args, **kwds)
42 serialize message into buffer 43 :param buff: buffer, ``StringIO`` 47 except struct.error
as se: self._check_types(struct.error(
"%s: '%s' when writing '%s'" % (type(se), str(se), str(_x))))
48 except TypeError
as te: self._check_types(ValueError(
"%s: '%s' when writing '%s'" % (type(te), str(te), str(_x))))
52 unpack serialized message in str into this message instance 53 :param str: byte array of serialized message, ``str`` 58 except struct.error
as e:
59 raise genpy.DeserializationError(e)
64 serialize message with numpy array types into buffer 65 :param buff: buffer, ``StringIO`` 66 :param numpy: numpy python module 70 except struct.error
as se: self._check_types(struct.error(
"%s: '%s' when writing '%s'" % (type(se), str(se), str(_x))))
71 except TypeError
as te: self._check_types(ValueError(
"%s: '%s' when writing '%s'" % (type(te), str(te), str(_x))))
75 unpack serialized message in str into this message instance using numpy for array types 76 :param str: byte array of serialized message, ``str`` 77 :param numpy: numpy python module 82 except struct.error
as e:
83 raise genpy.DeserializationError(e)
85 _struct_I = genpy.struct_I
86 """autogenerated by genpy from launchman/ListTasksResponse.msg. Do not edit.""" 88 python3 =
True if sys.hexversion > 0x03000000
else False 94 _md5sum =
"8e23a0a55cd0f3fcb9989be6ceff0145" 95 _type =
"launchman/ListTasksResponse" 97 _full_text =
"""string[] tasks 101 __slots__ = [
'tasks']
102 _slot_types = [
'string[]']
106 Constructor. Any message fields that are implicitly/explicitly 107 set to None will be assigned a default value. The recommend 108 use is keyword arguments as this is more robust to future message 109 changes. You cannot mix in-order arguments and keyword arguments. 111 The available fields are: 114 :param args: complete set of field values, in .msg order 115 :param kwds: use keyword arguments corresponding to message field names 116 to set specific fields. 119 super(ListTasksResponse, self).
__init__(*args, **kwds)
121 if self.
tasks is None:
134 serialize message into buffer 135 :param buff: buffer, ``StringIO`` 138 length = len(self.
tasks)
139 buff.write(_struct_I.pack(length))
140 for val1
in self.
tasks:
142 if python3
or type(val1) == unicode:
143 val1 = val1.encode(
'utf-8')
145 buff.write(struct.pack(
'<I%ss'%length, length, val1))
146 except struct.error
as se: self._check_types(struct.error(
"%s: '%s' when writing '%s'" % (type(se), str(se), str(_x))))
147 except TypeError
as te: self._check_types(ValueError(
"%s: '%s' when writing '%s'" % (type(te), str(te), str(_x))))
151 unpack serialized message in str into this message instance 152 :param str: byte array of serialized message, ``str`` 158 (length,) = _struct_I.unpack(str[start:end])
160 for i
in range(0, length):
163 (length,) = _struct_I.unpack(str[start:end])
167 val1 = str[start:end].decode(
'utf-8')
169 val1 = str[start:end]
170 self.tasks.append(val1)
172 except struct.error
as e:
173 raise genpy.DeserializationError(e)
178 serialize message with numpy array types into buffer 179 :param buff: buffer, ``StringIO`` 180 :param numpy: numpy python module 183 length = len(self.
tasks)
184 buff.write(_struct_I.pack(length))
185 for val1
in self.
tasks:
187 if python3
or type(val1) == unicode:
188 val1 = val1.encode(
'utf-8')
190 buff.write(struct.pack(
'<I%ss'%length, length, val1))
191 except struct.error
as se: self._check_types(struct.error(
"%s: '%s' when writing '%s'" % (type(se), str(se), str(_x))))
192 except TypeError
as te: self._check_types(ValueError(
"%s: '%s' when writing '%s'" % (type(te), str(te), str(_x))))
196 unpack serialized message in str into this message instance using numpy for array types 197 :param str: byte array of serialized message, ``str`` 198 :param numpy: numpy python module 204 (length,) = _struct_I.unpack(str[start:end])
206 for i
in range(0, length):
209 (length,) = _struct_I.unpack(str[start:end])
213 val1 = str[start:end].decode(
'utf-8')
215 val1 = str[start:end]
216 self.tasks.append(val1)
218 except struct.error
as e:
219 raise genpy.DeserializationError(e)
221 _struct_I = genpy.struct_I
223 _type =
'launchman/ListTasks' 224 _md5sum =
'8e23a0a55cd0f3fcb9989be6ceff0145' 225 _request_class = ListTasksRequest
226 _response_class = ListTasksResponse
def serialize(self, buff)
def __init__(self, args, kwds)
def deserialize(self, str)
def serialize(self, buff)
def __init__(self, args, kwds)
def deserialize_numpy(self, str, numpy)
def deserialize_numpy(self, str, numpy)
def deserialize(self, str)
def serialize_numpy(self, buff, numpy)
def serialize_numpy(self, buff, numpy)