; Auto-generated. Do not edit!


(cl:in-package colorimetry_msgs-msg)


;//! \htmlinclude ColorimetryCommand.msg.html

(cl:defclass <ColorimetryCommand> (roslisp-msg-protocol:ros-message)
  ((op_name
    :reader op_name
    :initarg :op_name
    :type cl:string
    :initform ""))
)

(cl:defclass ColorimetryCommand (<ColorimetryCommand>)
  ())

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

(cl:ensure-generic-function 'op_name-val :lambda-list '(m))
(cl:defmethod op_name-val ((m <ColorimetryCommand>))
  (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader colorimetry_msgs-msg:op_name-val is deprecated.  Use colorimetry_msgs-msg:op_name instead.")
  (op_name m))
(cl:defmethod roslisp-msg-protocol:serialize ((msg <ColorimetryCommand>) ostream)
  "Serializes a message object of type '<ColorimetryCommand>"
  (cl:let ((__ros_str_len (cl:length (cl:slot-value msg 'op_name))))
    (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)) (cl:slot-value msg 'op_name))
)
(cl:defmethod roslisp-msg-protocol:deserialize ((msg <ColorimetryCommand>) istream)
  "Deserializes a message object of type '<ColorimetryCommand>"
    (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:slot-value msg 'op_name) (cl:make-string __ros_str_len))
      (cl:dotimes (__ros_str_idx __ros_str_len msg)
        (cl:setf (cl:char (cl:slot-value msg 'op_name) __ros_str_idx) (cl:code-char (cl:read-byte istream)))))
  msg
)
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<ColorimetryCommand>)))
  "Returns string type for a message object of type '<ColorimetryCommand>"
  "colorimetry_msgs/ColorimetryCommand")
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'ColorimetryCommand)))
  "Returns string type for a message object of type 'ColorimetryCommand"
  "colorimetry_msgs/ColorimetryCommand")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<ColorimetryCommand>)))
  "Returns md5sum for a message object of type '<ColorimetryCommand>"
  "fec22856eb0411dcbfe51bda1e58cde9")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'ColorimetryCommand)))
  "Returns md5sum for a message object of type 'ColorimetryCommand"
  "fec22856eb0411dcbfe51bda1e58cde9")
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<ColorimetryCommand>)))
  "Returns full string definition for message of type '<ColorimetryCommand>"
  (cl:format cl:nil "string op_name~%~%"))
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'ColorimetryCommand)))
  "Returns full string definition for message of type 'ColorimetryCommand"
  (cl:format cl:nil "string op_name~%~%"))
(cl:defmethod roslisp-msg-protocol:serialization-length ((msg <ColorimetryCommand>))
  (cl:+ 0
     4 (cl:length (cl:slot-value msg 'op_name))
))
(cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <ColorimetryCommand>))
  "Converts a ROS message object to a list"
  (cl:list 'ColorimetryCommand
    (cl:cons ':op_name (op_name msg))
))
