CollisionObjectOperation.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/CollisionObjectOperation.msg */
00002 #ifndef ARM_NAVIGATION_MSGS_MESSAGE_COLLISIONOBJECTOPERATION_H
00003 #define ARM_NAVIGATION_MSGS_MESSAGE_COLLISIONOBJECTOPERATION_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 
00018 namespace arm_navigation_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct CollisionObjectOperation_ {
00022   typedef CollisionObjectOperation_<ContainerAllocator> Type;
00023 
00024   CollisionObjectOperation_()
00025   : operation(0)
00026   {
00027   }
00028 
00029   CollisionObjectOperation_(const ContainerAllocator& _alloc)
00030   : operation(0)
00031   {
00032   }
00033 
00034   typedef int8_t _operation_type;
00035   int8_t operation;
00036 
00037   enum { ADD = 0 };
00038   enum { REMOVE = 1 };
00039   enum { DETACH_AND_ADD_AS_OBJECT = 2 };
00040   enum { ATTACH_AND_REMOVE_AS_OBJECT = 3 };
00041 
00042   typedef boost::shared_ptr< ::arm_navigation_msgs::CollisionObjectOperation_<ContainerAllocator> > Ptr;
00043   typedef boost::shared_ptr< ::arm_navigation_msgs::CollisionObjectOperation_<ContainerAllocator>  const> ConstPtr;
00044   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00045 }; // struct CollisionObjectOperation
00046 typedef  ::arm_navigation_msgs::CollisionObjectOperation_<std::allocator<void> > CollisionObjectOperation;
00047 
00048 typedef boost::shared_ptr< ::arm_navigation_msgs::CollisionObjectOperation> CollisionObjectOperationPtr;
00049 typedef boost::shared_ptr< ::arm_navigation_msgs::CollisionObjectOperation const> CollisionObjectOperationConstPtr;
00050 
00051 
00052 template<typename ContainerAllocator>
00053 std::ostream& operator<<(std::ostream& s, const  ::arm_navigation_msgs::CollisionObjectOperation_<ContainerAllocator> & v)
00054 {
00055   ros::message_operations::Printer< ::arm_navigation_msgs::CollisionObjectOperation_<ContainerAllocator> >::stream(s, "", v);
00056   return s;}
00057 
00058 } // namespace arm_navigation_msgs
00059 
00060 namespace ros
00061 {
00062 namespace message_traits
00063 {
00064 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::CollisionObjectOperation_<ContainerAllocator> > : public TrueType {};
00065 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::CollisionObjectOperation_<ContainerAllocator>  const> : public TrueType {};
00066 template<class ContainerAllocator>
00067 struct MD5Sum< ::arm_navigation_msgs::CollisionObjectOperation_<ContainerAllocator> > {
00068   static const char* value() 
00069   {
00070     return "66a2b3b971d193145f8da8c3e401a474";
00071   }
00072 
00073   static const char* value(const  ::arm_navigation_msgs::CollisionObjectOperation_<ContainerAllocator> &) { return value(); } 
00074   static const uint64_t static_value1 = 0x66a2b3b971d19314ULL;
00075   static const uint64_t static_value2 = 0x5f8da8c3e401a474ULL;
00076 };
00077 
00078 template<class ContainerAllocator>
00079 struct DataType< ::arm_navigation_msgs::CollisionObjectOperation_<ContainerAllocator> > {
00080   static const char* value() 
00081   {
00082     return "arm_navigation_msgs/CollisionObjectOperation";
00083   }
00084 
00085   static const char* value(const  ::arm_navigation_msgs::CollisionObjectOperation_<ContainerAllocator> &) { return value(); } 
00086 };
00087 
00088 template<class ContainerAllocator>
00089 struct Definition< ::arm_navigation_msgs::CollisionObjectOperation_<ContainerAllocator> > {
00090   static const char* value() 
00091   {
00092     return "#Puts the object into the environment\n\
00093 #or updates the object if already added\n\
00094 byte ADD=0\n\
00095 \n\
00096 #Removes the object from the environment entirely\n\
00097 byte REMOVE=1\n\
00098 \n\
00099 #Only valid within the context of a CollisionAttachedObject message\n\
00100 #Will be ignored if sent with an CollisionObject message\n\
00101 #Takes an attached object, detaches from the attached link\n\
00102 #But adds back in as regular object\n\
00103 byte DETACH_AND_ADD_AS_OBJECT=2\n\
00104 \n\
00105 #Only valid within the context of a CollisionAttachedObject message\n\
00106 #Will be ignored if sent with an CollisionObject message\n\
00107 #Takes current object in the environment and removes it as\n\
00108 #a regular object\n\
00109 byte ATTACH_AND_REMOVE_AS_OBJECT=3\n\
00110 \n\
00111 # Byte code for operation\n\
00112 byte operation\n\
00113 \n\
00114 ";
00115   }
00116 
00117   static const char* value(const  ::arm_navigation_msgs::CollisionObjectOperation_<ContainerAllocator> &) { return value(); } 
00118 };
00119 
00120 template<class ContainerAllocator> struct IsFixedSize< ::arm_navigation_msgs::CollisionObjectOperation_<ContainerAllocator> > : public TrueType {};
00121 } // namespace message_traits
00122 } // namespace ros
00123 
00124 namespace ros
00125 {
00126 namespace serialization
00127 {
00128 
00129 template<class ContainerAllocator> struct Serializer< ::arm_navigation_msgs::CollisionObjectOperation_<ContainerAllocator> >
00130 {
00131   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00132   {
00133     stream.next(m.operation);
00134   }
00135 
00136   ROS_DECLARE_ALLINONE_SERIALIZER;
00137 }; // struct CollisionObjectOperation_
00138 } // namespace serialization
00139 } // namespace ros
00140 
00141 namespace ros
00142 {
00143 namespace message_operations
00144 {
00145 
00146 template<class ContainerAllocator>
00147 struct Printer< ::arm_navigation_msgs::CollisionObjectOperation_<ContainerAllocator> >
00148 {
00149   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::arm_navigation_msgs::CollisionObjectOperation_<ContainerAllocator> & v) 
00150   {
00151     s << indent << "operation: ";
00152     Printer<int8_t>::stream(s, indent + "  ", v.operation);
00153   }
00154 };
00155 
00156 
00157 } // namespace message_operations
00158 } // namespace ros
00159 
00160 #endif // ARM_NAVIGATION_MSGS_MESSAGE_COLLISIONOBJECTOPERATION_H
00161 


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