$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-turtlebot_apps/doc_stacks/2013-03-02_13-58-38.768531/turtlebot_apps/turtlebot_actions/msg/ActionMsgMapperGoal.msg */ 00002 #ifndef TURTLEBOT_ACTIONS_MESSAGE_ACTIONMSGMAPPERGOAL_H 00003 #define TURTLEBOT_ACTIONS_MESSAGE_ACTIONMSGMAPPERGOAL_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 turtlebot_actions 00019 { 00020 template <class ContainerAllocator> 00021 struct ActionMsgMapperGoal_ { 00022 typedef ActionMsgMapperGoal_<ContainerAllocator> Type; 00023 00024 ActionMsgMapperGoal_() 00025 : input_topic() 00026 , output_topic() 00027 , input_type() 00028 , output_type() 00029 , input_list() 00030 , output_list() 00031 { 00032 } 00033 00034 ActionMsgMapperGoal_(const ContainerAllocator& _alloc) 00035 : input_topic(_alloc) 00036 , output_topic(_alloc) 00037 , input_type(_alloc) 00038 , output_type(_alloc) 00039 , input_list(_alloc) 00040 , output_list(_alloc) 00041 { 00042 } 00043 00044 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _input_topic_type; 00045 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > input_topic; 00046 00047 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _output_topic_type; 00048 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > output_topic; 00049 00050 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _input_type_type; 00051 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > input_type; 00052 00053 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _output_type_type; 00054 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > output_type; 00055 00056 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 > _input_list_type; 00057 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 > input_list; 00058 00059 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 > _output_list_type; 00060 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 > output_list; 00061 00062 00063 ROS_DEPRECATED uint32_t get_input_list_size() const { return (uint32_t)input_list.size(); } 00064 ROS_DEPRECATED void set_input_list_size(uint32_t size) { input_list.resize((size_t)size); } 00065 ROS_DEPRECATED void get_input_list_vec(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 > & vec) const { vec = this->input_list; } 00066 ROS_DEPRECATED void set_input_list_vec(const 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 > & vec) { this->input_list = vec; } 00067 ROS_DEPRECATED uint32_t get_output_list_size() const { return (uint32_t)output_list.size(); } 00068 ROS_DEPRECATED void set_output_list_size(uint32_t size) { output_list.resize((size_t)size); } 00069 ROS_DEPRECATED void get_output_list_vec(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 > & vec) const { vec = this->output_list; } 00070 ROS_DEPRECATED void set_output_list_vec(const 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 > & vec) { this->output_list = vec; } 00071 private: 00072 static const char* __s_getDataType_() { return "turtlebot_actions/ActionMsgMapperGoal"; } 00073 public: 00074 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00075 00076 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00077 00078 private: 00079 static const char* __s_getMD5Sum_() { return "9c97ba579bcd822e978741dfc338d44b"; } 00080 public: 00081 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00082 00083 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00084 00085 private: 00086 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00087 #goal definition\n\ 00088 string input_topic \n\ 00089 string output_topic \n\ 00090 string input_type \n\ 00091 string output_type \n\ 00092 string[] input_list\n\ 00093 string[] output_list\n\ 00094 \n\ 00095 \n\ 00096 \n\ 00097 "; } 00098 public: 00099 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00100 00101 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00102 00103 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00104 { 00105 ros::serialization::OStream stream(write_ptr, 1000000000); 00106 ros::serialization::serialize(stream, input_topic); 00107 ros::serialization::serialize(stream, output_topic); 00108 ros::serialization::serialize(stream, input_type); 00109 ros::serialization::serialize(stream, output_type); 00110 ros::serialization::serialize(stream, input_list); 00111 ros::serialization::serialize(stream, output_list); 00112 return stream.getData(); 00113 } 00114 00115 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00116 { 00117 ros::serialization::IStream stream(read_ptr, 1000000000); 00118 ros::serialization::deserialize(stream, input_topic); 00119 ros::serialization::deserialize(stream, output_topic); 00120 ros::serialization::deserialize(stream, input_type); 00121 ros::serialization::deserialize(stream, output_type); 00122 ros::serialization::deserialize(stream, input_list); 00123 ros::serialization::deserialize(stream, output_list); 00124 return stream.getData(); 00125 } 00126 00127 ROS_DEPRECATED virtual uint32_t serializationLength() const 00128 { 00129 uint32_t size = 0; 00130 size += ros::serialization::serializationLength(input_topic); 00131 size += ros::serialization::serializationLength(output_topic); 00132 size += ros::serialization::serializationLength(input_type); 00133 size += ros::serialization::serializationLength(output_type); 00134 size += ros::serialization::serializationLength(input_list); 00135 size += ros::serialization::serializationLength(output_list); 00136 return size; 00137 } 00138 00139 typedef boost::shared_ptr< ::turtlebot_actions::ActionMsgMapperGoal_<ContainerAllocator> > Ptr; 00140 typedef boost::shared_ptr< ::turtlebot_actions::ActionMsgMapperGoal_<ContainerAllocator> const> ConstPtr; 00141 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00142 }; // struct ActionMsgMapperGoal 00143 typedef ::turtlebot_actions::ActionMsgMapperGoal_<std::allocator<void> > ActionMsgMapperGoal; 00144 00145 typedef boost::shared_ptr< ::turtlebot_actions::ActionMsgMapperGoal> ActionMsgMapperGoalPtr; 00146 typedef boost::shared_ptr< ::turtlebot_actions::ActionMsgMapperGoal const> ActionMsgMapperGoalConstPtr; 00147 00148 00149 template<typename ContainerAllocator> 00150 std::ostream& operator<<(std::ostream& s, const ::turtlebot_actions::ActionMsgMapperGoal_<ContainerAllocator> & v) 00151 { 00152 ros::message_operations::Printer< ::turtlebot_actions::ActionMsgMapperGoal_<ContainerAllocator> >::stream(s, "", v); 00153 return s;} 00154 00155 } // namespace turtlebot_actions 00156 00157 namespace ros 00158 { 00159 namespace message_traits 00160 { 00161 template<class ContainerAllocator> struct IsMessage< ::turtlebot_actions::ActionMsgMapperGoal_<ContainerAllocator> > : public TrueType {}; 00162 template<class ContainerAllocator> struct IsMessage< ::turtlebot_actions::ActionMsgMapperGoal_<ContainerAllocator> const> : public TrueType {}; 00163 template<class ContainerAllocator> 00164 struct MD5Sum< ::turtlebot_actions::ActionMsgMapperGoal_<ContainerAllocator> > { 00165 static const char* value() 00166 { 00167 return "9c97ba579bcd822e978741dfc338d44b"; 00168 } 00169 00170 static const char* value(const ::turtlebot_actions::ActionMsgMapperGoal_<ContainerAllocator> &) { return value(); } 00171 static const uint64_t static_value1 = 0x9c97ba579bcd822eULL; 00172 static const uint64_t static_value2 = 0x978741dfc338d44bULL; 00173 }; 00174 00175 template<class ContainerAllocator> 00176 struct DataType< ::turtlebot_actions::ActionMsgMapperGoal_<ContainerAllocator> > { 00177 static const char* value() 00178 { 00179 return "turtlebot_actions/ActionMsgMapperGoal"; 00180 } 00181 00182 static const char* value(const ::turtlebot_actions::ActionMsgMapperGoal_<ContainerAllocator> &) { return value(); } 00183 }; 00184 00185 template<class ContainerAllocator> 00186 struct Definition< ::turtlebot_actions::ActionMsgMapperGoal_<ContainerAllocator> > { 00187 static const char* value() 00188 { 00189 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00190 #goal definition\n\ 00191 string input_topic \n\ 00192 string output_topic \n\ 00193 string input_type \n\ 00194 string output_type \n\ 00195 string[] input_list\n\ 00196 string[] output_list\n\ 00197 \n\ 00198 \n\ 00199 \n\ 00200 "; 00201 } 00202 00203 static const char* value(const ::turtlebot_actions::ActionMsgMapperGoal_<ContainerAllocator> &) { return value(); } 00204 }; 00205 00206 } // namespace message_traits 00207 } // namespace ros 00208 00209 namespace ros 00210 { 00211 namespace serialization 00212 { 00213 00214 template<class ContainerAllocator> struct Serializer< ::turtlebot_actions::ActionMsgMapperGoal_<ContainerAllocator> > 00215 { 00216 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00217 { 00218 stream.next(m.input_topic); 00219 stream.next(m.output_topic); 00220 stream.next(m.input_type); 00221 stream.next(m.output_type); 00222 stream.next(m.input_list); 00223 stream.next(m.output_list); 00224 } 00225 00226 ROS_DECLARE_ALLINONE_SERIALIZER; 00227 }; // struct ActionMsgMapperGoal_ 00228 } // namespace serialization 00229 } // namespace ros 00230 00231 namespace ros 00232 { 00233 namespace message_operations 00234 { 00235 00236 template<class ContainerAllocator> 00237 struct Printer< ::turtlebot_actions::ActionMsgMapperGoal_<ContainerAllocator> > 00238 { 00239 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::turtlebot_actions::ActionMsgMapperGoal_<ContainerAllocator> & v) 00240 { 00241 s << indent << "input_topic: "; 00242 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.input_topic); 00243 s << indent << "output_topic: "; 00244 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.output_topic); 00245 s << indent << "input_type: "; 00246 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.input_type); 00247 s << indent << "output_type: "; 00248 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.output_type); 00249 s << indent << "input_list[]" << std::endl; 00250 for (size_t i = 0; i < v.input_list.size(); ++i) 00251 { 00252 s << indent << " input_list[" << i << "]: "; 00253 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.input_list[i]); 00254 } 00255 s << indent << "output_list[]" << std::endl; 00256 for (size_t i = 0; i < v.output_list.size(); ++i) 00257 { 00258 s << indent << " output_list[" << i << "]: "; 00259 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.output_list[i]); 00260 } 00261 } 00262 }; 00263 00264 00265 } // namespace message_operations 00266 } // namespace ros 00267 00268 #endif // TURTLEBOT_ACTIONS_MESSAGE_ACTIONMSGMAPPERGOAL_H 00269