; Auto-generated. Do not edit!


(in-package std_msgs-msg)


;//! \htmlinclude Int32.msg.html

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