AllowedCollisionMatrix.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/AllowedCollisionMatrix.msg */
00002 #ifndef ARM_NAVIGATION_MSGS_MESSAGE_ALLOWEDCOLLISIONMATRIX_H
00003 #define ARM_NAVIGATION_MSGS_MESSAGE_ALLOWEDCOLLISIONMATRIX_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/AllowedCollisionEntry.h"
00018 
00019 namespace arm_navigation_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct AllowedCollisionMatrix_ {
00023   typedef AllowedCollisionMatrix_<ContainerAllocator> Type;
00024 
00025   AllowedCollisionMatrix_()
00026   : link_names()
00027   , entries()
00028   {
00029   }
00030 
00031   AllowedCollisionMatrix_(const ContainerAllocator& _alloc)
00032   : link_names(_alloc)
00033   , entries(_alloc)
00034   {
00035   }
00036 
00037   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;
00038   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;
00039 
00040   typedef std::vector< ::arm_navigation_msgs::AllowedCollisionEntry_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::arm_navigation_msgs::AllowedCollisionEntry_<ContainerAllocator> >::other >  _entries_type;
00041   std::vector< ::arm_navigation_msgs::AllowedCollisionEntry_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::arm_navigation_msgs::AllowedCollisionEntry_<ContainerAllocator> >::other >  entries;
00042 
00043 
00044   typedef boost::shared_ptr< ::arm_navigation_msgs::AllowedCollisionMatrix_<ContainerAllocator> > Ptr;
00045   typedef boost::shared_ptr< ::arm_navigation_msgs::AllowedCollisionMatrix_<ContainerAllocator>  const> ConstPtr;
00046   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 }; // struct AllowedCollisionMatrix
00048 typedef  ::arm_navigation_msgs::AllowedCollisionMatrix_<std::allocator<void> > AllowedCollisionMatrix;
00049 
00050 typedef boost::shared_ptr< ::arm_navigation_msgs::AllowedCollisionMatrix> AllowedCollisionMatrixPtr;
00051 typedef boost::shared_ptr< ::arm_navigation_msgs::AllowedCollisionMatrix const> AllowedCollisionMatrixConstPtr;
00052 
00053 
00054 template<typename ContainerAllocator>
00055 std::ostream& operator<<(std::ostream& s, const  ::arm_navigation_msgs::AllowedCollisionMatrix_<ContainerAllocator> & v)
00056 {
00057   ros::message_operations::Printer< ::arm_navigation_msgs::AllowedCollisionMatrix_<ContainerAllocator> >::stream(s, "", v);
00058   return s;}
00059 
00060 } // namespace arm_navigation_msgs
00061 
00062 namespace ros
00063 {
00064 namespace message_traits
00065 {
00066 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::AllowedCollisionMatrix_<ContainerAllocator> > : public TrueType {};
00067 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::AllowedCollisionMatrix_<ContainerAllocator>  const> : public TrueType {};
00068 template<class ContainerAllocator>
00069 struct MD5Sum< ::arm_navigation_msgs::AllowedCollisionMatrix_<ContainerAllocator> > {
00070   static const char* value() 
00071   {
00072     return "c5785d58d2d0b6270738f65222dbec5d";
00073   }
00074 
00075   static const char* value(const  ::arm_navigation_msgs::AllowedCollisionMatrix_<ContainerAllocator> &) { return value(); } 
00076   static const uint64_t static_value1 = 0xc5785d58d2d0b627ULL;
00077   static const uint64_t static_value2 = 0x0738f65222dbec5dULL;
00078 };
00079 
00080 template<class ContainerAllocator>
00081 struct DataType< ::arm_navigation_msgs::AllowedCollisionMatrix_<ContainerAllocator> > {
00082   static const char* value() 
00083   {
00084     return "arm_navigation_msgs/AllowedCollisionMatrix";
00085   }
00086 
00087   static const char* value(const  ::arm_navigation_msgs::AllowedCollisionMatrix_<ContainerAllocator> &) { return value(); } 
00088 };
00089 
00090 template<class ContainerAllocator>
00091 struct Definition< ::arm_navigation_msgs::AllowedCollisionMatrix_<ContainerAllocator> > {
00092   static const char* value() 
00093   {
00094     return "# the list of link names in the matrix\n\
00095 string[] link_names\n\
00096 \n\
00097 # the individual entries in the allowed collision matrix\n\
00098 # symmetric, with same order as link_names\n\
00099 AllowedCollisionEntry[] entries\n\
00100 \n\
00101 ================================================================================\n\
00102 MSG: arm_navigation_msgs/AllowedCollisionEntry\n\
00103 # whether or not collision checking is enabled\n\
00104 bool[] enabled\n\
00105 \n\
00106 ";
00107   }
00108 
00109   static const char* value(const  ::arm_navigation_msgs::AllowedCollisionMatrix_<ContainerAllocator> &) { return value(); } 
00110 };
00111 
00112 } // namespace message_traits
00113 } // namespace ros
00114 
00115 namespace ros
00116 {
00117 namespace serialization
00118 {
00119 
00120 template<class ContainerAllocator> struct Serializer< ::arm_navigation_msgs::AllowedCollisionMatrix_<ContainerAllocator> >
00121 {
00122   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00123   {
00124     stream.next(m.link_names);
00125     stream.next(m.entries);
00126   }
00127 
00128   ROS_DECLARE_ALLINONE_SERIALIZER;
00129 }; // struct AllowedCollisionMatrix_
00130 } // namespace serialization
00131 } // namespace ros
00132 
00133 namespace ros
00134 {
00135 namespace message_operations
00136 {
00137 
00138 template<class ContainerAllocator>
00139 struct Printer< ::arm_navigation_msgs::AllowedCollisionMatrix_<ContainerAllocator> >
00140 {
00141   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::arm_navigation_msgs::AllowedCollisionMatrix_<ContainerAllocator> & v) 
00142   {
00143     s << indent << "link_names[]" << std::endl;
00144     for (size_t i = 0; i < v.link_names.size(); ++i)
00145     {
00146       s << indent << "  link_names[" << i << "]: ";
00147       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.link_names[i]);
00148     }
00149     s << indent << "entries[]" << std::endl;
00150     for (size_t i = 0; i < v.entries.size(); ++i)
00151     {
00152       s << indent << "  entries[" << i << "]: ";
00153       s << std::endl;
00154       s << indent;
00155       Printer< ::arm_navigation_msgs::AllowedCollisionEntry_<ContainerAllocator> >::stream(s, indent + "    ", v.entries[i]);
00156     }
00157   }
00158 };
00159 
00160 
00161 } // namespace message_operations
00162 } // namespace ros
00163 
00164 #endif // ARM_NAVIGATION_MSGS_MESSAGE_ALLOWEDCOLLISIONMATRIX_H
00165 


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