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