; Auto-generated. Do not edit!


(in-package topic_tools-srv)


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

(defclass <MuxAdd-request> (ros-message)
  ((topic
    :reader topic-val
    :initarg :topic
    :type string
    :initform ""))
)
(defmethod serialize ((msg <MuxAdd-request>) ostream)
  "Serializes a message object of type '<MuxAdd-request>"
  (let ((__ros_str_len (length (slot-value msg 'topic))))
    (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 'topic))
)
(defmethod deserialize ((msg <MuxAdd-request>) istream)
  "Deserializes a message object of type '<MuxAdd-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 'topic) (make-string __ros_str_len))
    (dotimes (__ros_str_idx __ros_str_len msg)
      (setf (char (slot-value msg 'topic) __ros_str_idx) (code-char (read-byte istream)))))
  msg
)
(defmethod ros-datatype ((msg (eql '<MuxAdd-request>)))
  "Returns string type for a service object of type '<MuxAdd-request>"
  "topic_tools/MuxAddRequest")
(defmethod md5sum ((type (eql '<MuxAdd-request>)))
  "Returns md5sum for a message object of type '<MuxAdd-request>"
  "d8f94bae31b356b24d0427f80426d0c3")
(defmethod message-definition ((type (eql '<MuxAdd-request>)))
  "Returns full string definition for message of type '<MuxAdd-request>"
  (format nil "string topic~%~%"))
(defmethod serialization-length ((msg <MuxAdd-request>))
  (+ 0
     4 (length (slot-value msg 'topic))
))
(defmethod ros-message-to-list ((msg <MuxAdd-request>))
  "Converts a ROS message object to a list"
  (list '<MuxAdd-request>
    (cons ':topic (topic-val msg))
))
;//! \htmlinclude MuxAdd-response.msg.html

(defclass <MuxAdd-response> (ros-message)
  ()
)
(defmethod serialize ((msg <MuxAdd-response>) ostream)
  "Serializes a message object of type '<MuxAdd-response>"
)
(defmethod deserialize ((msg <MuxAdd-response>) istream)
  "Deserializes a message object of type '<MuxAdd-response>"
  msg
)
(defmethod ros-datatype ((msg (eql '<MuxAdd-response>)))
  "Returns string type for a service object of type '<MuxAdd-response>"
  "topic_tools/MuxAddResponse")
(defmethod md5sum ((type (eql '<MuxAdd-response>)))
  "Returns md5sum for a message object of type '<MuxAdd-response>"
  "d8f94bae31b356b24d0427f80426d0c3")
(defmethod message-definition ((type (eql '<MuxAdd-response>)))
  "Returns full string definition for message of type '<MuxAdd-response>"
  (format nil "~%~%"))
(defmethod serialization-length ((msg <MuxAdd-response>))
  (+ 0
))
(defmethod ros-message-to-list ((msg <MuxAdd-response>))
  "Converts a ROS message object to a list"
  (list '<MuxAdd-response>
))
(defmethod service-request-type ((msg (eql 'MuxAdd)))
  '<MuxAdd-request>)
(defmethod service-response-type ((msg (eql 'MuxAdd)))
  '<MuxAdd-response>)
(defmethod ros-datatype ((msg (eql 'MuxAdd)))
  "Returns string type for a service object of type '<MuxAdd>"
  "topic_tools/MuxAdd")
