; Auto-generated. Do not edit!


(in-package test_rospy-msg)


;//! \htmlinclude HeaderVal.msg.html

(defclass <HeaderVal> (ros-message)
  ((header
    :reader header-val
    :initarg :header
    :type roslib-msg:<Header>
    :initform (make-instance 'roslib-msg:<Header>))
   (val
    :reader val-val
    :initarg :val
    :type string
    :initform ""))
)
(defmethod serialize ((msg <HeaderVal>) ostream)
  "Serializes a message object of type '<HeaderVal>"
  (serialize (slot-value msg 'header) ostream)
  (let ((__ros_str_len (length (slot-value msg 'val))))
    (write-byte (ldb (byte 8 0) __ros_str_len) ostream)
    (write-byte (ldb (byte 8 8) __ros_str_len) ostream)
    (write-byte (ldb (byte 8 16) __ros_str_len) ostream)
    (write-byte (ldb (byte 8 24) __ros_str_len) ostream))
  (map nil #'(lambda (c) (write-byte (char-code c) ostream)) (slot-value msg 'val))
)
(defmethod deserialize ((msg <HeaderVal>) istream)
  "Deserializes a message object of type '<HeaderVal>"
  (deserialize (slot-value msg 'header) istream)
  (let ((__ros_str_len 0))
    (setf (ldb (byte 8 0) __ros_str_len) (read-byte istream))
    (setf (ldb (byte 8 8) __ros_str_len) (read-byte istream))
    (setf (ldb (byte 8 16) __ros_str_len) (read-byte istream))
    (setf (ldb (byte 8 24) __ros_str_len) (read-byte istream))
    (setf (slot-value msg 'val) (make-string __ros_str_len))
    (dotimes (__ros_str_idx __ros_str_len msg)
      (setf (char (slot-value msg 'val) __ros_str_idx) (code-char (read-byte istream)))))
  msg
)
(defmethod ros-datatype ((msg (eql '<HeaderVal>)))
  "Returns string type for a message object of type '<HeaderVal>"
  "test_rospy/HeaderVal")
(defmethod md5sum ((type (eql '<HeaderVal>)))
  "Returns md5sum for a message object of type '<HeaderVal>"
  "c3262d64205f82361bc7aa4173b8fe64")
(defmethod message-definition ((type (eql '<HeaderVal>)))
  "Returns full string definition for message of type '<HeaderVal>"
  (format nil "Header header~%string val~%================================================================================~%MSG: roslib/Header~%# Standard metadata for higher-level stamped data types.~%# This is generally used to communicate timestamped data ~%# in a particular coordinate frame.~%# ~%# sequence ID: consecutively increasing ID ~%uint32 seq~%#Two-integer timestamp that is expressed as:~%# * stamp.secs: seconds (stamp_secs) since epoch~%# * stamp.nsecs: nanoseconds since stamp_secs~%# time-handling sugar is provided by the client library~%time stamp~%#Frame this data is associated with~%# 0: no frame~%# 1: global frame~%string frame_id~%~%~%"))
(defmethod serialization-length ((msg <HeaderVal>))
  (+ 0
     (serialization-length (slot-value msg 'header))
     4 (length (slot-value msg 'val))
))
(defmethod ros-message-to-list ((msg <HeaderVal>))
  "Converts a ROS message object to a list"
  (list '<HeaderVal>
    (cons ':header (header-val msg))
    (cons ':val (val-val msg))
))
