00001
00002 #ifndef INTERVAL_INTERSECTION_MESSAGE_CONFIGGOAL_H
00003 #define INTERVAL_INTERSECTION_MESSAGE_CONFIGGOAL_H
00004 #include <string>
00005 #include <vector>
00006 #include <ostream>
00007 #include "ros/serialization.h"
00008 #include "ros/builtin_message_traits.h"
00009 #include "ros/message_operations.h"
00010 #include "ros/message.h"
00011 #include "ros/time.h"
00012
00013
00014 namespace interval_intersection
00015 {
00016 template <class ContainerAllocator>
00017 struct ConfigGoal_ : public ros::Message
00018 {
00019 typedef ConfigGoal_<ContainerAllocator> Type;
00020
00021 ConfigGoal_()
00022 : topics()
00023 {
00024 }
00025
00026 ConfigGoal_(const ContainerAllocator& _alloc)
00027 : topics(_alloc)
00028 {
00029 }
00030
00031 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 > _topics_type;
00032 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 > topics;
00033
00034
00035 ROS_DEPRECATED uint32_t get_topics_size() const { return (uint32_t)topics.size(); }
00036 ROS_DEPRECATED void set_topics_size(uint32_t size) { topics.resize((size_t)size); }
00037 ROS_DEPRECATED void get_topics_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->topics; }
00038 ROS_DEPRECATED void set_topics_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->topics = vec; }
00039 private:
00040 static const char* __s_getDataType_() { return "interval_intersection/ConfigGoal"; }
00041 public:
00042 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00043
00044 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00045
00046 private:
00047 static const char* __s_getMD5Sum_() { return "b0eef9a05d4e829092fc2f2c3c2aad3d"; }
00048 public:
00049 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00050
00051 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00052
00053 private:
00054 static const char* __s_getMessageDefinition_() { return "string[] topics\n\
00055 \n\
00056 "; }
00057 public:
00058 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00059
00060 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00061
00062 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00063 {
00064 ros::serialization::OStream stream(write_ptr, 1000000000);
00065 ros::serialization::serialize(stream, topics);
00066 return stream.getData();
00067 }
00068
00069 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00070 {
00071 ros::serialization::IStream stream(read_ptr, 1000000000);
00072 ros::serialization::deserialize(stream, topics);
00073 return stream.getData();
00074 }
00075
00076 ROS_DEPRECATED virtual uint32_t serializationLength() const
00077 {
00078 uint32_t size = 0;
00079 size += ros::serialization::serializationLength(topics);
00080 return size;
00081 }
00082
00083 typedef boost::shared_ptr< ::interval_intersection::ConfigGoal_<ContainerAllocator> > Ptr;
00084 typedef boost::shared_ptr< ::interval_intersection::ConfigGoal_<ContainerAllocator> const> ConstPtr;
00085 };
00086 typedef ::interval_intersection::ConfigGoal_<std::allocator<void> > ConfigGoal;
00087
00088 typedef boost::shared_ptr< ::interval_intersection::ConfigGoal> ConfigGoalPtr;
00089 typedef boost::shared_ptr< ::interval_intersection::ConfigGoal const> ConfigGoalConstPtr;
00090
00091
00092 template<typename ContainerAllocator>
00093 std::ostream& operator<<(std::ostream& s, const ::interval_intersection::ConfigGoal_<ContainerAllocator> & v)
00094 {
00095 ros::message_operations::Printer< ::interval_intersection::ConfigGoal_<ContainerAllocator> >::stream(s, "", v);
00096 return s;}
00097
00098 }
00099
00100 namespace ros
00101 {
00102 namespace message_traits
00103 {
00104 template<class ContainerAllocator>
00105 struct MD5Sum< ::interval_intersection::ConfigGoal_<ContainerAllocator> > {
00106 static const char* value()
00107 {
00108 return "b0eef9a05d4e829092fc2f2c3c2aad3d";
00109 }
00110
00111 static const char* value(const ::interval_intersection::ConfigGoal_<ContainerAllocator> &) { return value(); }
00112 static const uint64_t static_value1 = 0xb0eef9a05d4e8290ULL;
00113 static const uint64_t static_value2 = 0x92fc2f2c3c2aad3dULL;
00114 };
00115
00116 template<class ContainerAllocator>
00117 struct DataType< ::interval_intersection::ConfigGoal_<ContainerAllocator> > {
00118 static const char* value()
00119 {
00120 return "interval_intersection/ConfigGoal";
00121 }
00122
00123 static const char* value(const ::interval_intersection::ConfigGoal_<ContainerAllocator> &) { return value(); }
00124 };
00125
00126 template<class ContainerAllocator>
00127 struct Definition< ::interval_intersection::ConfigGoal_<ContainerAllocator> > {
00128 static const char* value()
00129 {
00130 return "string[] topics\n\
00131 \n\
00132 ";
00133 }
00134
00135 static const char* value(const ::interval_intersection::ConfigGoal_<ContainerAllocator> &) { return value(); }
00136 };
00137
00138 }
00139 }
00140
00141 namespace ros
00142 {
00143 namespace serialization
00144 {
00145
00146 template<class ContainerAllocator> struct Serializer< ::interval_intersection::ConfigGoal_<ContainerAllocator> >
00147 {
00148 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00149 {
00150 stream.next(m.topics);
00151 }
00152
00153 ROS_DECLARE_ALLINONE_SERIALIZER;
00154 };
00155 }
00156 }
00157
00158 namespace ros
00159 {
00160 namespace message_operations
00161 {
00162
00163 template<class ContainerAllocator>
00164 struct Printer< ::interval_intersection::ConfigGoal_<ContainerAllocator> >
00165 {
00166 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::interval_intersection::ConfigGoal_<ContainerAllocator> & v)
00167 {
00168 s << indent << "topics[]" << std::endl;
00169 for (size_t i = 0; i < v.topics.size(); ++i)
00170 {
00171 s << indent << " topics[" << i << "]: ";
00172 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.topics[i]);
00173 }
00174 }
00175 };
00176
00177
00178 }
00179 }
00180
00181 #endif // INTERVAL_INTERSECTION_MESSAGE_CONFIGGOAL_H
00182