_SayResult.py
Go to the documentation of this file.
00001 """autogenerated by genpy from cob_sound/SayResult.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 SayResult(genpy.Message):
00009   _md5sum = "d41d8cd98f00b204e9800998ecf8427e"
00010   _type = "cob_sound/SayResult"
00011   _has_header = False #flag to mark the presence of a Header object
00012   _full_text = """# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00013 #result
00014 
00015 """
00016   __slots__ = []
00017   _slot_types = []
00018 
00019   def __init__(self, *args, **kwds):
00020     """
00021     Constructor. Any message fields that are implicitly/explicitly
00022     set to None will be assigned a default value. The recommend
00023     use is keyword arguments as this is more robust to future message
00024     changes.  You cannot mix in-order arguments and keyword arguments.
00025 
00026     The available fields are:
00027        
00028 
00029     :param args: complete set of field values, in .msg order
00030     :param kwds: use keyword arguments corresponding to message field names
00031     to set specific fields.
00032     """
00033     if args or kwds:
00034       super(SayResult, self).__init__(*args, **kwds)
00035 
00036   def _get_types(self):
00037     """
00038     internal API method
00039     """
00040     return self._slot_types
00041 
00042   def serialize(self, buff):
00043     """
00044     serialize message into buffer
00045     :param buff: buffer, ``StringIO``
00046     """
00047     try:
00048       pass
00049     except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(_x))))
00050     except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(_x))))
00051 
00052   def deserialize(self, str):
00053     """
00054     unpack serialized message in str into this message instance
00055     :param str: byte array of serialized message, ``str``
00056     """
00057     try:
00058       end = 0
00059       return self
00060     except struct.error as e:
00061       raise genpy.DeserializationError(e) #most likely buffer underfill
00062 
00063 
00064   def serialize_numpy(self, buff, numpy):
00065     """
00066     serialize message with numpy array types into buffer
00067     :param buff: buffer, ``StringIO``
00068     :param numpy: numpy python module
00069     """
00070     try:
00071       pass
00072     except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(_x))))
00073     except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(_x))))
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, ``str``
00079     :param numpy: numpy python module
00080     """
00081     try:
00082       end = 0
00083       return self
00084     except struct.error as e:
00085       raise genpy.DeserializationError(e) #most likely buffer underfill
00086 
00087 _struct_I = genpy.struct_I


cob_sound
Author(s): Florian Weisshardt
autogenerated on Sun Oct 5 2014 23:11:00