; Auto-generated. Do not edit!


(in-package test_roscpp_serialization-msg)


;//! \htmlinclude ArrayOfFixedLength.msg.html

(defclass <ArrayOfFixedLength> (ros-message)
  ((a
    :reader a-val
    :initarg :a
    :type (vector <FixedLength>)
   :initform (make-array 4 :element-type '<FixedLength> :initial-element (make-instance '<FixedLength>))))
)
(defmethod serialize ((msg <ArrayOfFixedLength>) ostream)
  "Serializes a message object of type '<ArrayOfFixedLength>"
    (map nil #'(lambda (ele) (serialize ele ostream))(slot-value msg 'a))
)
(defmethod deserialize ((msg <ArrayOfFixedLength>) istream)
  "Deserializes a message object of type '<ArrayOfFixedLength>"
  (setf (slot-value msg 'a) (make-array 4))
  (let ((vals (slot-value msg 'a)))
    (dotimes (i 4)
    (setf (aref vals i) (make-instance '<FixedLength>))
(deserialize (aref vals i) istream)))
  msg
)
(defmethod ros-datatype ((msg (eql '<ArrayOfFixedLength>)))
  "Returns string type for a message object of type '<ArrayOfFixedLength>"
  "test_roscpp_serialization/ArrayOfFixedLength")
(defmethod md5sum ((type (eql '<ArrayOfFixedLength>)))
  "Returns md5sum for a message object of type '<ArrayOfFixedLength>"
  "770e15962592d1fbea70b6b820ba16d9")
(defmethod message-definition ((type (eql '<ArrayOfFixedLength>)))
  "Returns full string definition for message of type '<ArrayOfFixedLength>"
  (format nil "# This comment has \"quotes\" in it~%FixedLength[4] a~%================================================================================~%MSG: test_roscpp_serialization/FixedLength~%uint32 a~%float32 b~%~%~%"))
(defmethod serialization-length ((msg <ArrayOfFixedLength>))
  (+ 0
     0 (reduce #'+ (slot-value msg 'a) :key #'(lambda (ele) (declare (ignorable ele)) (+ (serialization-length ele))))
))
(defmethod ros-message-to-list ((msg <ArrayOfFixedLength>))
  "Converts a ROS message object to a list"
  (list '<ArrayOfFixedLength>
    (cons ':a (a-val msg))
))
