; Auto-generated. Do not edit!


(in-package roscpp-msg)


;//! \htmlinclude Logger.msg.html

(defclass <Logger> (ros-message)
  ((name
    :reader name-val
    :initarg :name
    :type string
    :initform "")
   (level
    :reader level-val
    :initarg :level
    :type string
    :initform ""))
)
(defmethod serialize ((msg <Logger>) ostream)
  "Serializes a message object of type '<Logger>"
  (let ((__ros_str_len (length (slot-value msg 'name))))
    (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 'name))
  (let ((__ros_str_len (length (slot-value msg 'level))))
    (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 'level))
)
(defmethod deserialize ((msg <Logger>) istream)
  "Deserializes a message object of type '<Logger>"
  (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 'name) (make-string __ros_str_len))
    (dotimes (__ros_str_idx __ros_str_len msg)
      (setf (char (slot-value msg 'name) __ros_str_idx) (code-char (read-byte 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 'level) (make-string __ros_str_len))
    (dotimes (__ros_str_idx __ros_str_len msg)
      (setf (char (slot-value msg 'level) __ros_str_idx) (code-char (read-byte istream)))))
  msg
)
(defmethod ros-datatype ((msg (eql '<Logger>)))
  "Returns string type for a message object of type '<Logger>"
  "roscpp/Logger")
(defmethod md5sum ((type (eql '<Logger>)))
  "Returns md5sum for a message object of type '<Logger>"
  "a6069a2ff40db7bd32143dd66e1f408e")
(defmethod message-definition ((type (eql '<Logger>)))
  "Returns full string definition for message of type '<Logger>"
  (format nil "string name~%string level~%~%~%"))
(defmethod serialization-length ((msg <Logger>))
  (+ 0
     4 (length (slot-value msg 'name))
     4 (length (slot-value msg 'level))
))
(defmethod ros-message-to-list ((msg <Logger>))
  "Converts a ROS message object to a list"
  (list '<Logger>
    (cons ':name (name-val msg))
    (cons ':level (level-val msg))
))
