; Auto-generated. Do not edit!


(in-package test_rospy-srv)


;//! \htmlinclude ConstantsMultiplex-request.msg.html

(defclass <ConstantsMultiplex-request> (ros-message)
  ((selection
    :reader selection-val
    :initarg :selection
    :type integer
    :initform 0))
)
(defmethod symbol-codes ((msg-type (eql '<ConstantsMultiplex-request>)))
  "Constants for message type '<ConstantsMultiplex-request>"
  '((:BYTE_X . 0)
    (:BYTE_Y . 15)
    (:BYTE_Z . 5)
    (:INT32_X . 0)
    (:INT32_Y . -12345678)
    (:INT32_Z . 12345678)
    (:UINT32_X . 0)
    (:UINT32_Y . 12345678)
    (:UINT32_Z . 1)
    (:FLOAT32_X . 0.0)
    (:FLOAT32_Y . -3.14159)
    (:FLOAT32_Z . 12345.78)
    (:SELECT_X . 1)
    (:SELECT_Y . 2)
    (:SELECT_Z . 3))
)
(defmethod serialize ((msg <ConstantsMultiplex-request>) ostream)
  "Serializes a message object of type '<ConstantsMultiplex-request>"
    (write-byte (ldb (byte 8 0) (slot-value msg 'selection)) ostream)
)
(defmethod deserialize ((msg <ConstantsMultiplex-request>) istream)
  "Deserializes a message object of type '<ConstantsMultiplex-request>"
  (setf (ldb (byte 8 0) (slot-value msg 'selection)) (read-byte istream))
  msg
)
(defmethod ros-datatype ((msg (eql '<ConstantsMultiplex-request>)))
  "Returns string type for a service object of type '<ConstantsMultiplex-request>"
  "test_rospy/ConstantsMultiplexRequest")
(defmethod md5sum ((type (eql '<ConstantsMultiplex-request>)))
  "Returns md5sum for a message object of type '<ConstantsMultiplex-request>"
  "bab86066b3f7801cb25df3932f644396")
(defmethod message-definition ((type (eql '<ConstantsMultiplex-request>)))
  "Returns full string definition for message of type '<ConstantsMultiplex-request>"
  (format nil "byte BYTE_X=0~%byte BYTE_Y=15~%byte BYTE_Z=5~%int32 INT32_X=0~%int32 INT32_Y=-12345678~%int32 INT32_Z=12345678~%uint32 UINT32_X=0~%uint32 UINT32_Y=12345678~%uint32 UINT32_Z=1~%float32 FLOAT32_X=0.0~%float32 FLOAT32_Y=-3.14159~%float32 FLOAT32_Z=12345.78~%byte SELECT_X=1~%byte SELECT_Y=2~%byte SELECT_Z=3~%byte selection~%~%"))
(defmethod serialization-length ((msg <ConstantsMultiplex-request>))
  (+ 0
     1
))
(defmethod ros-message-to-list ((msg <ConstantsMultiplex-request>))
  "Converts a ROS message object to a list"
  (list '<ConstantsMultiplex-request>
    (cons ':selection (selection-val msg))
))
;//! \htmlinclude ConstantsMultiplex-response.msg.html

(defclass <ConstantsMultiplex-response> (ros-message)
  ((select_confirm
    :reader select_confirm-val
    :initarg :select_confirm
    :type integer
    :initform 0)
   (ret_byte
    :reader ret_byte-val
    :initarg :ret_byte
    :type integer
    :initform 0)
   (ret_int32
    :reader ret_int32-val
    :initarg :ret_int32
    :type integer
    :initform 0)
   (ret_uint32
    :reader ret_uint32-val
    :initarg :ret_uint32
    :type integer
    :initform 0)
   (ret_float32
    :reader ret_float32-val
    :initarg :ret_float32
    :type float
    :initform 0.0))
)
(defmethod symbol-codes ((msg-type (eql '<ConstantsMultiplex-response>)))
  "Constants for message type '<ConstantsMultiplex-response>"
  '((:CONFIRM_X . 1)
    (:CONFIRM_Y . 2)
    (:CONFIRM_Z . 3))
)
(defmethod serialize ((msg <ConstantsMultiplex-response>) ostream)
  "Serializes a message object of type '<ConstantsMultiplex-response>"
    (write-byte (ldb (byte 8 0) (slot-value msg 'select_confirm)) ostream)
    (write-byte (ldb (byte 8 0) (slot-value msg 'ret_byte)) ostream)
    (write-byte (ldb (byte 8 0) (slot-value msg 'ret_int32)) ostream)
  (write-byte (ldb (byte 8 8) (slot-value msg 'ret_int32)) ostream)
  (write-byte (ldb (byte 8 16) (slot-value msg 'ret_int32)) ostream)
  (write-byte (ldb (byte 8 24) (slot-value msg 'ret_int32)) ostream)
    (write-byte (ldb (byte 8 0) (slot-value msg 'ret_uint32)) ostream)
  (write-byte (ldb (byte 8 8) (slot-value msg 'ret_uint32)) ostream)
  (write-byte (ldb (byte 8 16) (slot-value msg 'ret_uint32)) ostream)
  (write-byte (ldb (byte 8 24) (slot-value msg 'ret_uint32)) ostream)
  (let ((bits (roslisp-utils:encode-single-float-bits (slot-value msg 'ret_float32))))
    (write-byte (ldb (byte 8 0) bits) ostream)
    (write-byte (ldb (byte 8 8) bits) ostream)
    (write-byte (ldb (byte 8 16) bits) ostream)
    (write-byte (ldb (byte 8 24) bits) ostream))
)
(defmethod deserialize ((msg <ConstantsMultiplex-response>) istream)
  "Deserializes a message object of type '<ConstantsMultiplex-response>"
  (setf (ldb (byte 8 0) (slot-value msg 'select_confirm)) (read-byte istream))
  (setf (ldb (byte 8 0) (slot-value msg 'ret_byte)) (read-byte istream))
  (setf (ldb (byte 8 0) (slot-value msg 'ret_int32)) (read-byte istream))
  (setf (ldb (byte 8 8) (slot-value msg 'ret_int32)) (read-byte istream))
  (setf (ldb (byte 8 16) (slot-value msg 'ret_int32)) (read-byte istream))
  (setf (ldb (byte 8 24) (slot-value msg 'ret_int32)) (read-byte istream))
  (setf (ldb (byte 8 0) (slot-value msg 'ret_uint32)) (read-byte istream))
  (setf (ldb (byte 8 8) (slot-value msg 'ret_uint32)) (read-byte istream))
  (setf (ldb (byte 8 16) (slot-value msg 'ret_uint32)) (read-byte istream))
  (setf (ldb (byte 8 24) (slot-value msg 'ret_uint32)) (read-byte istream))
  (let ((bits 0))
    (setf (ldb (byte 8 0) bits) (read-byte istream))
    (setf (ldb (byte 8 8) bits) (read-byte istream))
    (setf (ldb (byte 8 16) bits) (read-byte istream))
    (setf (ldb (byte 8 24) bits) (read-byte istream))
    (setf (slot-value msg 'ret_float32) (roslisp-utils:decode-single-float-bits bits)))
  msg
)
(defmethod ros-datatype ((msg (eql '<ConstantsMultiplex-response>)))
  "Returns string type for a service object of type '<ConstantsMultiplex-response>"
  "test_rospy/ConstantsMultiplexResponse")
(defmethod md5sum ((type (eql '<ConstantsMultiplex-response>)))
  "Returns md5sum for a message object of type '<ConstantsMultiplex-response>"
  "bab86066b3f7801cb25df3932f644396")
(defmethod message-definition ((type (eql '<ConstantsMultiplex-response>)))
  "Returns full string definition for message of type '<ConstantsMultiplex-response>"
  (format nil "# test response constants as well~%byte CONFIRM_X=1~%byte CONFIRM_Y=2~%byte CONFIRM_Z=3~%byte select_confirm~%byte ret_byte~%int32 ret_int32~%uint32 ret_uint32~%float32 ret_float32~%~%"))
(defmethod serialization-length ((msg <ConstantsMultiplex-response>))
  (+ 0
     1
     1
     4
     4
     4
))
(defmethod ros-message-to-list ((msg <ConstantsMultiplex-response>))
  "Converts a ROS message object to a list"
  (list '<ConstantsMultiplex-response>
    (cons ':select_confirm (select_confirm-val msg))
    (cons ':ret_byte (ret_byte-val msg))
    (cons ':ret_int32 (ret_int32-val msg))
    (cons ':ret_uint32 (ret_uint32-val msg))
    (cons ':ret_float32 (ret_float32-val msg))
))
(defmethod service-request-type ((msg (eql 'ConstantsMultiplex)))
  '<ConstantsMultiplex-request>)
(defmethod service-response-type ((msg (eql 'ConstantsMultiplex)))
  '<ConstantsMultiplex-response>)
(defmethod ros-datatype ((msg (eql 'ConstantsMultiplex)))
  "Returns string type for a service object of type '<ConstantsMultiplex>"
  "test_rospy/ConstantsMultiplex")
