MoveArmGoal.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-simple_arms/doc_stacks/2014-01-03_11-56-23.423265/simple_arms/simple_arm_server/msg/MoveArmGoal.msg */
00002 #ifndef SIMPLE_ARM_SERVER_MESSAGE_MOVEARMGOAL_H
00003 #define SIMPLE_ARM_SERVER_MESSAGE_MOVEARMGOAL_H
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 #include <ostream>
00008 #include "ros/serialization.h"
00009 #include "ros/builtin_message_traits.h"
00010 #include "ros/message_operations.h"
00011 #include "ros/time.h"
00012 
00013 #include "ros/macros.h"
00014 
00015 #include "ros/assert.h"
00016 
00017 #include "std_msgs/Header.h"
00018 #include "simple_arm_server/ArmAction.h"
00019 
00020 namespace simple_arm_server
00021 {
00022 template <class ContainerAllocator>
00023 struct MoveArmGoal_ {
00024   typedef MoveArmGoal_<ContainerAllocator> Type;
00025 
00026   MoveArmGoal_()
00027   : header()
00028   , motions()
00029   {
00030   }
00031 
00032   MoveArmGoal_(const ContainerAllocator& _alloc)
00033   : header(_alloc)
00034   , motions(_alloc)
00035   {
00036   }
00037 
00038   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00039    ::std_msgs::Header_<ContainerAllocator>  header;
00040 
00041   typedef std::vector< ::simple_arm_server::ArmAction_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::simple_arm_server::ArmAction_<ContainerAllocator> >::other >  _motions_type;
00042   std::vector< ::simple_arm_server::ArmAction_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::simple_arm_server::ArmAction_<ContainerAllocator> >::other >  motions;
00043 
00044 
00045   typedef boost::shared_ptr< ::simple_arm_server::MoveArmGoal_<ContainerAllocator> > Ptr;
00046   typedef boost::shared_ptr< ::simple_arm_server::MoveArmGoal_<ContainerAllocator>  const> ConstPtr;
00047   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 }; // struct MoveArmGoal
00049 typedef  ::simple_arm_server::MoveArmGoal_<std::allocator<void> > MoveArmGoal;
00050 
00051 typedef boost::shared_ptr< ::simple_arm_server::MoveArmGoal> MoveArmGoalPtr;
00052 typedef boost::shared_ptr< ::simple_arm_server::MoveArmGoal const> MoveArmGoalConstPtr;
00053 
00054 
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const  ::simple_arm_server::MoveArmGoal_<ContainerAllocator> & v)
00057 {
00058   ros::message_operations::Printer< ::simple_arm_server::MoveArmGoal_<ContainerAllocator> >::stream(s, "", v);
00059   return s;}
00060 
00061 } // namespace simple_arm_server
00062 
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::simple_arm_server::MoveArmGoal_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::simple_arm_server::MoveArmGoal_<ContainerAllocator>  const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::simple_arm_server::MoveArmGoal_<ContainerAllocator> > {
00071   static const char* value() 
00072   {
00073     return "ac68653317d50968c1043cdf98e3aea9";
00074   }
00075 
00076   static const char* value(const  ::simple_arm_server::MoveArmGoal_<ContainerAllocator> &) { return value(); } 
00077   static const uint64_t static_value1 = 0xac68653317d50968ULL;
00078   static const uint64_t static_value2 = 0xc1043cdf98e3aea9ULL;
00079 };
00080 
00081 template<class ContainerAllocator>
00082 struct DataType< ::simple_arm_server::MoveArmGoal_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "simple_arm_server/MoveArmGoal";
00086   }
00087 
00088   static const char* value(const  ::simple_arm_server::MoveArmGoal_<ContainerAllocator> &) { return value(); } 
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct Definition< ::simple_arm_server::MoveArmGoal_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00096 std_msgs/Header header\n\
00097 ArmAction[] motions\n\
00098 \n\
00099 ================================================================================\n\
00100 MSG: std_msgs/Header\n\
00101 # Standard metadata for higher-level stamped data types.\n\
00102 # This is generally used to communicate timestamped data \n\
00103 # in a particular coordinate frame.\n\
00104 # \n\
00105 # sequence ID: consecutively increasing ID \n\
00106 uint32 seq\n\
00107 #Two-integer timestamp that is expressed as:\n\
00108 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00109 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00110 # time-handling sugar is provided by the client library\n\
00111 time stamp\n\
00112 #Frame this data is associated with\n\
00113 # 0: no frame\n\
00114 # 1: global frame\n\
00115 string frame_id\n\
00116 \n\
00117 ================================================================================\n\
00118 MSG: simple_arm_server/ArmAction\n\
00119 #\n\
00120 # Move arm or adjust gripper\n\
00121 #\n\
00122 \n\
00123 byte MOVE_ARM=0\n\
00124 byte MOVE_GRIPPER=1\n\
00125 \n\
00126 byte type                   # move the arm or the gripper?\n\
00127 \n\
00128 geometry_msgs/Pose goal     # goal for arm\n\
00129 float64 command    # width to open gripper\n\
00130 \n\
00131 duration move_time\n\
00132 \n\
00133 ================================================================================\n\
00134 MSG: geometry_msgs/Pose\n\
00135 # A representation of pose in free space, composed of postion and orientation. \n\
00136 Point position\n\
00137 Quaternion orientation\n\
00138 \n\
00139 ================================================================================\n\
00140 MSG: geometry_msgs/Point\n\
00141 # This contains the position of a point in free space\n\
00142 float64 x\n\
00143 float64 y\n\
00144 float64 z\n\
00145 \n\
00146 ================================================================================\n\
00147 MSG: geometry_msgs/Quaternion\n\
00148 # This represents an orientation in free space in quaternion form.\n\
00149 \n\
00150 float64 x\n\
00151 float64 y\n\
00152 float64 z\n\
00153 float64 w\n\
00154 \n\
00155 ";
00156   }
00157 
00158   static const char* value(const  ::simple_arm_server::MoveArmGoal_<ContainerAllocator> &) { return value(); } 
00159 };
00160 
00161 } // namespace message_traits
00162 } // namespace ros
00163 
00164 namespace ros
00165 {
00166 namespace serialization
00167 {
00168 
00169 template<class ContainerAllocator> struct Serializer< ::simple_arm_server::MoveArmGoal_<ContainerAllocator> >
00170 {
00171   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00172   {
00173     stream.next(m.header);
00174     stream.next(m.motions);
00175   }
00176 
00177   ROS_DECLARE_ALLINONE_SERIALIZER;
00178 }; // struct MoveArmGoal_
00179 } // namespace serialization
00180 } // namespace ros
00181 
00182 namespace ros
00183 {
00184 namespace message_operations
00185 {
00186 
00187 template<class ContainerAllocator>
00188 struct Printer< ::simple_arm_server::MoveArmGoal_<ContainerAllocator> >
00189 {
00190   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::simple_arm_server::MoveArmGoal_<ContainerAllocator> & v) 
00191   {
00192     s << indent << "header: ";
00193 s << std::endl;
00194     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00195     s << indent << "motions[]" << std::endl;
00196     for (size_t i = 0; i < v.motions.size(); ++i)
00197     {
00198       s << indent << "  motions[" << i << "]: ";
00199       s << std::endl;
00200       s << indent;
00201       Printer< ::simple_arm_server::ArmAction_<ContainerAllocator> >::stream(s, indent + "    ", v.motions[i]);
00202     }
00203   }
00204 };
00205 
00206 
00207 } // namespace message_operations
00208 } // namespace ros
00209 
00210 #endif // SIMPLE_ARM_SERVER_MESSAGE_MOVEARMGOAL_H
00211 


simple_arm_server
Author(s): Michael Ferguson
autogenerated on Fri Jan 3 2014 11:58:44