; Auto-generated. Do not edit!


(in-package roscpp-srv)


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

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

(defclass <GetLoggers-response> (ros-message)
  ((loggers
    :reader loggers-val
    :initarg :loggers
    :type (vector <Logger>)
   :initform (make-array 0 :element-type '<Logger> :initial-element (make-instance '<Logger>))))
)
(defmethod serialize ((msg <GetLoggers-response>) ostream)
  "Serializes a message object of type '<GetLoggers-response>"
  (let ((__ros_arr_len (length (slot-value msg 'loggers))))
    (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) (serialize ele ostream))
    (slot-value msg 'loggers))
)
(defmethod deserialize ((msg <GetLoggers-response>) istream)
  "Deserializes a message object of type '<GetLoggers-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 'loggers) (make-array __ros_arr_len))
    (let ((vals (slot-value msg 'loggers)))
      (dotimes (i __ros_arr_len)
        (setf (aref vals i) (make-instance '<Logger>))
(deserialize (aref vals i) istream))))
  msg
)
(defmethod ros-datatype ((msg (eql '<GetLoggers-response>)))
  "Returns string type for a service object of type '<GetLoggers-response>"
  "roscpp/GetLoggersResponse")
(defmethod md5sum ((type (eql '<GetLoggers-response>)))
  "Returns md5sum for a message object of type '<GetLoggers-response>"
  "32e97e85527d4678a8f9279894bb64b0")
(defmethod message-definition ((type (eql '<GetLoggers-response>)))
  "Returns full string definition for message of type '<GetLoggers-response>"
  (format nil "Logger[] loggers~%================================================================================~%MSG: roscpp/Logger~%string name~%string level~%~%~%"))
(defmethod serialization-length ((msg <GetLoggers-response>))
  (+ 0
     4 (reduce #'+ (slot-value msg 'loggers) :key #'(lambda (ele) (declare (ignorable ele)) (+ (serialization-length ele))))
))
(defmethod ros-message-to-list ((msg <GetLoggers-response>))
  "Converts a ROS message object to a list"
  (list '<GetLoggers-response>
    (cons ':loggers (loggers-val msg))
))
(defmethod service-request-type ((msg (eql 'GetLoggers)))
  '<GetLoggers-request>)
(defmethod service-response-type ((msg (eql 'GetLoggers)))
  '<GetLoggers-response>)
(defmethod ros-datatype ((msg (eql 'GetLoggers)))
  "Returns string type for a service object of type '<GetLoggers>"
  "roscpp/GetLoggers")
