;; Auto-generated. Do not edit!


(when (boundp 'colorimetry_msgs::ColorimetryResult)
  (if (not (find-package "COLORIMETRY_MSGS"))
    (make-package "COLORIMETRY_MSGS"))
  (shadow 'ColorimetryResult (find-package "COLORIMETRY_MSGS")))
(unless (find-package "COLORIMETRY_MSGS::COLORIMETRYRESULT")
  (make-package "COLORIMETRY_MSGS::COLORIMETRYRESULT"))

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


(defclass colorimetry_msgs::ColorimetryResult
  :super ros::object
  :slots (_result_file_name _red _green _blue ))

(defmethod colorimetry_msgs::ColorimetryResult
  (:init
   (&key
    ((:result_file_name __result_file_name) "")
    ((:red __red) 0)
    ((:green __green) 0)
    ((:blue __blue) 0)
    )
   (send-super :init)
   (setq _result_file_name (string __result_file_name))
   (setq _red (round __red))
   (setq _green (round __green))
   (setq _blue (round __blue))
   self)
  (:result_file_name
   (&optional __result_file_name)
   (if __result_file_name (setq _result_file_name __result_file_name)) _result_file_name)
  (:red
   (&optional __red)
   (if __red (setq _red __red)) _red)
  (:green
   (&optional __green)
   (if __green (setq _green __green)) _green)
  (:blue
   (&optional __blue)
   (if __blue (setq _blue __blue)) _blue)
  (:serialization-length
   ()
   (+
    ;; string _result_file_name
    4 (length _result_file_name)
    ;; uint32 _red
    4
    ;; uint32 _green
    4
    ;; uint32 _blue
    4
    ))
  (:serialize
   (&optional strm)
   (let ((s (if strm strm
              (make-string-output-stream (send self :serialization-length)))))
     ;; string _result_file_name
       (write-long (length _result_file_name) s) (princ _result_file_name s)
     ;; uint32 _red
       (write-long _red s)
     ;; uint32 _green
       (write-long _green s)
     ;; uint32 _blue
       (write-long _blue s)
     ;;
     (if (null strm) (get-output-stream-string s))))
  (:deserialize
   (buf &optional (ptr- 0))
   ;; string _result_file_name
     (let (n) (setq n (sys::peek buf ptr- :integer)) (incf ptr- 4) (setq _result_file_name (subseq buf ptr- (+ ptr- n))) (incf ptr- n))
   ;; uint32 _red
     (setq _red (sys::peek buf ptr- :integer)) (incf ptr- 4)
   ;; uint32 _green
     (setq _green (sys::peek buf ptr- :integer)) (incf ptr- 4)
   ;; uint32 _blue
     (setq _blue (sys::peek buf ptr- :integer)) (incf ptr- 4)
   ;;
   self)
  )

(setf (get colorimetry_msgs::ColorimetryResult :md5sum-) "e1db3c4c4d7afe3ab5599630fae7fb0e")
(setf (get colorimetry_msgs::ColorimetryResult :datatype-) "colorimetry_msgs/ColorimetryResult")
(setf (get colorimetry_msgs::ColorimetryResult :definition-)
      "string result_file_name
uint32 red
uint32 green
uint32 blue
")



(provide :colorimetry_msgs/ColorimetryResult "e1db3c4c4d7afe3ab5599630fae7fb0e")


