; Auto-generated. Do not edit!


(in-package std_msgs-msg)


;//! \htmlinclude UInt64MultiArray.msg.html

(defclass <UInt64MultiArray> (ros-message)
  ((layout
    :reader layout-val
    :initarg :layout
    :type std_msgs-msg:<MultiArrayLayout>
    :initform (make-instance 'std_msgs-msg:<MultiArrayLayout>))
   (data
    :reader data-val
    :initarg :data
    :type (vector integer)
   :initform (make-array 0 :element-type 'integer :initial-element 0)))
)
(defmethod serialize ((msg <UInt64MultiArray>) ostream)
  "Serializes a message object of type '<UInt64MultiArray>"
  (serialize (slot-value msg 'layout) ostream)
  (let ((__ros_arr_len (length (slot-value msg 'data))))
    (write-byte (ldb (byte 8 0) __ros_arr_len) ostream)
    (write-byte (ldb (byte 8 8) __ros_arr_len) ostream)
    (write-byte (ldb (byte 8 16) __ros_arr_len) ostream)
    (write-byte (ldb (byte 8 24) __ros_arr_len) ostream))
  (map nil #'(lambda (ele)   (write-byte (ldb (byte 8 0) ele) ostream)
  (write-byte (ldb (byte 8 8) ele) ostream)
  (write-byte (ldb (byte 8 16) ele) ostream)
  (write-byte (ldb (byte 8 24) ele) ostream)
  (write-byte (ldb (byte 8 32) ele) ostream)
  (write-byte (ldb (byte 8 40) ele) ostream)
  (write-byte (ldb (byte 8 48) ele) ostream)
  (write-byte (ldb (byte 8 56) ele) ostream))
    (slot-value msg 'data))
)
(defmethod deserialize ((msg <UInt64MultiArray>) istream)
  "Deserializes a message object of type '<UInt64MultiArray>"
  (deserialize (slot-value msg 'layout) istream)
  (let ((__ros_arr_len 0))
    (setf (ldb (byte 8 0) __ros_arr_len) (read-byte istream))
    (setf (ldb (byte 8 8) __ros_arr_len) (read-byte istream))
    (setf (ldb (byte 8 16) __ros_arr_len) (read-byte istream))
    (setf (ldb (byte 8 24) __ros_arr_len) (read-byte istream))
    (setf (slot-value msg 'data) (make-array __ros_arr_len))
    (let ((vals (slot-value msg 'data)))
      (dotimes (i __ros_arr_len)
(setf (ldb (byte 8 0) (aref vals i)) (read-byte istream))
  (setf (ldb (byte 8 8) (aref vals i)) (read-byte istream))
  (setf (ldb (byte 8 16) (aref vals i)) (read-byte istream))
  (setf (ldb (byte 8 24) (aref vals i)) (read-byte istream))
  (setf (ldb (byte 8 32) (aref vals i)) (read-byte istream))
  (setf (ldb (byte 8 40) (aref vals i)) (read-byte istream))
  (setf (ldb (byte 8 48) (aref vals i)) (read-byte istream))
  (setf (ldb (byte 8 56) (aref vals i)) (read-byte istream)))))
  msg
)
(defmethod ros-datatype ((msg (eql '<UInt64MultiArray>)))
  "Returns string type for a message object of type '<UInt64MultiArray>"
  "std_msgs/UInt64MultiArray")
(defmethod md5sum ((type (eql '<UInt64MultiArray>)))
  "Returns md5sum for a message object of type '<UInt64MultiArray>"
  "6088f127afb1d6c72927aa1247e945af")
(defmethod message-definition ((type (eql '<UInt64MultiArray>)))
  "Returns full string definition for message of type '<UInt64MultiArray>"
  (format nil "# Please look at the MultiArrayLayout message definition for~%# documentation on all multiarrays.~%~%MultiArrayLayout  layout        # specification of data layout~%uint64[]          data          # array of data~%~%~%================================================================================~%MSG: std_msgs/MultiArrayLayout~%# The multiarray declares a generic multi-dimensional array of a~%# particular data type.  Dimensions are ordered from outer most~%# to inner most.~%~%MultiArrayDimension[] dim # Array of dimension properties~%uint32 data_offset        # padding bytes at front of data~%~%# Accessors should ALWAYS be written in terms of dimension stride~%# and specified outer-most dimension first.~%# ~%# multiarray(i,j,k) = data[data_offset + dim_stride[1]*i + dim_stride[2]*j + k]~%#~%# A standard, 3-channel 640x480 image with interleaved color channels~%# would be specified as:~%#~%# dim[0].label  = \"height\"~%# dim[0].size   = 480~%# dim[0].stride = 3*640*480 = 921600  (note dim[0] stride is just size of image)~%# dim[1].label  = \"width\"~%# dim[1].size   = 640~%# dim[1].stride = 3*640 = 1920~%# dim[2].label  = \"channel\"~%# dim[2].size   = 3~%# dim[2].stride = 3~%#~%# multiarray(i,j,k) refers to the ith row, jth column, and kth channel.~%================================================================================~%MSG: std_msgs/MultiArrayDimension~%string label   # label of given dimension~%uint32 size    # size of given dimension (in type units)~%uint32 stride  # stride of given dimension~%~%"))
(defmethod serialization-length ((msg <UInt64MultiArray>))
  (+ 0
     (serialization-length (slot-value msg 'layout))
     4 (reduce #'+ (slot-value msg 'data) :key #'(lambda (ele) (declare (ignorable ele)) (+ 8)))
))
(defmethod ros-message-to-list ((msg <UInt64MultiArray>))
  "Converts a ROS message object to a list"
  (list '<UInt64MultiArray>
    (cons ':layout (layout-val msg))
    (cons ':data (data-val msg))
))
