; Auto-generated. Do not edit!


(in-package test_roscpp_serialization-msg)


;//! \htmlinclude WithMemberNamedHeaderThatIsNotAHeader.msg.html

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