; Auto-generated. Do not edit!


(in-package test_rospy-srv)


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

(defclass <MultipleAddTwoInts-request> (ros-message)
  ((a
    :reader a-val
    :initarg :a
    :type integer
    :initform 0)
   (b
    :reader b-val
    :initarg :b
    :type integer
    :initform 0)
   (c
    :reader c-val
    :initarg :c
    :type integer
    :initform 0)
   (d
    :reader d-val
    :initarg :d
    :type integer
    :initform 0))
)
(defmethod serialize ((msg <MultipleAddTwoInts-request>) ostream)
  "Serializes a message object of type '<MultipleAddTwoInts-request>"
    (write-byte (ldb (byte 8 0) (slot-value msg 'a)) ostream)
  (write-byte (ldb (byte 8 8) (slot-value msg 'a)) ostream)
  (write-byte (ldb (byte 8 16) (slot-value msg 'a)) ostream)
  (write-byte (ldb (byte 8 24) (slot-value msg 'a)) ostream)
    (write-byte (ldb (byte 8 0) (slot-value msg 'b)) ostream)
  (write-byte (ldb (byte 8 8) (slot-value msg 'b)) ostream)
  (write-byte (ldb (byte 8 16) (slot-value msg 'b)) ostream)
  (write-byte (ldb (byte 8 24) (slot-value msg 'b)) ostream)
    (write-byte (ldb (byte 8 0) (slot-value msg 'c)) ostream)
  (write-byte (ldb (byte 8 8) (slot-value msg 'c)) ostream)
  (write-byte (ldb (byte 8 16) (slot-value msg 'c)) ostream)
  (write-byte (ldb (byte 8 24) (slot-value msg 'c)) ostream)
    (write-byte (ldb (byte 8 0) (slot-value msg 'd)) ostream)
  (write-byte (ldb (byte 8 8) (slot-value msg 'd)) ostream)
  (write-byte (ldb (byte 8 16) (slot-value msg 'd)) ostream)
  (write-byte (ldb (byte 8 24) (slot-value msg 'd)) ostream)
)
(defmethod deserialize ((msg <MultipleAddTwoInts-request>) istream)
  "Deserializes a message object of type '<MultipleAddTwoInts-request>"
  (setf (ldb (byte 8 0) (slot-value msg 'a)) (read-byte istream))
  (setf (ldb (byte 8 8) (slot-value msg 'a)) (read-byte istream))
  (setf (ldb (byte 8 16) (slot-value msg 'a)) (read-byte istream))
  (setf (ldb (byte 8 24) (slot-value msg 'a)) (read-byte istream))
  (setf (ldb (byte 8 0) (slot-value msg 'b)) (read-byte istream))
  (setf (ldb (byte 8 8) (slot-value msg 'b)) (read-byte istream))
  (setf (ldb (byte 8 16) (slot-value msg 'b)) (read-byte istream))
  (setf (ldb (byte 8 24) (slot-value msg 'b)) (read-byte istream))
  (setf (ldb (byte 8 0) (slot-value msg 'c)) (read-byte istream))
  (setf (ldb (byte 8 8) (slot-value msg 'c)) (read-byte istream))
  (setf (ldb (byte 8 16) (slot-value msg 'c)) (read-byte istream))
  (setf (ldb (byte 8 24) (slot-value msg 'c)) (read-byte istream))
  (setf (ldb (byte 8 0) (slot-value msg 'd)) (read-byte istream))
  (setf (ldb (byte 8 8) (slot-value msg 'd)) (read-byte istream))
  (setf (ldb (byte 8 16) (slot-value msg 'd)) (read-byte istream))
  (setf (ldb (byte 8 24) (slot-value msg 'd)) (read-byte istream))
  msg
)
(defmethod ros-datatype ((msg (eql '<MultipleAddTwoInts-request>)))
  "Returns string type for a service object of type '<MultipleAddTwoInts-request>"
  "test_rospy/MultipleAddTwoIntsRequest")
(defmethod md5sum ((type (eql '<MultipleAddTwoInts-request>)))
  "Returns md5sum for a message object of type '<MultipleAddTwoInts-request>"
  "51899e11b54a9c6a1153d9517a921791")
(defmethod message-definition ((type (eql '<MultipleAddTwoInts-request>)))
  "Returns full string definition for message of type '<MultipleAddTwoInts-request>"
  (format nil "# test case for having multiple return values~%int32 a~%int32 b~%int32 c~%int32 d~%~%"))
(defmethod serialization-length ((msg <MultipleAddTwoInts-request>))
  (+ 0
     4
     4
     4
     4
))
(defmethod ros-message-to-list ((msg <MultipleAddTwoInts-request>))
  "Converts a ROS message object to a list"
  (list '<MultipleAddTwoInts-request>
    (cons ':a (a-val msg))
    (cons ':b (b-val msg))
    (cons ':c (c-val msg))
    (cons ':d (d-val msg))
))
;//! \htmlinclude MultipleAddTwoInts-response.msg.html

(defclass <MultipleAddTwoInts-response> (ros-message)
  ((ab
    :reader ab-val
    :initarg :ab
    :type integer
    :initform 0)
   (cd
    :reader cd-val
    :initarg :cd
    :type integer
    :initform 0))
)
(defmethod serialize ((msg <MultipleAddTwoInts-response>) ostream)
  "Serializes a message object of type '<MultipleAddTwoInts-response>"
    (write-byte (ldb (byte 8 0) (slot-value msg 'ab)) ostream)
  (write-byte (ldb (byte 8 8) (slot-value msg 'ab)) ostream)
  (write-byte (ldb (byte 8 16) (slot-value msg 'ab)) ostream)
  (write-byte (ldb (byte 8 24) (slot-value msg 'ab)) ostream)
    (write-byte (ldb (byte 8 0) (slot-value msg 'cd)) ostream)
  (write-byte (ldb (byte 8 8) (slot-value msg 'cd)) ostream)
  (write-byte (ldb (byte 8 16) (slot-value msg 'cd)) ostream)
  (write-byte (ldb (byte 8 24) (slot-value msg 'cd)) ostream)
)
(defmethod deserialize ((msg <MultipleAddTwoInts-response>) istream)
  "Deserializes a message object of type '<MultipleAddTwoInts-response>"
  (setf (ldb (byte 8 0) (slot-value msg 'ab)) (read-byte istream))
  (setf (ldb (byte 8 8) (slot-value msg 'ab)) (read-byte istream))
  (setf (ldb (byte 8 16) (slot-value msg 'ab)) (read-byte istream))
  (setf (ldb (byte 8 24) (slot-value msg 'ab)) (read-byte istream))
  (setf (ldb (byte 8 0) (slot-value msg 'cd)) (read-byte istream))
  (setf (ldb (byte 8 8) (slot-value msg 'cd)) (read-byte istream))
  (setf (ldb (byte 8 16) (slot-value msg 'cd)) (read-byte istream))
  (setf (ldb (byte 8 24) (slot-value msg 'cd)) (read-byte istream))
  msg
)
(defmethod ros-datatype ((msg (eql '<MultipleAddTwoInts-response>)))
  "Returns string type for a service object of type '<MultipleAddTwoInts-response>"
  "test_rospy/MultipleAddTwoIntsResponse")
(defmethod md5sum ((type (eql '<MultipleAddTwoInts-response>)))
  "Returns md5sum for a message object of type '<MultipleAddTwoInts-response>"
  "51899e11b54a9c6a1153d9517a921791")
(defmethod message-definition ((type (eql '<MultipleAddTwoInts-response>)))
  "Returns full string definition for message of type '<MultipleAddTwoInts-response>"
  (format nil "int32 ab~%int32 cd~%~%"))
(defmethod serialization-length ((msg <MultipleAddTwoInts-response>))
  (+ 0
     4
     4
))
(defmethod ros-message-to-list ((msg <MultipleAddTwoInts-response>))
  "Converts a ROS message object to a list"
  (list '<MultipleAddTwoInts-response>
    (cons ':ab (ab-val msg))
    (cons ':cd (cd-val msg))
))
(defmethod service-request-type ((msg (eql 'MultipleAddTwoInts)))
  '<MultipleAddTwoInts-request>)
(defmethod service-response-type ((msg (eql 'MultipleAddTwoInts)))
  '<MultipleAddTwoInts-response>)
(defmethod ros-datatype ((msg (eql 'MultipleAddTwoInts)))
  "Returns string type for a service object of type '<MultipleAddTwoInts>"
  "test_rospy/MultipleAddTwoInts")
