;; Auto-generated. Do not edit!


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

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


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

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

(defclass franka_msgs_archemist::TaskStatus
  :super ros::object
  :slots (_task_state _task_seq _task_name ))

(defmethod franka_msgs_archemist::TaskStatus
  (:init
   (&key
    ((:task_state __task_state) 0)
    ((:task_seq __task_seq) 0)
    ((:task_name __task_name) "")
    )
   (send-super :init)
   (setq _task_state (round __task_state))
   (setq _task_seq (round __task_seq))
   (setq _task_name (string __task_name))
   self)
  (:task_state
   (&optional __task_state)
   (if __task_state (setq _task_state __task_state)) _task_state)
  (:task_seq
   (&optional __task_seq)
   (if __task_seq (setq _task_seq __task_seq)) _task_seq)
  (:task_name
   (&optional __task_name)
   (if __task_name (setq _task_name __task_name)) _task_name)
  (:serialization-length
   ()
   (+
    ;; int32 _task_state
    4
    ;; uint32 _task_seq
    4
    ;; string _task_name
    4 (length _task_name)
    ))
  (:serialize
   (&optional strm)
   (let ((s (if strm strm
              (make-string-output-stream (send self :serialization-length)))))
     ;; int32 _task_state
       (write-long _task_state s)
     ;; uint32 _task_seq
       (write-long _task_seq s)
     ;; string _task_name
       (write-long (length _task_name) s) (princ _task_name s)
     ;;
     (if (null strm) (get-output-stream-string s))))
  (:deserialize
   (buf &optional (ptr- 0))
   ;; int32 _task_state
     (setq _task_state (sys::peek buf ptr- :integer)) (incf ptr- 4)
   ;; uint32 _task_seq
     (setq _task_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))
   ;;
   self)
  )

(setf (get franka_msgs_archemist::TaskStatus :md5sum-) "27a615bb15c84d68b2eaa0e980729559")
(setf (get franka_msgs_archemist::TaskStatus :datatype-) "franka_msgs_archemist/TaskStatus")
(setf (get franka_msgs_archemist::TaskStatus :definition-)
      "int32 EXECUTING = 0
int32 WAITING = 1
int32 FINISHED = 2
int32 ERROR = 3
int32 task_state
uint32 task_seq
string task_name
")



(provide :franka_msgs_archemist/TaskStatus "27a615bb15c84d68b2eaa0e980729559")


