PoseState.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-nasa_r2_common/doc_stacks/2014-10-06_02-39-31.575241/nasa_r2_common/nasa_r2_common_msgs/msg/PoseState.msg */
00002 #ifndef NASA_R2_COMMON_MSGS_MESSAGE_POSESTATE_H
00003 #define NASA_R2_COMMON_MSGS_MESSAGE_POSESTATE_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 "geometry_msgs/Pose.h"
00019 #include "geometry_msgs/Twist.h"
00020 #include "geometry_msgs/Twist.h"
00021 
00022 namespace nasa_r2_common_msgs
00023 {
00024 template <class ContainerAllocator>
00025 struct PoseState_ {
00026   typedef PoseState_<ContainerAllocator> Type;
00027 
00028   PoseState_()
00029   : header()
00030   , name()
00031   , positions()
00032   , velocities()
00033   , accelerations()
00034   {
00035   }
00036 
00037   PoseState_(const ContainerAllocator& _alloc)
00038   : header(_alloc)
00039   , name(_alloc)
00040   , positions(_alloc)
00041   , velocities(_alloc)
00042   , accelerations(_alloc)
00043   {
00044   }
00045 
00046   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00047    ::std_msgs::Header_<ContainerAllocator>  header;
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 >  _name_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 >  name;
00051 
00052   typedef std::vector< ::geometry_msgs::Pose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Pose_<ContainerAllocator> >::other >  _positions_type;
00053   std::vector< ::geometry_msgs::Pose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Pose_<ContainerAllocator> >::other >  positions;
00054 
00055   typedef std::vector< ::geometry_msgs::Twist_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Twist_<ContainerAllocator> >::other >  _velocities_type;
00056   std::vector< ::geometry_msgs::Twist_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Twist_<ContainerAllocator> >::other >  velocities;
00057 
00058   typedef std::vector< ::geometry_msgs::Twist_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Twist_<ContainerAllocator> >::other >  _accelerations_type;
00059   std::vector< ::geometry_msgs::Twist_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Twist_<ContainerAllocator> >::other >  accelerations;
00060 
00061 
00062   typedef boost::shared_ptr< ::nasa_r2_common_msgs::PoseState_<ContainerAllocator> > Ptr;
00063   typedef boost::shared_ptr< ::nasa_r2_common_msgs::PoseState_<ContainerAllocator>  const> ConstPtr;
00064   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00065 }; // struct PoseState
00066 typedef  ::nasa_r2_common_msgs::PoseState_<std::allocator<void> > PoseState;
00067 
00068 typedef boost::shared_ptr< ::nasa_r2_common_msgs::PoseState> PoseStatePtr;
00069 typedef boost::shared_ptr< ::nasa_r2_common_msgs::PoseState const> PoseStateConstPtr;
00070 
00071 
00072 template<typename ContainerAllocator>
00073 std::ostream& operator<<(std::ostream& s, const  ::nasa_r2_common_msgs::PoseState_<ContainerAllocator> & v)
00074 {
00075   ros::message_operations::Printer< ::nasa_r2_common_msgs::PoseState_<ContainerAllocator> >::stream(s, "", v);
00076   return s;}
00077 
00078 } // namespace nasa_r2_common_msgs
00079 
00080 namespace ros
00081 {
00082 namespace message_traits
00083 {
00084 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::PoseState_<ContainerAllocator> > : public TrueType {};
00085 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::PoseState_<ContainerAllocator>  const> : public TrueType {};
00086 template<class ContainerAllocator>
00087 struct MD5Sum< ::nasa_r2_common_msgs::PoseState_<ContainerAllocator> > {
00088   static const char* value() 
00089   {
00090     return "69e7de9596413863e5d6f72f4d5cd77e";
00091   }
00092 
00093   static const char* value(const  ::nasa_r2_common_msgs::PoseState_<ContainerAllocator> &) { return value(); } 
00094   static const uint64_t static_value1 = 0x69e7de9596413863ULL;
00095   static const uint64_t static_value2 = 0xe5d6f72f4d5cd77eULL;
00096 };
00097 
00098 template<class ContainerAllocator>
00099 struct DataType< ::nasa_r2_common_msgs::PoseState_<ContainerAllocator> > {
00100   static const char* value() 
00101   {
00102     return "nasa_r2_common_msgs/PoseState";
00103   }
00104 
00105   static const char* value(const  ::nasa_r2_common_msgs::PoseState_<ContainerAllocator> &) { return value(); } 
00106 };
00107 
00108 template<class ContainerAllocator>
00109 struct Definition< ::nasa_r2_common_msgs::PoseState_<ContainerAllocator> > {
00110   static const char* value() 
00111   {
00112     return "Header header\n\
00113 string[] name\n\
00114 geometry_msgs/Pose[] positions\n\
00115 geometry_msgs/Twist[] velocities\n\
00116 geometry_msgs/Twist[] accelerations\n\
00117 \n\
00118 ================================================================================\n\
00119 MSG: std_msgs/Header\n\
00120 # Standard metadata for higher-level stamped data types.\n\
00121 # This is generally used to communicate timestamped data \n\
00122 # in a particular coordinate frame.\n\
00123 # \n\
00124 # sequence ID: consecutively increasing ID \n\
00125 uint32 seq\n\
00126 #Two-integer timestamp that is expressed as:\n\
00127 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00128 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00129 # time-handling sugar is provided by the client library\n\
00130 time stamp\n\
00131 #Frame this data is associated with\n\
00132 # 0: no frame\n\
00133 # 1: global frame\n\
00134 string frame_id\n\
00135 \n\
00136 ================================================================================\n\
00137 MSG: geometry_msgs/Pose\n\
00138 # A representation of pose in free space, composed of postion and orientation. \n\
00139 Point position\n\
00140 Quaternion orientation\n\
00141 \n\
00142 ================================================================================\n\
00143 MSG: geometry_msgs/Point\n\
00144 # This contains the position of a point in free space\n\
00145 float64 x\n\
00146 float64 y\n\
00147 float64 z\n\
00148 \n\
00149 ================================================================================\n\
00150 MSG: geometry_msgs/Quaternion\n\
00151 # This represents an orientation in free space in quaternion form.\n\
00152 \n\
00153 float64 x\n\
00154 float64 y\n\
00155 float64 z\n\
00156 float64 w\n\
00157 \n\
00158 ================================================================================\n\
00159 MSG: geometry_msgs/Twist\n\
00160 # This expresses velocity in free space broken into its linear and angular parts.\n\
00161 Vector3  linear\n\
00162 Vector3  angular\n\
00163 \n\
00164 ================================================================================\n\
00165 MSG: geometry_msgs/Vector3\n\
00166 # This represents a vector in free space. \n\
00167 \n\
00168 float64 x\n\
00169 float64 y\n\
00170 float64 z\n\
00171 ";
00172   }
00173 
00174   static const char* value(const  ::nasa_r2_common_msgs::PoseState_<ContainerAllocator> &) { return value(); } 
00175 };
00176 
00177 template<class ContainerAllocator> struct HasHeader< ::nasa_r2_common_msgs::PoseState_<ContainerAllocator> > : public TrueType {};
00178 template<class ContainerAllocator> struct HasHeader< const ::nasa_r2_common_msgs::PoseState_<ContainerAllocator> > : public TrueType {};
00179 } // namespace message_traits
00180 } // namespace ros
00181 
00182 namespace ros
00183 {
00184 namespace serialization
00185 {
00186 
00187 template<class ContainerAllocator> struct Serializer< ::nasa_r2_common_msgs::PoseState_<ContainerAllocator> >
00188 {
00189   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00190   {
00191     stream.next(m.header);
00192     stream.next(m.name);
00193     stream.next(m.positions);
00194     stream.next(m.velocities);
00195     stream.next(m.accelerations);
00196   }
00197 
00198   ROS_DECLARE_ALLINONE_SERIALIZER;
00199 }; // struct PoseState_
00200 } // namespace serialization
00201 } // namespace ros
00202 
00203 namespace ros
00204 {
00205 namespace message_operations
00206 {
00207 
00208 template<class ContainerAllocator>
00209 struct Printer< ::nasa_r2_common_msgs::PoseState_<ContainerAllocator> >
00210 {
00211   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::nasa_r2_common_msgs::PoseState_<ContainerAllocator> & v) 
00212   {
00213     s << indent << "header: ";
00214 s << std::endl;
00215     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00216     s << indent << "name[]" << std::endl;
00217     for (size_t i = 0; i < v.name.size(); ++i)
00218     {
00219       s << indent << "  name[" << i << "]: ";
00220       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.name[i]);
00221     }
00222     s << indent << "positions[]" << std::endl;
00223     for (size_t i = 0; i < v.positions.size(); ++i)
00224     {
00225       s << indent << "  positions[" << i << "]: ";
00226       s << std::endl;
00227       s << indent;
00228       Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + "    ", v.positions[i]);
00229     }
00230     s << indent << "velocities[]" << std::endl;
00231     for (size_t i = 0; i < v.velocities.size(); ++i)
00232     {
00233       s << indent << "  velocities[" << i << "]: ";
00234       s << std::endl;
00235       s << indent;
00236       Printer< ::geometry_msgs::Twist_<ContainerAllocator> >::stream(s, indent + "    ", v.velocities[i]);
00237     }
00238     s << indent << "accelerations[]" << std::endl;
00239     for (size_t i = 0; i < v.accelerations.size(); ++i)
00240     {
00241       s << indent << "  accelerations[" << i << "]: ";
00242       s << std::endl;
00243       s << indent;
00244       Printer< ::geometry_msgs::Twist_<ContainerAllocator> >::stream(s, indent + "    ", v.accelerations[i]);
00245     }
00246   }
00247 };
00248 
00249 
00250 } // namespace message_operations
00251 } // namespace ros
00252 
00253 #endif // NASA_R2_COMMON_MSGS_MESSAGE_POSESTATE_H
00254 


nasa_r2_common_msgs
Author(s): Paul Dinh. Maintained by Jennifer Turner
autogenerated on Mon Oct 6 2014 02:42:34