; Auto-generated. Do not edit!


(in-package test_rosmsg-msg)


;//! \htmlinclude RosmsgA.msg.html

(defclass <RosmsgA> (ros-message)
  ((a
    :reader a-val
    :initarg :a
    :type integer
    :initform 0))
)
(defmethod serialize ((msg <RosmsgA>) ostream)
  "Serializes a message object of type '<RosmsgA>"
    (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)
)
(defmethod deserialize ((msg <RosmsgA>) istream)
  "Deserializes a message object of type '<RosmsgA>"
  (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))
  msg
)
(defmethod ros-datatype ((msg (eql '<RosmsgA>)))
  "Returns string type for a message object of type '<RosmsgA>"
  "test_rosmsg/RosmsgA")
(defmethod md5sum ((type (eql '<RosmsgA>)))
  "Returns md5sum for a message object of type '<RosmsgA>"
  "5c9fb1a886e81e3162a5c87bf55c072b")
(defmethod message-definition ((type (eql '<RosmsgA>)))
  "Returns full string definition for message of type '<RosmsgA>"
  (format nil "int32 a~%~%~%"))
(defmethod serialization-length ((msg <RosmsgA>))
  (+ 0
     4
))
(defmethod ros-message-to-list ((msg <RosmsgA>))
  "Converts a ROS message object to a list"
  (list '<RosmsgA>
    (cons ':a (a-val msg))
))
