; Auto-generated. Do not edit!


(cl:in-package topic_tools-srv)


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

(cl:defclass <MuxList-request> (roslisp-msg-protocol:ros-message)
  ()
)

(cl:defclass MuxList-request (<MuxList-request>)
  ())

(cl:defmethod cl:initialize-instance :after ((m <MuxList-request>) cl:&rest args)
  (cl:declare (cl:ignorable args))
  (cl:unless (cl:typep m 'MuxList-request)
    (roslisp-msg-protocol:msg-deprecation-warning "using old message class name topic_tools-srv:<MuxList-request> is deprecated: use topic_tools-srv:MuxList-request instead.")))
(cl:defmethod roslisp-msg-protocol:serialize ((msg <MuxList-request>) ostream)
  "Serializes a message object of type '<MuxList-request>"
)
(cl:defmethod roslisp-msg-protocol:deserialize ((msg <MuxList-request>) istream)
  "Deserializes a message object of type '<MuxList-request>"
  msg
)
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<MuxList-request>)))
  "Returns string type for a service object of type '<MuxList-request>"
  "topic_tools/MuxListRequest")
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'MuxList-request)))
  "Returns string type for a service object of type 'MuxList-request"
  "topic_tools/MuxListRequest")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<MuxList-request>)))
  "Returns md5sum for a message object of type '<MuxList-request>"
  "b0eef9a05d4e829092fc2f2c3c2aad3d")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'MuxList-request)))
  "Returns md5sum for a message object of type 'MuxList-request"
  "b0eef9a05d4e829092fc2f2c3c2aad3d")
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<MuxList-request>)))
  "Returns full string definition for message of type '<MuxList-request>"
  (cl:format cl:nil "~%~%"))
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'MuxList-request)))
  "Returns full string definition for message of type 'MuxList-request"
  (cl:format cl:nil "~%~%"))
(cl:defmethod roslisp-msg-protocol:serialization-length ((msg <MuxList-request>))
  (cl:+ 0
))
(cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <MuxList-request>))
  "Converts a ROS message object to a list"
  (cl:list 'MuxList-request
))
;//! \htmlinclude MuxList-response.msg.html

(cl:defclass <MuxList-response> (roslisp-msg-protocol:ros-message)
  ((topics
    :reader topics
    :initarg :topics
    :type (cl:vector cl:string)
   :initform (cl:make-array 0 :element-type 'cl:string :initial-element "")))
)

(cl:defclass MuxList-response (<MuxList-response>)
  ())

(cl:defmethod cl:initialize-instance :after ((m <MuxList-response>) cl:&rest args)
  (cl:declare (cl:ignorable args))
  (cl:unless (cl:typep m 'MuxList-response)
    (roslisp-msg-protocol:msg-deprecation-warning "using old message class name topic_tools-srv:<MuxList-response> is deprecated: use topic_tools-srv:MuxList-response instead.")))

(cl:ensure-generic-function 'topics-val :lambda-list '(m))
(cl:defmethod topics-val ((m <MuxList-response>))
  (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader topic_tools-srv:topics-val is deprecated.  Use topic_tools-srv:topics instead.")
  (topics m))
(cl:defmethod roslisp-msg-protocol:serialize ((msg <MuxList-response>) ostream)
  "Serializes a message object of type '<MuxList-response>"
  (cl:let ((__ros_arr_len (cl:length (cl:slot-value msg 'topics))))
    (cl:write-byte (cl:ldb (cl:byte 8 0) __ros_arr_len) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 8) __ros_arr_len) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 16) __ros_arr_len) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 24) __ros_arr_len) ostream))
  (cl:map cl:nil #'(cl:lambda (ele) (cl:let ((__ros_str_len (cl:length ele)))
    (cl:write-byte (cl:ldb (cl:byte 8 0) __ros_str_len) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 8) __ros_str_len) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 16) __ros_str_len) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 24) __ros_str_len) ostream))
  (cl:map cl:nil #'(cl:lambda (c) (cl:write-byte (cl:char-code c) ostream)) ele))
   (cl:slot-value msg 'topics))
)
(cl:defmethod roslisp-msg-protocol:deserialize ((msg <MuxList-response>) istream)
  "Deserializes a message object of type '<MuxList-response>"
  (cl:let ((__ros_arr_len 0))
    (cl:setf (cl:ldb (cl:byte 8 0) __ros_arr_len) (cl:read-byte istream))
    (cl:setf (cl:ldb (cl:byte 8 8) __ros_arr_len) (cl:read-byte istream))
    (cl:setf (cl:ldb (cl:byte 8 16) __ros_arr_len) (cl:read-byte istream))
    (cl:setf (cl:ldb (cl:byte 8 24) __ros_arr_len) (cl:read-byte istream))
  (cl:setf (cl:slot-value msg 'topics) (cl:make-array __ros_arr_len))
  (cl:let ((vals (cl:slot-value msg 'topics)))
    (cl:dotimes (i __ros_arr_len)
    (cl:let ((__ros_str_len 0))
      (cl:setf (cl:ldb (cl:byte 8 0) __ros_str_len) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 8) __ros_str_len) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 16) __ros_str_len) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 24) __ros_str_len) (cl:read-byte istream))
      (cl:setf (cl:aref vals i) (cl:make-string __ros_str_len))
      (cl:dotimes (__ros_str_idx __ros_str_len msg)
        (cl:setf (cl:char (cl:aref vals i) __ros_str_idx) (cl:code-char (cl:read-byte istream))))))))
  msg
)
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<MuxList-response>)))
  "Returns string type for a service object of type '<MuxList-response>"
  "topic_tools/MuxListResponse")
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'MuxList-response)))
  "Returns string type for a service object of type 'MuxList-response"
  "topic_tools/MuxListResponse")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<MuxList-response>)))
  "Returns md5sum for a message object of type '<MuxList-response>"
  "b0eef9a05d4e829092fc2f2c3c2aad3d")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'MuxList-response)))
  "Returns md5sum for a message object of type 'MuxList-response"
  "b0eef9a05d4e829092fc2f2c3c2aad3d")
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<MuxList-response>)))
  "Returns full string definition for message of type '<MuxList-response>"
  (cl:format cl:nil "string[] topics~%~%~%~%"))
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'MuxList-response)))
  "Returns full string definition for message of type 'MuxList-response"
  (cl:format cl:nil "string[] topics~%~%~%~%"))
(cl:defmethod roslisp-msg-protocol:serialization-length ((msg <MuxList-response>))
  (cl:+ 0
     4 (cl:reduce #'cl:+ (cl:slot-value msg 'topics) :key #'(cl:lambda (ele) (cl:declare (cl:ignorable ele)) (cl:+ 4 (cl:length ele))))
))
(cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <MuxList-response>))
  "Converts a ROS message object to a list"
  (cl:list 'MuxList-response
    (cl:cons ':topics (topics msg))
))
(cl:defmethod roslisp-msg-protocol:service-request-type ((msg (cl:eql 'MuxList)))
  'MuxList-request)
(cl:defmethod roslisp-msg-protocol:service-response-type ((msg (cl:eql 'MuxList)))
  'MuxList-response)
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'MuxList)))
  "Returns string type for a service object of type '<MuxList>"
  "topic_tools/MuxList")
