00001 """autogenerated by genpy from vrep_common/simRosCloseSceneRequest.msg. Do not edit."""
00002 import sys
00003 python3 = True if sys.hexversion > 0x03000000 else False
00004 import genpy
00005 import struct
00006
00007
00008 class simRosCloseSceneRequest(genpy.Message):
00009 _md5sum = "d41d8cd98f00b204e9800998ecf8427e"
00010 _type = "vrep_common/simRosCloseSceneRequest"
00011 _has_header = False
00012 _full_text = """
00013
00014
00015
00016
00017 """
00018 __slots__ = []
00019 _slot_types = []
00020
00021 def __init__(self, *args, **kwds):
00022 """
00023 Constructor. Any message fields that are implicitly/explicitly
00024 set to None will be assigned a default value. The recommend
00025 use is keyword arguments as this is more robust to future message
00026 changes. You cannot mix in-order arguments and keyword arguments.
00027
00028 The available fields are:
00029
00030
00031 :param args: complete set of field values, in .msg order
00032 :param kwds: use keyword arguments corresponding to message field names
00033 to set specific fields.
00034 """
00035 if args or kwds:
00036 super(simRosCloseSceneRequest, self).__init__(*args, **kwds)
00037
00038 def _get_types(self):
00039 """
00040 internal API method
00041 """
00042 return self._slot_types
00043
00044 def serialize(self, buff):
00045 """
00046 serialize message into buffer
00047 :param buff: buffer, ``StringIO``
00048 """
00049 try:
00050 pass
00051 except struct.error as se: self._check_types(se)
00052 except TypeError as te: self._check_types(te)
00053
00054 def deserialize(self, str):
00055 """
00056 unpack serialized message in str into this message instance
00057 :param str: byte array of serialized message, ``str``
00058 """
00059 try:
00060 end = 0
00061 return self
00062 except struct.error as e:
00063 raise genpy.DeserializationError(e)
00064
00065
00066 def serialize_numpy(self, buff, numpy):
00067 """
00068 serialize message with numpy array types into buffer
00069 :param buff: buffer, ``StringIO``
00070 :param numpy: numpy python module
00071 """
00072 try:
00073 pass
00074 except struct.error as se: self._check_types(se)
00075 except TypeError as te: self._check_types(te)
00076
00077 def deserialize_numpy(self, str, numpy):
00078 """
00079 unpack serialized message in str into this message instance using numpy for array types
00080 :param str: byte array of serialized message, ``str``
00081 :param numpy: numpy python module
00082 """
00083 try:
00084 end = 0
00085 return self
00086 except struct.error as e:
00087 raise genpy.DeserializationError(e)
00088
00089 _struct_I = genpy.struct_I
00090 """autogenerated by genpy from vrep_common/simRosCloseSceneResponse.msg. Do not edit."""
00091 import sys
00092 python3 = True if sys.hexversion > 0x03000000 else False
00093 import genpy
00094 import struct
00095
00096
00097 class simRosCloseSceneResponse(genpy.Message):
00098 _md5sum = "034a8e20d6a306665e3a5b340fab3f09"
00099 _type = "vrep_common/simRosCloseSceneResponse"
00100 _has_header = False
00101 _full_text = """int32 result
00102
00103
00104
00105 """
00106 __slots__ = ['result']
00107 _slot_types = ['int32']
00108
00109 def __init__(self, *args, **kwds):
00110 """
00111 Constructor. Any message fields that are implicitly/explicitly
00112 set to None will be assigned a default value. The recommend
00113 use is keyword arguments as this is more robust to future message
00114 changes. You cannot mix in-order arguments and keyword arguments.
00115
00116 The available fields are:
00117 result
00118
00119 :param args: complete set of field values, in .msg order
00120 :param kwds: use keyword arguments corresponding to message field names
00121 to set specific fields.
00122 """
00123 if args or kwds:
00124 super(simRosCloseSceneResponse, self).__init__(*args, **kwds)
00125
00126 if self.result is None:
00127 self.result = 0
00128 else:
00129 self.result = 0
00130
00131 def _get_types(self):
00132 """
00133 internal API method
00134 """
00135 return self._slot_types
00136
00137 def serialize(self, buff):
00138 """
00139 serialize message into buffer
00140 :param buff: buffer, ``StringIO``
00141 """
00142 try:
00143 buff.write(_struct_i.pack(self.result))
00144 except struct.error as se: self._check_types(se)
00145 except TypeError as te: self._check_types(te)
00146
00147 def deserialize(self, str):
00148 """
00149 unpack serialized message in str into this message instance
00150 :param str: byte array of serialized message, ``str``
00151 """
00152 try:
00153 end = 0
00154 start = end
00155 end += 4
00156 (self.result,) = _struct_i.unpack(str[start:end])
00157 return self
00158 except struct.error as e:
00159 raise genpy.DeserializationError(e)
00160
00161
00162 def serialize_numpy(self, buff, numpy):
00163 """
00164 serialize message with numpy array types into buffer
00165 :param buff: buffer, ``StringIO``
00166 :param numpy: numpy python module
00167 """
00168 try:
00169 buff.write(_struct_i.pack(self.result))
00170 except struct.error as se: self._check_types(se)
00171 except TypeError as te: self._check_types(te)
00172
00173 def deserialize_numpy(self, str, numpy):
00174 """
00175 unpack serialized message in str into this message instance using numpy for array types
00176 :param str: byte array of serialized message, ``str``
00177 :param numpy: numpy python module
00178 """
00179 try:
00180 end = 0
00181 start = end
00182 end += 4
00183 (self.result,) = _struct_i.unpack(str[start:end])
00184 return self
00185 except struct.error as e:
00186 raise genpy.DeserializationError(e)
00187
00188 _struct_I = genpy.struct_I
00189 _struct_i = struct.Struct("<i")
00190 class simRosCloseScene(object):
00191 _type = 'vrep_common/simRosCloseScene'
00192 _md5sum = '034a8e20d6a306665e3a5b340fab3f09'
00193 _request_class = simRosCloseSceneRequest
00194 _response_class = simRosCloseSceneResponse