AllowedContactSpecification.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/AllowedContactSpecification.msg */
00002 #ifndef ARM_NAVIGATION_MSGS_MESSAGE_ALLOWEDCONTACTSPECIFICATION_H
00003 #define ARM_NAVIGATION_MSGS_MESSAGE_ALLOWEDCONTACTSPECIFICATION_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 "arm_navigation_msgs/Shape.h"
00018 #include "geometry_msgs/PoseStamped.h"
00019 
00020 namespace arm_navigation_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct AllowedContactSpecification_ {
00024   typedef AllowedContactSpecification_<ContainerAllocator> Type;
00025 
00026   AllowedContactSpecification_()
00027   : name()
00028   , shape()
00029   , pose_stamped()
00030   , link_names()
00031   , penetration_depth(0.0)
00032   {
00033   }
00034 
00035   AllowedContactSpecification_(const ContainerAllocator& _alloc)
00036   : name(_alloc)
00037   , shape(_alloc)
00038   , pose_stamped(_alloc)
00039   , link_names(_alloc)
00040   , penetration_depth(0.0)
00041   {
00042   }
00043 
00044   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _name_type;
00045   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  name;
00046 
00047   typedef  ::arm_navigation_msgs::Shape_<ContainerAllocator>  _shape_type;
00048    ::arm_navigation_msgs::Shape_<ContainerAllocator>  shape;
00049 
00050   typedef  ::geometry_msgs::PoseStamped_<ContainerAllocator>  _pose_stamped_type;
00051    ::geometry_msgs::PoseStamped_<ContainerAllocator>  pose_stamped;
00052 
00053   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 >  _link_names_type;
00054   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 >  link_names;
00055 
00056   typedef double _penetration_depth_type;
00057   double penetration_depth;
00058 
00059 
00060   typedef boost::shared_ptr< ::arm_navigation_msgs::AllowedContactSpecification_<ContainerAllocator> > Ptr;
00061   typedef boost::shared_ptr< ::arm_navigation_msgs::AllowedContactSpecification_<ContainerAllocator>  const> ConstPtr;
00062   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00063 }; // struct AllowedContactSpecification
00064 typedef  ::arm_navigation_msgs::AllowedContactSpecification_<std::allocator<void> > AllowedContactSpecification;
00065 
00066 typedef boost::shared_ptr< ::arm_navigation_msgs::AllowedContactSpecification> AllowedContactSpecificationPtr;
00067 typedef boost::shared_ptr< ::arm_navigation_msgs::AllowedContactSpecification const> AllowedContactSpecificationConstPtr;
00068 
00069 
00070 template<typename ContainerAllocator>
00071 std::ostream& operator<<(std::ostream& s, const  ::arm_navigation_msgs::AllowedContactSpecification_<ContainerAllocator> & v)
00072 {
00073   ros::message_operations::Printer< ::arm_navigation_msgs::AllowedContactSpecification_<ContainerAllocator> >::stream(s, "", v);
00074   return s;}
00075 
00076 } // namespace arm_navigation_msgs
00077 
00078 namespace ros
00079 {
00080 namespace message_traits
00081 {
00082 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::AllowedContactSpecification_<ContainerAllocator> > : public TrueType {};
00083 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::AllowedContactSpecification_<ContainerAllocator>  const> : public TrueType {};
00084 template<class ContainerAllocator>
00085 struct MD5Sum< ::arm_navigation_msgs::AllowedContactSpecification_<ContainerAllocator> > {
00086   static const char* value() 
00087   {
00088     return "81f9b47ac49a467ae008d3d9485628a3";
00089   }
00090 
00091   static const char* value(const  ::arm_navigation_msgs::AllowedContactSpecification_<ContainerAllocator> &) { return value(); } 
00092   static const uint64_t static_value1 = 0x81f9b47ac49a467aULL;
00093   static const uint64_t static_value2 = 0xe008d3d9485628a3ULL;
00094 };
00095 
00096 template<class ContainerAllocator>
00097 struct DataType< ::arm_navigation_msgs::AllowedContactSpecification_<ContainerAllocator> > {
00098   static const char* value() 
00099   {
00100     return "arm_navigation_msgs/AllowedContactSpecification";
00101   }
00102 
00103   static const char* value(const  ::arm_navigation_msgs::AllowedContactSpecification_<ContainerAllocator> &) { return value(); } 
00104 };
00105 
00106 template<class ContainerAllocator>
00107 struct Definition< ::arm_navigation_msgs::AllowedContactSpecification_<ContainerAllocator> > {
00108   static const char* value() 
00109   {
00110     return "# The names of the regions\n\
00111 string name\n\
00112 \n\
00113 # The shape of the region in the environment\n\
00114 arm_navigation_msgs/Shape shape\n\
00115 \n\
00116 # The pose of the space defining the region\n\
00117 geometry_msgs/PoseStamped pose_stamped\n\
00118 \n\
00119 # The set of links that will be allowed to have penetration contact within this region\n\
00120 string[] link_names\n\
00121 \n\
00122 # The maximum penetration depth allowed for every link\n\
00123 float64 penetration_depth\n\
00124 \n\
00125 ================================================================================\n\
00126 MSG: arm_navigation_msgs/Shape\n\
00127 byte SPHERE=0\n\
00128 byte BOX=1\n\
00129 byte CYLINDER=2\n\
00130 byte MESH=3\n\
00131 \n\
00132 byte type\n\
00133 \n\
00134 \n\
00135 #### define sphere, box, cylinder ####\n\
00136 # the origin of each shape is considered at the shape's center\n\
00137 \n\
00138 # for sphere\n\
00139 # radius := dimensions[0]\n\
00140 \n\
00141 # for cylinder\n\
00142 # radius := dimensions[0]\n\
00143 # length := dimensions[1]\n\
00144 # the length is along the Z axis\n\
00145 \n\
00146 # for box\n\
00147 # size_x := dimensions[0]\n\
00148 # size_y := dimensions[1]\n\
00149 # size_z := dimensions[2]\n\
00150 float64[] dimensions\n\
00151 \n\
00152 \n\
00153 #### define mesh ####\n\
00154 \n\
00155 # list of triangles; triangle k is defined by tre vertices located\n\
00156 # at indices triangles[3k], triangles[3k+1], triangles[3k+2]\n\
00157 int32[] triangles\n\
00158 geometry_msgs/Point[] vertices\n\
00159 \n\
00160 ================================================================================\n\
00161 MSG: geometry_msgs/Point\n\
00162 # This contains the position of a point in free space\n\
00163 float64 x\n\
00164 float64 y\n\
00165 float64 z\n\
00166 \n\
00167 ================================================================================\n\
00168 MSG: geometry_msgs/PoseStamped\n\
00169 # A Pose with reference coordinate frame and timestamp\n\
00170 Header header\n\
00171 Pose pose\n\
00172 \n\
00173 ================================================================================\n\
00174 MSG: std_msgs/Header\n\
00175 # Standard metadata for higher-level stamped data types.\n\
00176 # This is generally used to communicate timestamped data \n\
00177 # in a particular coordinate frame.\n\
00178 # \n\
00179 # sequence ID: consecutively increasing ID \n\
00180 uint32 seq\n\
00181 #Two-integer timestamp that is expressed as:\n\
00182 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00183 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00184 # time-handling sugar is provided by the client library\n\
00185 time stamp\n\
00186 #Frame this data is associated with\n\
00187 # 0: no frame\n\
00188 # 1: global frame\n\
00189 string frame_id\n\
00190 \n\
00191 ================================================================================\n\
00192 MSG: geometry_msgs/Pose\n\
00193 # A representation of pose in free space, composed of postion and orientation. \n\
00194 Point position\n\
00195 Quaternion orientation\n\
00196 \n\
00197 ================================================================================\n\
00198 MSG: geometry_msgs/Quaternion\n\
00199 # This represents an orientation in free space in quaternion form.\n\
00200 \n\
00201 float64 x\n\
00202 float64 y\n\
00203 float64 z\n\
00204 float64 w\n\
00205 \n\
00206 ";
00207   }
00208 
00209   static const char* value(const  ::arm_navigation_msgs::AllowedContactSpecification_<ContainerAllocator> &) { return value(); } 
00210 };
00211 
00212 } // namespace message_traits
00213 } // namespace ros
00214 
00215 namespace ros
00216 {
00217 namespace serialization
00218 {
00219 
00220 template<class ContainerAllocator> struct Serializer< ::arm_navigation_msgs::AllowedContactSpecification_<ContainerAllocator> >
00221 {
00222   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00223   {
00224     stream.next(m.name);
00225     stream.next(m.shape);
00226     stream.next(m.pose_stamped);
00227     stream.next(m.link_names);
00228     stream.next(m.penetration_depth);
00229   }
00230 
00231   ROS_DECLARE_ALLINONE_SERIALIZER;
00232 }; // struct AllowedContactSpecification_
00233 } // namespace serialization
00234 } // namespace ros
00235 
00236 namespace ros
00237 {
00238 namespace message_operations
00239 {
00240 
00241 template<class ContainerAllocator>
00242 struct Printer< ::arm_navigation_msgs::AllowedContactSpecification_<ContainerAllocator> >
00243 {
00244   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::arm_navigation_msgs::AllowedContactSpecification_<ContainerAllocator> & v) 
00245   {
00246     s << indent << "name: ";
00247     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.name);
00248     s << indent << "shape: ";
00249 s << std::endl;
00250     Printer< ::arm_navigation_msgs::Shape_<ContainerAllocator> >::stream(s, indent + "  ", v.shape);
00251     s << indent << "pose_stamped: ";
00252 s << std::endl;
00253     Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + "  ", v.pose_stamped);
00254     s << indent << "link_names[]" << std::endl;
00255     for (size_t i = 0; i < v.link_names.size(); ++i)
00256     {
00257       s << indent << "  link_names[" << i << "]: ";
00258       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.link_names[i]);
00259     }
00260     s << indent << "penetration_depth: ";
00261     Printer<double>::stream(s, indent + "  ", v.penetration_depth);
00262   }
00263 };
00264 
00265 
00266 } // namespace message_operations
00267 } // namespace ros
00268 
00269 #endif // ARM_NAVIGATION_MSGS_MESSAGE_ALLOWEDCONTACTSPECIFICATION_H
00270 


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