Go to the documentation of this file.00001
00002 #ifndef TIBI_DABO_MSGS_MESSAGE_GUIGOAL_H
00003 #define TIBI_DABO_MSGS_MESSAGE_GUIGOAL_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 tibi_dabo_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct guiGoal_ {
00022 typedef guiGoal_<ContainerAllocator> Type;
00023
00024 guiGoal_()
00025 : cmd_id(0)
00026 , num_params()
00027 , string_params()
00028 {
00029 }
00030
00031 guiGoal_(const ContainerAllocator& _alloc)
00032 : cmd_id(0)
00033 , num_params(_alloc)
00034 , string_params(_alloc)
00035 {
00036 }
00037
00038 typedef int32_t _cmd_id_type;
00039 int32_t cmd_id;
00040
00041 typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other > _num_params_type;
00042 std::vector<double, typename ContainerAllocator::template rebind<double>::other > num_params;
00043
00044 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 > _string_params_type;
00045 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 > string_params;
00046
00047
00048 typedef boost::shared_ptr< ::tibi_dabo_msgs::guiGoal_<ContainerAllocator> > Ptr;
00049 typedef boost::shared_ptr< ::tibi_dabo_msgs::guiGoal_<ContainerAllocator> const> ConstPtr;
00050 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 };
00052 typedef ::tibi_dabo_msgs::guiGoal_<std::allocator<void> > guiGoal;
00053
00054 typedef boost::shared_ptr< ::tibi_dabo_msgs::guiGoal> guiGoalPtr;
00055 typedef boost::shared_ptr< ::tibi_dabo_msgs::guiGoal const> guiGoalConstPtr;
00056
00057
00058 template<typename ContainerAllocator>
00059 std::ostream& operator<<(std::ostream& s, const ::tibi_dabo_msgs::guiGoal_<ContainerAllocator> & v)
00060 {
00061 ros::message_operations::Printer< ::tibi_dabo_msgs::guiGoal_<ContainerAllocator> >::stream(s, "", v);
00062 return s;}
00063
00064 }
00065
00066 namespace ros
00067 {
00068 namespace message_traits
00069 {
00070 template<class ContainerAllocator> struct IsMessage< ::tibi_dabo_msgs::guiGoal_<ContainerAllocator> > : public TrueType {};
00071 template<class ContainerAllocator> struct IsMessage< ::tibi_dabo_msgs::guiGoal_<ContainerAllocator> const> : public TrueType {};
00072 template<class ContainerAllocator>
00073 struct MD5Sum< ::tibi_dabo_msgs::guiGoal_<ContainerAllocator> > {
00074 static const char* value()
00075 {
00076 return "a03dac294464868ec258d52997d3f312";
00077 }
00078
00079 static const char* value(const ::tibi_dabo_msgs::guiGoal_<ContainerAllocator> &) { return value(); }
00080 static const uint64_t static_value1 = 0xa03dac294464868eULL;
00081 static const uint64_t static_value2 = 0xc258d52997d3f312ULL;
00082 };
00083
00084 template<class ContainerAllocator>
00085 struct DataType< ::tibi_dabo_msgs::guiGoal_<ContainerAllocator> > {
00086 static const char* value()
00087 {
00088 return "tibi_dabo_msgs/guiGoal";
00089 }
00090
00091 static const char* value(const ::tibi_dabo_msgs::guiGoal_<ContainerAllocator> &) { return value(); }
00092 };
00093
00094 template<class ContainerAllocator>
00095 struct Definition< ::tibi_dabo_msgs::guiGoal_<ContainerAllocator> > {
00096 static const char* value()
00097 {
00098 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00099 #goal definition\n\
00100 int32 cmd_id \n\
00101 float64[] num_params\n\
00102 string[] string_params\n\
00103 \n\
00104 ";
00105 }
00106
00107 static const char* value(const ::tibi_dabo_msgs::guiGoal_<ContainerAllocator> &) { return value(); }
00108 };
00109
00110 }
00111 }
00112
00113 namespace ros
00114 {
00115 namespace serialization
00116 {
00117
00118 template<class ContainerAllocator> struct Serializer< ::tibi_dabo_msgs::guiGoal_<ContainerAllocator> >
00119 {
00120 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00121 {
00122 stream.next(m.cmd_id);
00123 stream.next(m.num_params);
00124 stream.next(m.string_params);
00125 }
00126
00127 ROS_DECLARE_ALLINONE_SERIALIZER;
00128 };
00129 }
00130 }
00131
00132 namespace ros
00133 {
00134 namespace message_operations
00135 {
00136
00137 template<class ContainerAllocator>
00138 struct Printer< ::tibi_dabo_msgs::guiGoal_<ContainerAllocator> >
00139 {
00140 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::tibi_dabo_msgs::guiGoal_<ContainerAllocator> & v)
00141 {
00142 s << indent << "cmd_id: ";
00143 Printer<int32_t>::stream(s, indent + " ", v.cmd_id);
00144 s << indent << "num_params[]" << std::endl;
00145 for (size_t i = 0; i < v.num_params.size(); ++i)
00146 {
00147 s << indent << " num_params[" << i << "]: ";
00148 Printer<double>::stream(s, indent + " ", v.num_params[i]);
00149 }
00150 s << indent << "string_params[]" << std::endl;
00151 for (size_t i = 0; i < v.string_params.size(); ++i)
00152 {
00153 s << indent << " string_params[" << i << "]: ";
00154 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.string_params[i]);
00155 }
00156 }
00157 };
00158
00159
00160 }
00161 }
00162
00163 #endif // TIBI_DABO_MSGS_MESSAGE_GUIGOAL_H
00164