text: # This Python file uses the following encoding: utf-8
  """autogenerated by genpy from vrep_common/simRosSetUISliderRequest.msg. Do not edit."""
  import sys
  python3 = True if sys.hexversion > 0x03000000 else False
  import genpy
  import struct
  
  
  class simRosSetUISliderRequest(genpy.Message):
    _md5sum = "a550d760ae1305559ac0bf7bb782c812"
    _type = "vrep_common/simRosSetUISliderRequest"
    _has_header = False #flag to mark the presence of a Header object
    _full_text = """
  
  
  
  int32 uiHandle
  int32 buttonID
  int32 position
  
  """
    __slots__ = ['uiHandle','buttonID','position']
    _slot_types = ['int32','int32','int32']
  
    def __init__(self, *args, **kwds):
      """
      Constructor. Any message fields that are implicitly/explicitly
      set to None will be assigned a default value. The recommend
      use is keyword arguments as this is more robust to future message
      changes.  You cannot mix in-order arguments and keyword arguments.
  
      The available fields are:
         uiHandle,buttonID,position
  
      :param args: complete set of field values, in .msg order
      :param kwds: use keyword arguments corresponding to message field names
      to set specific fields.
      """
      if args or kwds:
        super(simRosSetUISliderRequest, self).__init__(*args, **kwds)
        #message fields cannot be None, assign default values for those that are
        if self.uiHandle is None:
          self.uiHandle = 0
        if self.buttonID is None:
          self.buttonID = 0
        if self.position is None:
          self.position = 0
      else:
        self.uiHandle = 0
        self.buttonID = 0
        self.position = 0
  
    def _get_types(self):
      """
      internal API method
      """
      return self._slot_types
  
    def serialize(self, buff):
      """
      serialize message into buffer
      :param buff: buffer, ``StringIO``
      """
      try:
        _x = self
        buff.write(_struct_3i.pack(_x.uiHandle, _x.buttonID, _x.position))
      except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(_x))))
      except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(_x))))
  
    def deserialize(self, str):
      """
      unpack serialized message in str into this message instance
      :param str: byte array of serialized message, ``str``
      """
      try:
        end = 0
        _x = self
        start = end
        end += 12
        (_x.uiHandle, _x.buttonID, _x.position,) = _struct_3i.unpack(str[start:end])
        return self
      except struct.error as e:
        raise genpy.DeserializationError(e) #most likely buffer underfill
  
  
    def serialize_numpy(self, buff, numpy):
      """
      serialize message with numpy array types into buffer
      :param buff: buffer, ``StringIO``
      :param numpy: numpy python module
      """
      try:
        _x = self
        buff.write(_struct_3i.pack(_x.uiHandle, _x.buttonID, _x.position))
      except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(_x))))
      except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(_x))))
  
    def deserialize_numpy(self, str, numpy):
      """
      unpack serialized message in str into this message instance using numpy for array types
      :param str: byte array of serialized message, ``str``
      :param numpy: numpy python module
      """
      try:
        end = 0
        _x = self
        start = end
        end += 12
        (_x.uiHandle, _x.buttonID, _x.position,) = _struct_3i.unpack(str[start:end])
        return self
      except struct.error as e:
        raise genpy.DeserializationError(e) #most likely buffer underfill
  
  _struct_I = genpy.struct_I
  _struct_3i = struct.Struct("<3i")
  # This Python file uses the following encoding: utf-8
  """autogenerated by genpy from vrep_common/simRosSetUISliderResponse.msg. Do not edit."""
  import sys
  python3 = True if sys.hexversion > 0x03000000 else False
  import genpy
  import struct
  
  
  class simRosSetUISliderResponse(genpy.Message):
    _md5sum = "034a8e20d6a306665e3a5b340fab3f09"
    _type = "vrep_common/simRosSetUISliderResponse"
    _has_header = False #flag to mark the presence of a Header object
    _full_text = """int32 result
  
  
  """
    __slots__ = ['result']
    _slot_types = ['int32']
  
    def __init__(self, *args, **kwds):
      """
      Constructor. Any message fields that are implicitly/explicitly
      set to None will be assigned a default value. The recommend
      use is keyword arguments as this is more robust to future message
      changes.  You cannot mix in-order arguments and keyword arguments.
  
      The available fields are:
         result
  
      :param args: complete set of field values, in .msg order
      :param kwds: use keyword arguments corresponding to message field names
      to set specific fields.
      """
      if args or kwds:
        super(simRosSetUISliderResponse, self).__init__(*args, **kwds)
        #message fields cannot be None, assign default values for those that are
        if self.result is None:
          self.result = 0
      else:
        self.result = 0
  
    def _get_types(self):
      """
      internal API method
      """
      return self._slot_types
  
    def serialize(self, buff):
      """
      serialize message into buffer
      :param buff: buffer, ``StringIO``
      """
      try:
        buff.write(_struct_i.pack(self.result))
      except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(_x))))
      except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(_x))))
  
    def deserialize(self, str):
      """
      unpack serialized message in str into this message instance
      :param str: byte array of serialized message, ``str``
      """
      try:
        end = 0
        start = end
        end += 4
        (self.result,) = _struct_i.unpack(str[start:end])
        return self
      except struct.error as e:
        raise genpy.DeserializationError(e) #most likely buffer underfill
  
  
    def serialize_numpy(self, buff, numpy):
      """
      serialize message with numpy array types into buffer
      :param buff: buffer, ``StringIO``
      :param numpy: numpy python module
      """
      try:
        buff.write(_struct_i.pack(self.result))
      except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(_x))))
      except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(_x))))
  
    def deserialize_numpy(self, str, numpy):
      """
      unpack serialized message in str into this message instance using numpy for array types
      :param str: byte array of serialized message, ``str``
      :param numpy: numpy python module
      """
      try:
        end = 0
        start = end
        end += 4
        (self.result,) = _struct_i.unpack(str[start:end])
        return self
      except struct.error as e:
        raise genpy.DeserializationError(e) #most likely buffer underfill
  
  _struct_I = genpy.struct_I
  _struct_i = struct.Struct("<i")
  class simRosSetUISlider(object):
    _type          = 'vrep_common/simRosSetUISlider'
    _md5sum = 'a3a4f1222511591c647246b4904a9a10'
    _request_class  = simRosSetUISliderRequest
    _response_class = simRosSetUISliderResponse
  