1 """autogenerated by genpy from launchman/StartTaskRequest.msg. Do not edit.""" 3 python3 =
True if sys.hexversion > 0x03000000
else False 9 _md5sum =
"f90254a4a4912432fb92a8e890bdfbcd" 10 _type =
"launchman/StartTaskRequest" 12 _full_text =
"""string taskid 16 __slots__ = [
'taskid',
'username']
17 _slot_types = [
'string',
'string']
21 Constructor. Any message fields that are implicitly/explicitly 22 set to None will be assigned a default value. The recommend 23 use is keyword arguments as this is more robust to future message 24 changes. You cannot mix in-order arguments and keyword arguments. 26 The available fields are: 29 :param args: complete set of field values, in .msg order 30 :param kwds: use keyword arguments corresponding to message field names 31 to set specific fields. 34 super(StartTaskRequest, self).
__init__(*args, **kwds)
52 serialize message into buffer 53 :param buff: buffer, ``StringIO`` 58 if python3
or type(_x) == unicode:
59 _x = _x.encode(
'utf-8')
61 buff.write(struct.pack(
'<I%ss'%length, length, _x))
64 if python3
or type(_x) == unicode:
65 _x = _x.encode(
'utf-8')
67 buff.write(struct.pack(
'<I%ss'%length, length, _x))
68 except struct.error
as se: self._check_types(struct.error(
"%s: '%s' when writing '%s'" % (type(se), str(se), str(_x))))
69 except TypeError
as te: self._check_types(ValueError(
"%s: '%s' when writing '%s'" % (type(te), str(te), str(_x))))
73 unpack serialized message in str into this message instance 74 :param str: byte array of serialized message, ``str`` 80 (length,) = _struct_I.unpack(str[start:end])
84 self.
taskid = str[start:end].decode(
'utf-8')
86 self.
taskid = str[start:end]
89 (length,) = _struct_I.unpack(str[start:end])
93 self.
username = str[start:end].decode(
'utf-8')
97 except struct.error
as e:
98 raise genpy.DeserializationError(e)
103 serialize message with numpy array types into buffer 104 :param buff: buffer, ``StringIO`` 105 :param numpy: numpy python module 110 if python3
or type(_x) == unicode:
111 _x = _x.encode(
'utf-8')
113 buff.write(struct.pack(
'<I%ss'%length, length, _x))
116 if python3
or type(_x) == unicode:
117 _x = _x.encode(
'utf-8')
119 buff.write(struct.pack(
'<I%ss'%length, length, _x))
120 except struct.error
as se: self._check_types(struct.error(
"%s: '%s' when writing '%s'" % (type(se), str(se), str(_x))))
121 except TypeError
as te: self._check_types(ValueError(
"%s: '%s' when writing '%s'" % (type(te), str(te), str(_x))))
125 unpack serialized message in str into this message instance using numpy for array types 126 :param str: byte array of serialized message, ``str`` 127 :param numpy: numpy python module 133 (length,) = _struct_I.unpack(str[start:end])
137 self.
taskid = str[start:end].decode(
'utf-8')
139 self.
taskid = str[start:end]
142 (length,) = _struct_I.unpack(str[start:end])
146 self.
username = str[start:end].decode(
'utf-8')
150 except struct.error
as e:
151 raise genpy.DeserializationError(e)
153 _struct_I = genpy.struct_I
154 """autogenerated by genpy from launchman/StartTaskResponse.msg. Do not edit.""" 156 python3 =
True if sys.hexversion > 0x03000000
else False 162 _md5sum =
"4fe5af303955c287688e7347e9b00278" 163 _type =
"launchman/StartTaskResponse" 165 _full_text =
"""string status 169 __slots__ = [
'status']
170 _slot_types = [
'string']
174 Constructor. Any message fields that are implicitly/explicitly 175 set to None will be assigned a default value. The recommend 176 use is keyword arguments as this is more robust to future message 177 changes. You cannot mix in-order arguments and keyword arguments. 179 The available fields are: 182 :param args: complete set of field values, in .msg order 183 :param kwds: use keyword arguments corresponding to message field names 184 to set specific fields. 187 super(StartTaskResponse, self).
__init__(*args, **kwds)
202 serialize message into buffer 203 :param buff: buffer, ``StringIO`` 208 if python3
or type(_x) == unicode:
209 _x = _x.encode(
'utf-8')
211 buff.write(struct.pack(
'<I%ss'%length, length, _x))
212 except struct.error
as se: self._check_types(struct.error(
"%s: '%s' when writing '%s'" % (type(se), str(se), str(_x))))
213 except TypeError
as te: self._check_types(ValueError(
"%s: '%s' when writing '%s'" % (type(te), str(te), str(_x))))
217 unpack serialized message in str into this message instance 218 :param str: byte array of serialized message, ``str`` 224 (length,) = _struct_I.unpack(str[start:end])
228 self.
status = str[start:end].decode(
'utf-8')
230 self.
status = str[start:end]
232 except struct.error
as e:
233 raise genpy.DeserializationError(e)
238 serialize message with numpy array types into buffer 239 :param buff: buffer, ``StringIO`` 240 :param numpy: numpy python module 245 if python3
or type(_x) == unicode:
246 _x = _x.encode(
'utf-8')
248 buff.write(struct.pack(
'<I%ss'%length, length, _x))
249 except struct.error
as se: self._check_types(struct.error(
"%s: '%s' when writing '%s'" % (type(se), str(se), str(_x))))
250 except TypeError
as te: self._check_types(ValueError(
"%s: '%s' when writing '%s'" % (type(te), str(te), str(_x))))
254 unpack serialized message in str into this message instance using numpy for array types 255 :param str: byte array of serialized message, ``str`` 256 :param numpy: numpy python module 262 (length,) = _struct_I.unpack(str[start:end])
266 self.
status = str[start:end].decode(
'utf-8')
268 self.
status = str[start:end]
270 except struct.error
as e:
271 raise genpy.DeserializationError(e)
273 _struct_I = genpy.struct_I
275 _type =
'launchman/StartTask' 276 _md5sum =
'a7f7c2a0ff94dc94508b68c526bc0b69' 277 _request_class = StartTaskRequest
278 _response_class = StartTaskResponse
def deserialize(self, str)
def deserialize_numpy(self, str, numpy)
def serialize(self, buff)
def serialize_numpy(self, buff, numpy)
def __init__(self, args, kwds)
def serialize(self, buff)
def deserialize_numpy(self, str, numpy)
def deserialize(self, str)
def serialize_numpy(self, buff, numpy)
def __init__(self, args, kwds)