PoseTwistStamped.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-07-26_06-32-12.447217/nasa_r2_common/r2_msgs/msg/PoseTwistStamped.msg */
00002 #ifndef R2_MSGS_MESSAGE_POSETWISTSTAMPED_H
00003 #define R2_MSGS_MESSAGE_POSETWISTSTAMPED_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 
00021 namespace r2_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct PoseTwistStamped_ {
00025   typedef PoseTwistStamped_<ContainerAllocator> Type;
00026 
00027   PoseTwistStamped_()
00028   : header()
00029   , pose()
00030   , twist()
00031   {
00032   }
00033 
00034   PoseTwistStamped_(const ContainerAllocator& _alloc)
00035   : header(_alloc)
00036   , pose(_alloc)
00037   , twist(_alloc)
00038   {
00039   }
00040 
00041   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00042    ::std_msgs::Header_<ContainerAllocator>  header;
00043 
00044   typedef  ::geometry_msgs::Pose_<ContainerAllocator>  _pose_type;
00045    ::geometry_msgs::Pose_<ContainerAllocator>  pose;
00046 
00047   typedef  ::geometry_msgs::Twist_<ContainerAllocator>  _twist_type;
00048    ::geometry_msgs::Twist_<ContainerAllocator>  twist;
00049 
00050 
00051   typedef boost::shared_ptr< ::r2_msgs::PoseTwistStamped_<ContainerAllocator> > Ptr;
00052   typedef boost::shared_ptr< ::r2_msgs::PoseTwistStamped_<ContainerAllocator>  const> ConstPtr;
00053   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 }; // struct PoseTwistStamped
00055 typedef  ::r2_msgs::PoseTwistStamped_<std::allocator<void> > PoseTwistStamped;
00056 
00057 typedef boost::shared_ptr< ::r2_msgs::PoseTwistStamped> PoseTwistStampedPtr;
00058 typedef boost::shared_ptr< ::r2_msgs::PoseTwistStamped const> PoseTwistStampedConstPtr;
00059 
00060 
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const  ::r2_msgs::PoseTwistStamped_<ContainerAllocator> & v)
00063 {
00064   ros::message_operations::Printer< ::r2_msgs::PoseTwistStamped_<ContainerAllocator> >::stream(s, "", v);
00065   return s;}
00066 
00067 } // namespace r2_msgs
00068 
00069 namespace ros
00070 {
00071 namespace message_traits
00072 {
00073 template<class ContainerAllocator> struct IsMessage< ::r2_msgs::PoseTwistStamped_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::r2_msgs::PoseTwistStamped_<ContainerAllocator>  const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::r2_msgs::PoseTwistStamped_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "a296da29623d3a182b44fee95e8415a4";
00080   }
00081 
00082   static const char* value(const  ::r2_msgs::PoseTwistStamped_<ContainerAllocator> &) { return value(); } 
00083   static const uint64_t static_value1 = 0xa296da29623d3a18ULL;
00084   static const uint64_t static_value2 = 0x2b44fee95e8415a4ULL;
00085 };
00086 
00087 template<class ContainerAllocator>
00088 struct DataType< ::r2_msgs::PoseTwistStamped_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "r2_msgs/PoseTwistStamped";
00092   }
00093 
00094   static const char* value(const  ::r2_msgs::PoseTwistStamped_<ContainerAllocator> &) { return value(); } 
00095 };
00096 
00097 template<class ContainerAllocator>
00098 struct Definition< ::r2_msgs::PoseTwistStamped_<ContainerAllocator> > {
00099   static const char* value() 
00100   {
00101     return "Header header\n\
00102 geometry_msgs/Pose pose\n\
00103 geometry_msgs/Twist twist\n\
00104 \n\
00105 ================================================================================\n\
00106 MSG: std_msgs/Header\n\
00107 # Standard metadata for higher-level stamped data types.\n\
00108 # This is generally used to communicate timestamped data \n\
00109 # in a particular coordinate frame.\n\
00110 # \n\
00111 # sequence ID: consecutively increasing ID \n\
00112 uint32 seq\n\
00113 #Two-integer timestamp that is expressed as:\n\
00114 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00115 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00116 # time-handling sugar is provided by the client library\n\
00117 time stamp\n\
00118 #Frame this data is associated with\n\
00119 # 0: no frame\n\
00120 # 1: global frame\n\
00121 string frame_id\n\
00122 \n\
00123 ================================================================================\n\
00124 MSG: geometry_msgs/Pose\n\
00125 # A representation of pose in free space, composed of postion and orientation. \n\
00126 Point position\n\
00127 Quaternion orientation\n\
00128 \n\
00129 ================================================================================\n\
00130 MSG: geometry_msgs/Point\n\
00131 # This contains the position of a point in free space\n\
00132 float64 x\n\
00133 float64 y\n\
00134 float64 z\n\
00135 \n\
00136 ================================================================================\n\
00137 MSG: geometry_msgs/Quaternion\n\
00138 # This represents an orientation in free space in quaternion form.\n\
00139 \n\
00140 float64 x\n\
00141 float64 y\n\
00142 float64 z\n\
00143 float64 w\n\
00144 \n\
00145 ================================================================================\n\
00146 MSG: geometry_msgs/Twist\n\
00147 # This expresses velocity in free space broken into its linear and angular parts.\n\
00148 Vector3  linear\n\
00149 Vector3  angular\n\
00150 \n\
00151 ================================================================================\n\
00152 MSG: geometry_msgs/Vector3\n\
00153 # This represents a vector in free space. \n\
00154 \n\
00155 float64 x\n\
00156 float64 y\n\
00157 float64 z\n\
00158 ";
00159   }
00160 
00161   static const char* value(const  ::r2_msgs::PoseTwistStamped_<ContainerAllocator> &) { return value(); } 
00162 };
00163 
00164 template<class ContainerAllocator> struct HasHeader< ::r2_msgs::PoseTwistStamped_<ContainerAllocator> > : public TrueType {};
00165 template<class ContainerAllocator> struct HasHeader< const ::r2_msgs::PoseTwistStamped_<ContainerAllocator> > : public TrueType {};
00166 } // namespace message_traits
00167 } // namespace ros
00168 
00169 namespace ros
00170 {
00171 namespace serialization
00172 {
00173 
00174 template<class ContainerAllocator> struct Serializer< ::r2_msgs::PoseTwistStamped_<ContainerAllocator> >
00175 {
00176   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00177   {
00178     stream.next(m.header);
00179     stream.next(m.pose);
00180     stream.next(m.twist);
00181   }
00182 
00183   ROS_DECLARE_ALLINONE_SERIALIZER;
00184 }; // struct PoseTwistStamped_
00185 } // namespace serialization
00186 } // namespace ros
00187 
00188 namespace ros
00189 {
00190 namespace message_operations
00191 {
00192 
00193 template<class ContainerAllocator>
00194 struct Printer< ::r2_msgs::PoseTwistStamped_<ContainerAllocator> >
00195 {
00196   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::r2_msgs::PoseTwistStamped_<ContainerAllocator> & v) 
00197   {
00198     s << indent << "header: ";
00199 s << std::endl;
00200     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00201     s << indent << "pose: ";
00202 s << std::endl;
00203     Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + "  ", v.pose);
00204     s << indent << "twist: ";
00205 s << std::endl;
00206     Printer< ::geometry_msgs::Twist_<ContainerAllocator> >::stream(s, indent + "  ", v.twist);
00207   }
00208 };
00209 
00210 
00211 } // namespace message_operations
00212 } // namespace ros
00213 
00214 #endif // R2_MSGS_MESSAGE_POSETWISTSTAMPED_H
00215 


r2_msgs
Author(s): Paul Dinh
autogenerated on Sat Jul 26 2014 06:34:21