; Auto-generated. Do not edit!


(in-package test_roscpp_serialization-msg)


;//! \htmlinclude CustomHeader.msg.html

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