$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-arm_navigation/doc_stacks/2013-03-01_14-05-03.553953/arm_navigation/arm_navigation_msgs/msg/MakeStaticCollisionMapGoal.msg */ 00002 #ifndef ARM_NAVIGATION_MSGS_MESSAGE_MAKESTATICCOLLISIONMAPGOAL_H 00003 #define ARM_NAVIGATION_MSGS_MESSAGE_MAKESTATICCOLLISIONMAPGOAL_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 MakeStaticCollisionMapGoal_ { 00022 typedef MakeStaticCollisionMapGoal_<ContainerAllocator> Type; 00023 00024 MakeStaticCollisionMapGoal_() 00025 : cloud_source() 00026 , number_of_clouds(0) 00027 { 00028 } 00029 00030 MakeStaticCollisionMapGoal_(const ContainerAllocator& _alloc) 00031 : cloud_source(_alloc) 00032 , number_of_clouds(0) 00033 { 00034 } 00035 00036 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _cloud_source_type; 00037 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > cloud_source; 00038 00039 typedef int32_t _number_of_clouds_type; 00040 int32_t number_of_clouds; 00041 00042 00043 private: 00044 static const char* __s_getDataType_() { return "arm_navigation_msgs/MakeStaticCollisionMapGoal"; } 00045 public: 00046 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00047 00048 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00049 00050 private: 00051 static const char* __s_getMD5Sum_() { return "43564281ea7e3c1ca0f01095edc909f7"; } 00052 public: 00053 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00054 00055 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00056 00057 private: 00058 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00059 #The source to use to make the stable map\n\ 00060 string cloud_source\n\ 00061 \n\ 00062 #The number of clouds to compose the stable map\n\ 00063 int32 number_of_clouds\n\ 00064 \n\ 00065 "; } 00066 public: 00067 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00068 00069 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00070 00071 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00072 { 00073 ros::serialization::OStream stream(write_ptr, 1000000000); 00074 ros::serialization::serialize(stream, cloud_source); 00075 ros::serialization::serialize(stream, number_of_clouds); 00076 return stream.getData(); 00077 } 00078 00079 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00080 { 00081 ros::serialization::IStream stream(read_ptr, 1000000000); 00082 ros::serialization::deserialize(stream, cloud_source); 00083 ros::serialization::deserialize(stream, number_of_clouds); 00084 return stream.getData(); 00085 } 00086 00087 ROS_DEPRECATED virtual uint32_t serializationLength() const 00088 { 00089 uint32_t size = 0; 00090 size += ros::serialization::serializationLength(cloud_source); 00091 size += ros::serialization::serializationLength(number_of_clouds); 00092 return size; 00093 } 00094 00095 typedef boost::shared_ptr< ::arm_navigation_msgs::MakeStaticCollisionMapGoal_<ContainerAllocator> > Ptr; 00096 typedef boost::shared_ptr< ::arm_navigation_msgs::MakeStaticCollisionMapGoal_<ContainerAllocator> const> ConstPtr; 00097 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00098 }; // struct MakeStaticCollisionMapGoal 00099 typedef ::arm_navigation_msgs::MakeStaticCollisionMapGoal_<std::allocator<void> > MakeStaticCollisionMapGoal; 00100 00101 typedef boost::shared_ptr< ::arm_navigation_msgs::MakeStaticCollisionMapGoal> MakeStaticCollisionMapGoalPtr; 00102 typedef boost::shared_ptr< ::arm_navigation_msgs::MakeStaticCollisionMapGoal const> MakeStaticCollisionMapGoalConstPtr; 00103 00104 00105 template<typename ContainerAllocator> 00106 std::ostream& operator<<(std::ostream& s, const ::arm_navigation_msgs::MakeStaticCollisionMapGoal_<ContainerAllocator> & v) 00107 { 00108 ros::message_operations::Printer< ::arm_navigation_msgs::MakeStaticCollisionMapGoal_<ContainerAllocator> >::stream(s, "", v); 00109 return s;} 00110 00111 } // namespace arm_navigation_msgs 00112 00113 namespace ros 00114 { 00115 namespace message_traits 00116 { 00117 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::MakeStaticCollisionMapGoal_<ContainerAllocator> > : public TrueType {}; 00118 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::MakeStaticCollisionMapGoal_<ContainerAllocator> const> : public TrueType {}; 00119 template<class ContainerAllocator> 00120 struct MD5Sum< ::arm_navigation_msgs::MakeStaticCollisionMapGoal_<ContainerAllocator> > { 00121 static const char* value() 00122 { 00123 return "43564281ea7e3c1ca0f01095edc909f7"; 00124 } 00125 00126 static const char* value(const ::arm_navigation_msgs::MakeStaticCollisionMapGoal_<ContainerAllocator> &) { return value(); } 00127 static const uint64_t static_value1 = 0x43564281ea7e3c1cULL; 00128 static const uint64_t static_value2 = 0xa0f01095edc909f7ULL; 00129 }; 00130 00131 template<class ContainerAllocator> 00132 struct DataType< ::arm_navigation_msgs::MakeStaticCollisionMapGoal_<ContainerAllocator> > { 00133 static const char* value() 00134 { 00135 return "arm_navigation_msgs/MakeStaticCollisionMapGoal"; 00136 } 00137 00138 static const char* value(const ::arm_navigation_msgs::MakeStaticCollisionMapGoal_<ContainerAllocator> &) { return value(); } 00139 }; 00140 00141 template<class ContainerAllocator> 00142 struct Definition< ::arm_navigation_msgs::MakeStaticCollisionMapGoal_<ContainerAllocator> > { 00143 static const char* value() 00144 { 00145 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00146 #The source to use to make the stable map\n\ 00147 string cloud_source\n\ 00148 \n\ 00149 #The number of clouds to compose the stable map\n\ 00150 int32 number_of_clouds\n\ 00151 \n\ 00152 "; 00153 } 00154 00155 static const char* value(const ::arm_navigation_msgs::MakeStaticCollisionMapGoal_<ContainerAllocator> &) { return value(); } 00156 }; 00157 00158 } // namespace message_traits 00159 } // namespace ros 00160 00161 namespace ros 00162 { 00163 namespace serialization 00164 { 00165 00166 template<class ContainerAllocator> struct Serializer< ::arm_navigation_msgs::MakeStaticCollisionMapGoal_<ContainerAllocator> > 00167 { 00168 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00169 { 00170 stream.next(m.cloud_source); 00171 stream.next(m.number_of_clouds); 00172 } 00173 00174 ROS_DECLARE_ALLINONE_SERIALIZER; 00175 }; // struct MakeStaticCollisionMapGoal_ 00176 } // namespace serialization 00177 } // namespace ros 00178 00179 namespace ros 00180 { 00181 namespace message_operations 00182 { 00183 00184 template<class ContainerAllocator> 00185 struct Printer< ::arm_navigation_msgs::MakeStaticCollisionMapGoal_<ContainerAllocator> > 00186 { 00187 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::arm_navigation_msgs::MakeStaticCollisionMapGoal_<ContainerAllocator> & v) 00188 { 00189 s << indent << "cloud_source: "; 00190 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.cloud_source); 00191 s << indent << "number_of_clouds: "; 00192 Printer<int32_t>::stream(s, indent + " ", v.number_of_clouds); 00193 } 00194 }; 00195 00196 00197 } // namespace message_operations 00198 } // namespace ros 00199 00200 #endif // ARM_NAVIGATION_MSGS_MESSAGE_MAKESTATICCOLLISIONMAPGOAL_H 00201