Ray.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-pr2_object_manipulation/doc_stacks/2014-01-03_11-39-44.427894/pr2_object_manipulation/manipulation/pr2_object_manipulation_msgs/msg/Ray.msg */
00002 #ifndef PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_RAY_H
00003 #define PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_RAY_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/Point.h"
00019 #include "geometry_msgs/Vector3.h"
00020 
00021 namespace pr2_object_manipulation_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct Ray_ {
00025   typedef Ray_<ContainerAllocator> Type;
00026 
00027   Ray_()
00028   : header()
00029   , origin()
00030   , direction()
00031   {
00032   }
00033 
00034   Ray_(const ContainerAllocator& _alloc)
00035   : header(_alloc)
00036   , origin(_alloc)
00037   , direction(_alloc)
00038   {
00039   }
00040 
00041   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00042    ::std_msgs::Header_<ContainerAllocator>  header;
00043 
00044   typedef  ::geometry_msgs::Point_<ContainerAllocator>  _origin_type;
00045    ::geometry_msgs::Point_<ContainerAllocator>  origin;
00046 
00047   typedef  ::geometry_msgs::Vector3_<ContainerAllocator>  _direction_type;
00048    ::geometry_msgs::Vector3_<ContainerAllocator>  direction;
00049 
00050 
00051   typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::Ray_<ContainerAllocator> > Ptr;
00052   typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::Ray_<ContainerAllocator>  const> ConstPtr;
00053   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 }; // struct Ray
00055 typedef  ::pr2_object_manipulation_msgs::Ray_<std::allocator<void> > Ray;
00056 
00057 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::Ray> RayPtr;
00058 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::Ray const> RayConstPtr;
00059 
00060 
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const  ::pr2_object_manipulation_msgs::Ray_<ContainerAllocator> & v)
00063 {
00064   ros::message_operations::Printer< ::pr2_object_manipulation_msgs::Ray_<ContainerAllocator> >::stream(s, "", v);
00065   return s;}
00066 
00067 } // namespace pr2_object_manipulation_msgs
00068 
00069 namespace ros
00070 {
00071 namespace message_traits
00072 {
00073 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::Ray_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::Ray_<ContainerAllocator>  const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::pr2_object_manipulation_msgs::Ray_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "6f48ec72d454524509d80bbcf717e192";
00080   }
00081 
00082   static const char* value(const  ::pr2_object_manipulation_msgs::Ray_<ContainerAllocator> &) { return value(); } 
00083   static const uint64_t static_value1 = 0x6f48ec72d4545245ULL;
00084   static const uint64_t static_value2 = 0x09d80bbcf717e192ULL;
00085 };
00086 
00087 template<class ContainerAllocator>
00088 struct DataType< ::pr2_object_manipulation_msgs::Ray_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "pr2_object_manipulation_msgs/Ray";
00092   }
00093 
00094   static const char* value(const  ::pr2_object_manipulation_msgs::Ray_<ContainerAllocator> &) { return value(); } 
00095 };
00096 
00097 template<class ContainerAllocator>
00098 struct Definition< ::pr2_object_manipulation_msgs::Ray_<ContainerAllocator> > {
00099   static const char* value() 
00100   {
00101     return "# Represents a ray through space.\n\
00102 # Could probably move to a more general location\n\
00103 \n\
00104 Header header\n\
00105 \n\
00106 # the origin of the ray\n\
00107 geometry_msgs/Point origin\n\
00108 \n\
00109 # the direction of the ray\n\
00110 geometry_msgs/Vector3 direction\n\
00111 ================================================================================\n\
00112 MSG: std_msgs/Header\n\
00113 # Standard metadata for higher-level stamped data types.\n\
00114 # This is generally used to communicate timestamped data \n\
00115 # in a particular coordinate frame.\n\
00116 # \n\
00117 # sequence ID: consecutively increasing ID \n\
00118 uint32 seq\n\
00119 #Two-integer timestamp that is expressed as:\n\
00120 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00121 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00122 # time-handling sugar is provided by the client library\n\
00123 time stamp\n\
00124 #Frame this data is associated with\n\
00125 # 0: no frame\n\
00126 # 1: global frame\n\
00127 string frame_id\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/Vector3\n\
00138 # This represents a vector in free space. \n\
00139 \n\
00140 float64 x\n\
00141 float64 y\n\
00142 float64 z\n\
00143 ";
00144   }
00145 
00146   static const char* value(const  ::pr2_object_manipulation_msgs::Ray_<ContainerAllocator> &) { return value(); } 
00147 };
00148 
00149 template<class ContainerAllocator> struct HasHeader< ::pr2_object_manipulation_msgs::Ray_<ContainerAllocator> > : public TrueType {};
00150 template<class ContainerAllocator> struct HasHeader< const ::pr2_object_manipulation_msgs::Ray_<ContainerAllocator> > : public TrueType {};
00151 } // namespace message_traits
00152 } // namespace ros
00153 
00154 namespace ros
00155 {
00156 namespace serialization
00157 {
00158 
00159 template<class ContainerAllocator> struct Serializer< ::pr2_object_manipulation_msgs::Ray_<ContainerAllocator> >
00160 {
00161   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00162   {
00163     stream.next(m.header);
00164     stream.next(m.origin);
00165     stream.next(m.direction);
00166   }
00167 
00168   ROS_DECLARE_ALLINONE_SERIALIZER;
00169 }; // struct Ray_
00170 } // namespace serialization
00171 } // namespace ros
00172 
00173 namespace ros
00174 {
00175 namespace message_operations
00176 {
00177 
00178 template<class ContainerAllocator>
00179 struct Printer< ::pr2_object_manipulation_msgs::Ray_<ContainerAllocator> >
00180 {
00181   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::pr2_object_manipulation_msgs::Ray_<ContainerAllocator> & v) 
00182   {
00183     s << indent << "header: ";
00184 s << std::endl;
00185     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00186     s << indent << "origin: ";
00187 s << std::endl;
00188     Printer< ::geometry_msgs::Point_<ContainerAllocator> >::stream(s, indent + "  ", v.origin);
00189     s << indent << "direction: ";
00190 s << std::endl;
00191     Printer< ::geometry_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + "  ", v.direction);
00192   }
00193 };
00194 
00195 
00196 } // namespace message_operations
00197 } // namespace ros
00198 
00199 #endif // PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_RAY_H
00200 


pr2_object_manipulation_msgs
Author(s): Matei Ciocarlie
autogenerated on Fri Jan 3 2014 11:59:14