00001
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 typedef boost::shared_ptr< ::turtlebot_actions::ActionMsgMapperGoal_<ContainerAllocator> > Ptr;
00064 typedef boost::shared_ptr< ::turtlebot_actions::ActionMsgMapperGoal_<ContainerAllocator> const> ConstPtr;
00065 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00066 };
00067 typedef ::turtlebot_actions::ActionMsgMapperGoal_<std::allocator<void> > ActionMsgMapperGoal;
00068
00069 typedef boost::shared_ptr< ::turtlebot_actions::ActionMsgMapperGoal> ActionMsgMapperGoalPtr;
00070 typedef boost::shared_ptr< ::turtlebot_actions::ActionMsgMapperGoal const> ActionMsgMapperGoalConstPtr;
00071
00072
00073 template<typename ContainerAllocator>
00074 std::ostream& operator<<(std::ostream& s, const ::turtlebot_actions::ActionMsgMapperGoal_<ContainerAllocator> & v)
00075 {
00076 ros::message_operations::Printer< ::turtlebot_actions::ActionMsgMapperGoal_<ContainerAllocator> >::stream(s, "", v);
00077 return s;}
00078
00079 }
00080
00081 namespace ros
00082 {
00083 namespace message_traits
00084 {
00085 template<class ContainerAllocator> struct IsMessage< ::turtlebot_actions::ActionMsgMapperGoal_<ContainerAllocator> > : public TrueType {};
00086 template<class ContainerAllocator> struct IsMessage< ::turtlebot_actions::ActionMsgMapperGoal_<ContainerAllocator> const> : public TrueType {};
00087 template<class ContainerAllocator>
00088 struct MD5Sum< ::turtlebot_actions::ActionMsgMapperGoal_<ContainerAllocator> > {
00089 static const char* value()
00090 {
00091 return "9c97ba579bcd822e978741dfc338d44b";
00092 }
00093
00094 static const char* value(const ::turtlebot_actions::ActionMsgMapperGoal_<ContainerAllocator> &) { return value(); }
00095 static const uint64_t static_value1 = 0x9c97ba579bcd822eULL;
00096 static const uint64_t static_value2 = 0x978741dfc338d44bULL;
00097 };
00098
00099 template<class ContainerAllocator>
00100 struct DataType< ::turtlebot_actions::ActionMsgMapperGoal_<ContainerAllocator> > {
00101 static const char* value()
00102 {
00103 return "turtlebot_actions/ActionMsgMapperGoal";
00104 }
00105
00106 static const char* value(const ::turtlebot_actions::ActionMsgMapperGoal_<ContainerAllocator> &) { return value(); }
00107 };
00108
00109 template<class ContainerAllocator>
00110 struct Definition< ::turtlebot_actions::ActionMsgMapperGoal_<ContainerAllocator> > {
00111 static const char* value()
00112 {
00113 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00114 #goal definition\n\
00115 string input_topic \n\
00116 string output_topic \n\
00117 string input_type \n\
00118 string output_type \n\
00119 string[] input_list\n\
00120 string[] output_list\n\
00121 \n\
00122 \n\
00123 \n\
00124 ";
00125 }
00126
00127 static const char* value(const ::turtlebot_actions::ActionMsgMapperGoal_<ContainerAllocator> &) { return value(); }
00128 };
00129
00130 }
00131 }
00132
00133 namespace ros
00134 {
00135 namespace serialization
00136 {
00137
00138 template<class ContainerAllocator> struct Serializer< ::turtlebot_actions::ActionMsgMapperGoal_<ContainerAllocator> >
00139 {
00140 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00141 {
00142 stream.next(m.input_topic);
00143 stream.next(m.output_topic);
00144 stream.next(m.input_type);
00145 stream.next(m.output_type);
00146 stream.next(m.input_list);
00147 stream.next(m.output_list);
00148 }
00149
00150 ROS_DECLARE_ALLINONE_SERIALIZER;
00151 };
00152 }
00153 }
00154
00155 namespace ros
00156 {
00157 namespace message_operations
00158 {
00159
00160 template<class ContainerAllocator>
00161 struct Printer< ::turtlebot_actions::ActionMsgMapperGoal_<ContainerAllocator> >
00162 {
00163 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::turtlebot_actions::ActionMsgMapperGoal_<ContainerAllocator> & v)
00164 {
00165 s << indent << "input_topic: ";
00166 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.input_topic);
00167 s << indent << "output_topic: ";
00168 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.output_topic);
00169 s << indent << "input_type: ";
00170 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.input_type);
00171 s << indent << "output_type: ";
00172 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.output_type);
00173 s << indent << "input_list[]" << std::endl;
00174 for (size_t i = 0; i < v.input_list.size(); ++i)
00175 {
00176 s << indent << " input_list[" << i << "]: ";
00177 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.input_list[i]);
00178 }
00179 s << indent << "output_list[]" << std::endl;
00180 for (size_t i = 0; i < v.output_list.size(); ++i)
00181 {
00182 s << indent << " output_list[" << i << "]: ";
00183 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.output_list[i]);
00184 }
00185 }
00186 };
00187
00188
00189 }
00190 }
00191
00192 #endif // TURTLEBOT_ACTIONS_MESSAGE_ACTIONMSGMAPPERGOAL_H
00193