MultiDOFJointState.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-arm_navigation/doc_stacks/2013-12-02_12-23-34.850326/arm_navigation/arm_navigation_msgs/msg/MultiDOFJointState.msg */
00002 #ifndef ARM_NAVIGATION_MSGS_MESSAGE_MULTIDOFJOINTSTATE_H
00003 #define ARM_NAVIGATION_MSGS_MESSAGE_MULTIDOFJOINTSTATE_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 "geometry_msgs/Pose.h"
00018 
00019 namespace arm_navigation_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct MultiDOFJointState_ {
00023   typedef MultiDOFJointState_<ContainerAllocator> Type;
00024 
00025   MultiDOFJointState_()
00026   : stamp()
00027   , joint_names()
00028   , frame_ids()
00029   , child_frame_ids()
00030   , poses()
00031   {
00032   }
00033 
00034   MultiDOFJointState_(const ContainerAllocator& _alloc)
00035   : stamp()
00036   , joint_names(_alloc)
00037   , frame_ids(_alloc)
00038   , child_frame_ids(_alloc)
00039   , poses(_alloc)
00040   {
00041   }
00042 
00043   typedef ros::Time _stamp_type;
00044   ros::Time stamp;
00045 
00046   typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  _joint_names_type;
00047   std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  joint_names;
00048 
00049   typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  _frame_ids_type;
00050   std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  frame_ids;
00051 
00052   typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  _child_frame_ids_type;
00053   std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  child_frame_ids;
00054 
00055   typedef std::vector< ::geometry_msgs::Pose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Pose_<ContainerAllocator> >::other >  _poses_type;
00056   std::vector< ::geometry_msgs::Pose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Pose_<ContainerAllocator> >::other >  poses;
00057 
00058 
00059   typedef boost::shared_ptr< ::arm_navigation_msgs::MultiDOFJointState_<ContainerAllocator> > Ptr;
00060   typedef boost::shared_ptr< ::arm_navigation_msgs::MultiDOFJointState_<ContainerAllocator>  const> ConstPtr;
00061   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00062 }; // struct MultiDOFJointState
00063 typedef  ::arm_navigation_msgs::MultiDOFJointState_<std::allocator<void> > MultiDOFJointState;
00064 
00065 typedef boost::shared_ptr< ::arm_navigation_msgs::MultiDOFJointState> MultiDOFJointStatePtr;
00066 typedef boost::shared_ptr< ::arm_navigation_msgs::MultiDOFJointState const> MultiDOFJointStateConstPtr;
00067 
00068 
00069 template<typename ContainerAllocator>
00070 std::ostream& operator<<(std::ostream& s, const  ::arm_navigation_msgs::MultiDOFJointState_<ContainerAllocator> & v)
00071 {
00072   ros::message_operations::Printer< ::arm_navigation_msgs::MultiDOFJointState_<ContainerAllocator> >::stream(s, "", v);
00073   return s;}
00074 
00075 } // namespace arm_navigation_msgs
00076 
00077 namespace ros
00078 {
00079 namespace message_traits
00080 {
00081 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::MultiDOFJointState_<ContainerAllocator> > : public TrueType {};
00082 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::MultiDOFJointState_<ContainerAllocator>  const> : public TrueType {};
00083 template<class ContainerAllocator>
00084 struct MD5Sum< ::arm_navigation_msgs::MultiDOFJointState_<ContainerAllocator> > {
00085   static const char* value() 
00086   {
00087     return "ddd04f13c06870db031db8d5c0a6379d";
00088   }
00089 
00090   static const char* value(const  ::arm_navigation_msgs::MultiDOFJointState_<ContainerAllocator> &) { return value(); } 
00091   static const uint64_t static_value1 = 0xddd04f13c06870dbULL;
00092   static const uint64_t static_value2 = 0x031db8d5c0a6379dULL;
00093 };
00094 
00095 template<class ContainerAllocator>
00096 struct DataType< ::arm_navigation_msgs::MultiDOFJointState_<ContainerAllocator> > {
00097   static const char* value() 
00098   {
00099     return "arm_navigation_msgs/MultiDOFJointState";
00100   }
00101 
00102   static const char* value(const  ::arm_navigation_msgs::MultiDOFJointState_<ContainerAllocator> &) { return value(); } 
00103 };
00104 
00105 template<class ContainerAllocator>
00106 struct Definition< ::arm_navigation_msgs::MultiDOFJointState_<ContainerAllocator> > {
00107   static const char* value() 
00108   {
00109     return "#A representation of a multi-dof joint state\n\
00110 time stamp\n\
00111 string[] joint_names\n\
00112 string[] frame_ids\n\
00113 string[] child_frame_ids\n\
00114 geometry_msgs/Pose[] poses\n\
00115 \n\
00116 ================================================================================\n\
00117 MSG: geometry_msgs/Pose\n\
00118 # A representation of pose in free space, composed of postion and orientation. \n\
00119 Point position\n\
00120 Quaternion orientation\n\
00121 \n\
00122 ================================================================================\n\
00123 MSG: geometry_msgs/Point\n\
00124 # This contains the position of a point in free space\n\
00125 float64 x\n\
00126 float64 y\n\
00127 float64 z\n\
00128 \n\
00129 ================================================================================\n\
00130 MSG: geometry_msgs/Quaternion\n\
00131 # This represents an orientation in free space in quaternion form.\n\
00132 \n\
00133 float64 x\n\
00134 float64 y\n\
00135 float64 z\n\
00136 float64 w\n\
00137 \n\
00138 ";
00139   }
00140 
00141   static const char* value(const  ::arm_navigation_msgs::MultiDOFJointState_<ContainerAllocator> &) { return value(); } 
00142 };
00143 
00144 } // namespace message_traits
00145 } // namespace ros
00146 
00147 namespace ros
00148 {
00149 namespace serialization
00150 {
00151 
00152 template<class ContainerAllocator> struct Serializer< ::arm_navigation_msgs::MultiDOFJointState_<ContainerAllocator> >
00153 {
00154   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00155   {
00156     stream.next(m.stamp);
00157     stream.next(m.joint_names);
00158     stream.next(m.frame_ids);
00159     stream.next(m.child_frame_ids);
00160     stream.next(m.poses);
00161   }
00162 
00163   ROS_DECLARE_ALLINONE_SERIALIZER;
00164 }; // struct MultiDOFJointState_
00165 } // namespace serialization
00166 } // namespace ros
00167 
00168 namespace ros
00169 {
00170 namespace message_operations
00171 {
00172 
00173 template<class ContainerAllocator>
00174 struct Printer< ::arm_navigation_msgs::MultiDOFJointState_<ContainerAllocator> >
00175 {
00176   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::arm_navigation_msgs::MultiDOFJointState_<ContainerAllocator> & v) 
00177   {
00178     s << indent << "stamp: ";
00179     Printer<ros::Time>::stream(s, indent + "  ", v.stamp);
00180     s << indent << "joint_names[]" << std::endl;
00181     for (size_t i = 0; i < v.joint_names.size(); ++i)
00182     {
00183       s << indent << "  joint_names[" << i << "]: ";
00184       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.joint_names[i]);
00185     }
00186     s << indent << "frame_ids[]" << std::endl;
00187     for (size_t i = 0; i < v.frame_ids.size(); ++i)
00188     {
00189       s << indent << "  frame_ids[" << i << "]: ";
00190       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.frame_ids[i]);
00191     }
00192     s << indent << "child_frame_ids[]" << std::endl;
00193     for (size_t i = 0; i < v.child_frame_ids.size(); ++i)
00194     {
00195       s << indent << "  child_frame_ids[" << i << "]: ";
00196       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.child_frame_ids[i]);
00197     }
00198     s << indent << "poses[]" << std::endl;
00199     for (size_t i = 0; i < v.poses.size(); ++i)
00200     {
00201       s << indent << "  poses[" << i << "]: ";
00202       s << std::endl;
00203       s << indent;
00204       Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + "    ", v.poses[i]);
00205     }
00206   }
00207 };
00208 
00209 
00210 } // namespace message_operations
00211 } // namespace ros
00212 
00213 #endif // ARM_NAVIGATION_MSGS_MESSAGE_MULTIDOFJOINTSTATE_H
00214 


arm_navigation_msgs
Author(s): Gil Jones
autogenerated on Mon Dec 2 2013 12:31:51