OrderedCollisionOperations.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/OrderedCollisionOperations.msg */
00002 #ifndef ARM_NAVIGATION_MSGS_MESSAGE_ORDEREDCOLLISIONOPERATIONS_H
00003 #define ARM_NAVIGATION_MSGS_MESSAGE_ORDEREDCOLLISIONOPERATIONS_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/CollisionOperation.h"
00018 
00019 namespace arm_navigation_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct OrderedCollisionOperations_ {
00023   typedef OrderedCollisionOperations_<ContainerAllocator> Type;
00024 
00025   OrderedCollisionOperations_()
00026   : collision_operations()
00027   {
00028   }
00029 
00030   OrderedCollisionOperations_(const ContainerAllocator& _alloc)
00031   : collision_operations(_alloc)
00032   {
00033   }
00034 
00035   typedef std::vector< ::arm_navigation_msgs::CollisionOperation_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::arm_navigation_msgs::CollisionOperation_<ContainerAllocator> >::other >  _collision_operations_type;
00036   std::vector< ::arm_navigation_msgs::CollisionOperation_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::arm_navigation_msgs::CollisionOperation_<ContainerAllocator> >::other >  collision_operations;
00037 
00038 
00039   typedef boost::shared_ptr< ::arm_navigation_msgs::OrderedCollisionOperations_<ContainerAllocator> > Ptr;
00040   typedef boost::shared_ptr< ::arm_navigation_msgs::OrderedCollisionOperations_<ContainerAllocator>  const> ConstPtr;
00041   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 }; // struct OrderedCollisionOperations
00043 typedef  ::arm_navigation_msgs::OrderedCollisionOperations_<std::allocator<void> > OrderedCollisionOperations;
00044 
00045 typedef boost::shared_ptr< ::arm_navigation_msgs::OrderedCollisionOperations> OrderedCollisionOperationsPtr;
00046 typedef boost::shared_ptr< ::arm_navigation_msgs::OrderedCollisionOperations const> OrderedCollisionOperationsConstPtr;
00047 
00048 
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const  ::arm_navigation_msgs::OrderedCollisionOperations_<ContainerAllocator> & v)
00051 {
00052   ros::message_operations::Printer< ::arm_navigation_msgs::OrderedCollisionOperations_<ContainerAllocator> >::stream(s, "", v);
00053   return s;}
00054 
00055 } // namespace arm_navigation_msgs
00056 
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::OrderedCollisionOperations_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::OrderedCollisionOperations_<ContainerAllocator>  const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::arm_navigation_msgs::OrderedCollisionOperations_<ContainerAllocator> > {
00065   static const char* value() 
00066   {
00067     return "f171f973b185d4d0121795080114026a";
00068   }
00069 
00070   static const char* value(const  ::arm_navigation_msgs::OrderedCollisionOperations_<ContainerAllocator> &) { return value(); } 
00071   static const uint64_t static_value1 = 0xf171f973b185d4d0ULL;
00072   static const uint64_t static_value2 = 0x121795080114026aULL;
00073 };
00074 
00075 template<class ContainerAllocator>
00076 struct DataType< ::arm_navigation_msgs::OrderedCollisionOperations_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "arm_navigation_msgs/OrderedCollisionOperations";
00080   }
00081 
00082   static const char* value(const  ::arm_navigation_msgs::OrderedCollisionOperations_<ContainerAllocator> &) { return value(); } 
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct Definition< ::arm_navigation_msgs::OrderedCollisionOperations_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "# A set of collision operations that will be performed in the order they are specified\n\
00090 CollisionOperation[] collision_operations\n\
00091 ================================================================================\n\
00092 MSG: arm_navigation_msgs/CollisionOperation\n\
00093 # A definition of a collision operation\n\
00094 # E.g. (\"gripper\",COLLISION_SET_ALL,ENABLE) will enable collisions \n\
00095 # between the gripper and all objects in the collision space\n\
00096 \n\
00097 string object1\n\
00098 string object2\n\
00099 string COLLISION_SET_ALL=\"all\"\n\
00100 string COLLISION_SET_OBJECTS=\"objects\"\n\
00101 string COLLISION_SET_ATTACHED_OBJECTS=\"attached\"\n\
00102 \n\
00103 # The penetration distance to which collisions are allowed. This is 0.0 by default.\n\
00104 float64 penetration_distance\n\
00105 \n\
00106 # Flag that determines whether collisions will be enabled or disabled for the pair of objects specified above\n\
00107 int32 operation\n\
00108 int32 DISABLE=0\n\
00109 int32 ENABLE=1\n\
00110 \n\
00111 ";
00112   }
00113 
00114   static const char* value(const  ::arm_navigation_msgs::OrderedCollisionOperations_<ContainerAllocator> &) { return value(); } 
00115 };
00116 
00117 } // namespace message_traits
00118 } // namespace ros
00119 
00120 namespace ros
00121 {
00122 namespace serialization
00123 {
00124 
00125 template<class ContainerAllocator> struct Serializer< ::arm_navigation_msgs::OrderedCollisionOperations_<ContainerAllocator> >
00126 {
00127   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00128   {
00129     stream.next(m.collision_operations);
00130   }
00131 
00132   ROS_DECLARE_ALLINONE_SERIALIZER;
00133 }; // struct OrderedCollisionOperations_
00134 } // namespace serialization
00135 } // namespace ros
00136 
00137 namespace ros
00138 {
00139 namespace message_operations
00140 {
00141 
00142 template<class ContainerAllocator>
00143 struct Printer< ::arm_navigation_msgs::OrderedCollisionOperations_<ContainerAllocator> >
00144 {
00145   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::arm_navigation_msgs::OrderedCollisionOperations_<ContainerAllocator> & v) 
00146   {
00147     s << indent << "collision_operations[]" << std::endl;
00148     for (size_t i = 0; i < v.collision_operations.size(); ++i)
00149     {
00150       s << indent << "  collision_operations[" << i << "]: ";
00151       s << std::endl;
00152       s << indent;
00153       Printer< ::arm_navigation_msgs::CollisionOperation_<ContainerAllocator> >::stream(s, indent + "    ", v.collision_operations[i]);
00154     }
00155   }
00156 };
00157 
00158 
00159 } // namespace message_operations
00160 } // namespace ros
00161 
00162 #endif // ARM_NAVIGATION_MSGS_MESSAGE_ORDEREDCOLLISIONOPERATIONS_H
00163 


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