; Auto-generated. Do not edit!


(in-package nodelet-srv)


;//! \htmlinclude NodeletUnload-request.msg.html

(defclass <NodeletUnload-request> (ros-message)
  ((name
    :reader name-val
    :initarg :name
    :type string
    :initform ""))
)
(defmethod serialize ((msg <NodeletUnload-request>) ostream)
  "Serializes a message object of type '<NodeletUnload-request>"
  (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))
)
(defmethod deserialize ((msg <NodeletUnload-request>) istream)
  "Deserializes a message object of type '<NodeletUnload-request>"
  (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)))))
  msg
)
(defmethod ros-datatype ((msg (eql '<NodeletUnload-request>)))
  "Returns string type for a service object of type '<NodeletUnload-request>"
  "nodelet/NodeletUnloadRequest")
(defmethod md5sum ((type (eql '<NodeletUnload-request>)))
  "Returns md5sum for a message object of type '<NodeletUnload-request>"
  "d08a3b641c2f8680fbdfb1ea2e17a3e1")
(defmethod message-definition ((type (eql '<NodeletUnload-request>)))
  "Returns full string definition for message of type '<NodeletUnload-request>"
  (format nil "string name~%~%"))
(defmethod serialization-length ((msg <NodeletUnload-request>))
  (+ 0
     4 (length (slot-value msg 'name))
))
(defmethod ros-message-to-list ((msg <NodeletUnload-request>))
  "Converts a ROS message object to a list"
  (list '<NodeletUnload-request>
    (cons ':name (name-val msg))
))
;//! \htmlinclude NodeletUnload-response.msg.html

(defclass <NodeletUnload-response> (ros-message)
  ((success
    :reader success-val
    :initarg :success
    :type boolean
    :initform nil))
)
(defmethod serialize ((msg <NodeletUnload-response>) ostream)
  "Serializes a message object of type '<NodeletUnload-response>"
    (write-byte (ldb (byte 8 0) (if (slot-value msg 'success) 1 0)) ostream)
)
(defmethod deserialize ((msg <NodeletUnload-response>) istream)
  "Deserializes a message object of type '<NodeletUnload-response>"
  (setf (slot-value msg 'success) (not (zerop (read-byte istream))))
  msg
)
(defmethod ros-datatype ((msg (eql '<NodeletUnload-response>)))
  "Returns string type for a service object of type '<NodeletUnload-response>"
  "nodelet/NodeletUnloadResponse")
(defmethod md5sum ((type (eql '<NodeletUnload-response>)))
  "Returns md5sum for a message object of type '<NodeletUnload-response>"
  "d08a3b641c2f8680fbdfb1ea2e17a3e1")
(defmethod message-definition ((type (eql '<NodeletUnload-response>)))
  "Returns full string definition for message of type '<NodeletUnload-response>"
  (format nil "bool success~%~%~%"))
(defmethod serialization-length ((msg <NodeletUnload-response>))
  (+ 0
     1
))
(defmethod ros-message-to-list ((msg <NodeletUnload-response>))
  "Converts a ROS message object to a list"
  (list '<NodeletUnload-response>
    (cons ':success (success-val msg))
))
(defmethod service-request-type ((msg (eql 'NodeletUnload)))
  '<NodeletUnload-request>)
(defmethod service-response-type ((msg (eql 'NodeletUnload)))
  '<NodeletUnload-response>)
(defmethod ros-datatype ((msg (eql 'NodeletUnload)))
  "Returns string type for a service object of type '<NodeletUnload>"
  "nodelet/NodeletUnload")
