; Auto-generated. Do not edit!


(cl:in-package kmriiwa_chemist_msgs-msg)


;//! \htmlinclude TaskUpdate.msg.html

(cl:defclass <TaskUpdate> (roslisp-msg-protocol:ros-message)
  ((GO
    :reader GO
    :initarg :GO
    :type cl:integer
    :initform 0)
   (PAUSE
    :reader PAUSE
    :initarg :PAUSE
    :type cl:integer
    :initform 0)
   (ABORT
    :reader ABORT
    :initarg :ABORT
    :type cl:integer
    :initform 0)
   (task_update
    :reader task_update
    :initarg :task_update
    :type cl:integer
    :initform 0))
)

(cl:defclass TaskUpdate (<TaskUpdate>)
  ())

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

(cl:ensure-generic-function 'GO-val :lambda-list '(m))
(cl:defmethod GO-val ((m <TaskUpdate>))
  (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader kmriiwa_chemist_msgs-msg:GO-val is deprecated.  Use kmriiwa_chemist_msgs-msg:GO instead.")
  (GO m))

(cl:ensure-generic-function 'PAUSE-val :lambda-list '(m))
(cl:defmethod PAUSE-val ((m <TaskUpdate>))
  (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader kmriiwa_chemist_msgs-msg:PAUSE-val is deprecated.  Use kmriiwa_chemist_msgs-msg:PAUSE instead.")
  (PAUSE m))

(cl:ensure-generic-function 'ABORT-val :lambda-list '(m))
(cl:defmethod ABORT-val ((m <TaskUpdate>))
  (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader kmriiwa_chemist_msgs-msg:ABORT-val is deprecated.  Use kmriiwa_chemist_msgs-msg:ABORT instead.")
  (ABORT m))

(cl:ensure-generic-function 'task_update-val :lambda-list '(m))
(cl:defmethod task_update-val ((m <TaskUpdate>))
  (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader kmriiwa_chemist_msgs-msg:task_update-val is deprecated.  Use kmriiwa_chemist_msgs-msg:task_update instead.")
  (task_update m))
(cl:defmethod roslisp-msg-protocol:serialize ((msg <TaskUpdate>) ostream)
  "Serializes a message object of type '<TaskUpdate>"
  (cl:let* ((signed (cl:slot-value msg 'GO)) (unsigned (cl:if (cl:< signed 0) (cl:+ signed 4294967296) signed)))
    (cl:write-byte (cl:ldb (cl:byte 8 0) unsigned) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 8) unsigned) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 16) unsigned) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 24) unsigned) ostream)
    )
  (cl:let* ((signed (cl:slot-value msg 'PAUSE)) (unsigned (cl:if (cl:< signed 0) (cl:+ signed 4294967296) signed)))
    (cl:write-byte (cl:ldb (cl:byte 8 0) unsigned) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 8) unsigned) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 16) unsigned) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 24) unsigned) ostream)
    )
  (cl:let* ((signed (cl:slot-value msg 'ABORT)) (unsigned (cl:if (cl:< signed 0) (cl:+ signed 4294967296) signed)))
    (cl:write-byte (cl:ldb (cl:byte 8 0) unsigned) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 8) unsigned) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 16) unsigned) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 24) unsigned) ostream)
    )
  (cl:let* ((signed (cl:slot-value msg 'task_update)) (unsigned (cl:if (cl:< signed 0) (cl:+ signed 4294967296) signed)))
    (cl:write-byte (cl:ldb (cl:byte 8 0) unsigned) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 8) unsigned) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 16) unsigned) ostream)
    (cl:write-byte (cl:ldb (cl:byte 8 24) unsigned) ostream)
    )
)
(cl:defmethod roslisp-msg-protocol:deserialize ((msg <TaskUpdate>) istream)
  "Deserializes a message object of type '<TaskUpdate>"
    (cl:let ((unsigned 0))
      (cl:setf (cl:ldb (cl:byte 8 0) unsigned) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 8) unsigned) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 16) unsigned) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 24) unsigned) (cl:read-byte istream))
      (cl:setf (cl:slot-value msg 'GO) (cl:if (cl:< unsigned 2147483648) unsigned (cl:- unsigned 4294967296))))
    (cl:let ((unsigned 0))
      (cl:setf (cl:ldb (cl:byte 8 0) unsigned) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 8) unsigned) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 16) unsigned) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 24) unsigned) (cl:read-byte istream))
      (cl:setf (cl:slot-value msg 'PAUSE) (cl:if (cl:< unsigned 2147483648) unsigned (cl:- unsigned 4294967296))))
    (cl:let ((unsigned 0))
      (cl:setf (cl:ldb (cl:byte 8 0) unsigned) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 8) unsigned) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 16) unsigned) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 24) unsigned) (cl:read-byte istream))
      (cl:setf (cl:slot-value msg 'ABORT) (cl:if (cl:< unsigned 2147483648) unsigned (cl:- unsigned 4294967296))))
    (cl:let ((unsigned 0))
      (cl:setf (cl:ldb (cl:byte 8 0) unsigned) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 8) unsigned) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 16) unsigned) (cl:read-byte istream))
      (cl:setf (cl:ldb (cl:byte 8 24) unsigned) (cl:read-byte istream))
      (cl:setf (cl:slot-value msg 'task_update) (cl:if (cl:< unsigned 2147483648) unsigned (cl:- unsigned 4294967296))))
  msg
)
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<TaskUpdate>)))
  "Returns string type for a message object of type '<TaskUpdate>"
  "kmriiwa_chemist_msgs/TaskUpdate")
(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'TaskUpdate)))
  "Returns string type for a message object of type 'TaskUpdate"
  "kmriiwa_chemist_msgs/TaskUpdate")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<TaskUpdate>)))
  "Returns md5sum for a message object of type '<TaskUpdate>"
  "c08c1c70045e593cba267795ca4bec4f")
(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'TaskUpdate)))
  "Returns md5sum for a message object of type 'TaskUpdate"
  "c08c1c70045e593cba267795ca4bec4f")
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<TaskUpdate>)))
  "Returns full string definition for message of type '<TaskUpdate>"
  (cl:format cl:nil "int32 GO~%int32 PAUSE~%int32 ABORT~%int32 task_update~%~%"))
(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'TaskUpdate)))
  "Returns full string definition for message of type 'TaskUpdate"
  (cl:format cl:nil "int32 GO~%int32 PAUSE~%int32 ABORT~%int32 task_update~%~%"))
(cl:defmethod roslisp-msg-protocol:serialization-length ((msg <TaskUpdate>))
  (cl:+ 0
     4
     4
     4
     4
))
(cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <TaskUpdate>))
  "Converts a ROS message object to a list"
  (cl:list 'TaskUpdate
    (cl:cons ':GO (GO msg))
    (cl:cons ':PAUSE (PAUSE msg))
    (cl:cons ':ABORT (ABORT msg))
    (cl:cons ':task_update (task_update msg))
))
