; Auto-generated. Do not edit!


(in-package nodelet-srv)


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

(defclass <NodeletList-request> (ros-message)
  ()
)
(defmethod serialize ((msg <NodeletList-request>) ostream)
  "Serializes a message object of type '<NodeletList-request>"
)
(defmethod deserialize ((msg <NodeletList-request>) istream)
  "Deserializes a message object of type '<NodeletList-request>"
  msg
)
(defmethod ros-datatype ((msg (eql '<NodeletList-request>)))
  "Returns string type for a service object of type '<NodeletList-request>"
  "nodelet/NodeletListRequest")
(defmethod md5sum ((type (eql '<NodeletList-request>)))
  "Returns md5sum for a message object of type '<NodeletList-request>"
  "99c7b10e794f5600b8030e697e946ca7")
(defmethod message-definition ((type (eql '<NodeletList-request>)))
  "Returns full string definition for message of type '<NodeletList-request>"
  (format nil "~%"))
(defmethod serialization-length ((msg <NodeletList-request>))
  (+ 0
))
(defmethod ros-message-to-list ((msg <NodeletList-request>))
  "Converts a ROS message object to a list"
  (list '<NodeletList-request>
))
;//! \htmlinclude NodeletList-response.msg.html

(defclass <NodeletList-response> (ros-message)
  ((nodelets
    :reader nodelets-val
    :initarg :nodelets
    :type (vector string)
   :initform (make-array 0 :element-type 'string :initial-element "")))
)
(defmethod serialize ((msg <NodeletList-response>) ostream)
  "Serializes a message object of type '<NodeletList-response>"
  (let ((__ros_arr_len (length (slot-value msg 'nodelets))))
    (write-byte (ldb (byte 8 0) __ros_arr_len) ostream)
    (write-byte (ldb (byte 8 8) __ros_arr_len) ostream)
    (write-byte (ldb (byte 8 16) __ros_arr_len) ostream)
    (write-byte (ldb (byte 8 24) __ros_arr_len) ostream))
  (map nil #'(lambda (ele) (let ((__ros_str_len (length ele)))
    (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)) ele))
    (slot-value msg 'nodelets))
)
(defmethod deserialize ((msg <NodeletList-response>) istream)
  "Deserializes a message object of type '<NodeletList-response>"
  (let ((__ros_arr_len 0))
    (setf (ldb (byte 8 0) __ros_arr_len) (read-byte istream))
    (setf (ldb (byte 8 8) __ros_arr_len) (read-byte istream))
    (setf (ldb (byte 8 16) __ros_arr_len) (read-byte istream))
    (setf (ldb (byte 8 24) __ros_arr_len) (read-byte istream))
    (setf (slot-value msg 'nodelets) (make-array __ros_arr_len))
    (let ((vals (slot-value msg 'nodelets)))
      (dotimes (i __ros_arr_len)
(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 (aref vals i) (make-string __ros_str_len))
    (dotimes (__ros_str_idx __ros_str_len msg)
      (setf (char (aref vals i) __ros_str_idx) (code-char (read-byte istream))))))))
  msg
)
(defmethod ros-datatype ((msg (eql '<NodeletList-response>)))
  "Returns string type for a service object of type '<NodeletList-response>"
  "nodelet/NodeletListResponse")
(defmethod md5sum ((type (eql '<NodeletList-response>)))
  "Returns md5sum for a message object of type '<NodeletList-response>"
  "99c7b10e794f5600b8030e697e946ca7")
(defmethod message-definition ((type (eql '<NodeletList-response>)))
  "Returns full string definition for message of type '<NodeletList-response>"
  (format nil "string[] nodelets~%~%~%"))
(defmethod serialization-length ((msg <NodeletList-response>))
  (+ 0
     4 (reduce #'+ (slot-value msg 'nodelets) :key #'(lambda (ele) (declare (ignorable ele)) (+ 4 (length ele))))
))
(defmethod ros-message-to-list ((msg <NodeletList-response>))
  "Converts a ROS message object to a list"
  (list '<NodeletList-response>
    (cons ':nodelets (nodelets-val msg))
))
(defmethod service-request-type ((msg (eql 'NodeletList)))
  '<NodeletList-request>)
(defmethod service-response-type ((msg (eql 'NodeletList)))
  '<NodeletList-response>)
(defmethod ros-datatype ((msg (eql 'NodeletList)))
  "Returns string type for a service object of type '<NodeletList>"
  "nodelet/NodeletList")
