;; Auto-generated. Do not edit!


(when (boundp 'kmriiwa_chemist_msgs::TaskStatus)
  (if (not (find-package "KMRIIWA_CHEMIST_MSGS"))
    (make-package "KMRIIWA_CHEMIST_MSGS"))
  (shadow 'TaskStatus (find-package "KMRIIWA_CHEMIST_MSGS")))
(unless (find-package "KMRIIWA_CHEMIST_MSGS::TASKSTATUS")
  (make-package "KMRIIWA_CHEMIST_MSGS::TASKSTATUS"))

(in-package "ROS")
;;//! \htmlinclude TaskStatus.msg.html


(intern "*EXECUTING*" (find-package "KMRIIWA_CHEMIST_MSGS::TASKSTATUS"))
(shadow '*EXECUTING* (find-package "KMRIIWA_CHEMIST_MSGS::TASKSTATUS"))
(defconstant kmriiwa_chemist_msgs::TaskStatus::*EXECUTING* 0)
(intern "*WAITING*" (find-package "KMRIIWA_CHEMIST_MSGS::TASKSTATUS"))
(shadow '*WAITING* (find-package "KMRIIWA_CHEMIST_MSGS::TASKSTATUS"))
(defconstant kmriiwa_chemist_msgs::TaskStatus::*WAITING* 1)
(intern "*FINISHED*" (find-package "KMRIIWA_CHEMIST_MSGS::TASKSTATUS"))
(shadow '*FINISHED* (find-package "KMRIIWA_CHEMIST_MSGS::TASKSTATUS"))
(defconstant kmriiwa_chemist_msgs::TaskStatus::*FINISHED* 2)
(intern "*ERROR*" (find-package "KMRIIWA_CHEMIST_MSGS::TASKSTATUS"))
(shadow '*ERROR* (find-package "KMRIIWA_CHEMIST_MSGS::TASKSTATUS"))
(defconstant kmriiwa_chemist_msgs::TaskStatus::*ERROR* 3)

(defun kmriiwa_chemist_msgs::TaskStatus-to-symbol (const)
  (cond
        ((= const 0) 'kmriiwa_chemist_msgs::TaskStatus::*EXECUTING*)
        ((= const 1) 'kmriiwa_chemist_msgs::TaskStatus::*WAITING*)
        ((= const 2) 'kmriiwa_chemist_msgs::TaskStatus::*FINISHED*)
        ((= const 3) 'kmriiwa_chemist_msgs::TaskStatus::*ERROR*)
        (t nil)))

(defclass kmriiwa_chemist_msgs::TaskStatus
  :super ros::object
  :slots (_cmd_seq _task_name _task_state ))

(defmethod kmriiwa_chemist_msgs::TaskStatus
  (:init
   (&key
    ((:cmd_seq __cmd_seq) 0)
    ((:task_name __task_name) "")
    ((:task_state __task_state) 0)
    )
   (send-super :init)
   (setq _cmd_seq (round __cmd_seq))
   (setq _task_name (string __task_name))
   (setq _task_state (round __task_state))
   self)
  (:cmd_seq
   (&optional __cmd_seq)
   (if __cmd_seq (setq _cmd_seq __cmd_seq)) _cmd_seq)
  (:task_name
   (&optional __task_name)
   (if __task_name (setq _task_name __task_name)) _task_name)
  (:task_state
   (&optional __task_state)
   (if __task_state (setq _task_state __task_state)) _task_state)
  (:serialization-length
   ()
   (+
    ;; int32 _cmd_seq
    4
    ;; string _task_name
    4 (length _task_name)
    ;; int32 _task_state
    4
    ))
  (:serialize
   (&optional strm)
   (let ((s (if strm strm
              (make-string-output-stream (send self :serialization-length)))))
     ;; int32 _cmd_seq
       (write-long _cmd_seq s)
     ;; string _task_name
       (write-long (length _task_name) s) (princ _task_name s)
     ;; int32 _task_state
       (write-long _task_state s)
     ;;
     (if (null strm) (get-output-stream-string s))))
  (:deserialize
   (buf &optional (ptr- 0))
   ;; int32 _cmd_seq
     (setq _cmd_seq (sys::peek buf ptr- :integer)) (incf ptr- 4)
   ;; string _task_name
     (let (n) (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4) (setq _task_name (subseq buf ptr- (+ ptr- n))) (incf ptr- n))
   ;; int32 _task_state
     (setq _task_state (sys::peek buf ptr- :integer)) (incf ptr- 4)
   ;;
   self)
  )

(setf (get kmriiwa_chemist_msgs::TaskStatus :md5sum-) "849f2d6a159cb23bc53dfb585b172587")
(setf (get kmriiwa_chemist_msgs::TaskStatus :datatype-) "kmriiwa_chemist_msgs/TaskStatus")
(setf (get kmriiwa_chemist_msgs::TaskStatus :definition-)
      "int32 cmd_seq
string task_name
int32 EXECUTING = 0
int32 WAITING = 1
int32 FINISHED = 2
int32 ERROR = 3
int32 task_state

")



(provide :kmriiwa_chemist_msgs/TaskStatus "849f2d6a159cb23bc53dfb585b172587")


