00001
00002 #ifndef RVE_MSGS_MESSAGE_PROPERTY_H
00003 #define RVE_MSGS_MESSAGE_PROPERTY_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 rve_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct Property_ {
00022 typedef Property_<ContainerAllocator> Type;
00023
00024 Property_()
00025 : name()
00026 , type()
00027 , semantic()
00028 , value()
00029 , ui_name()
00030 , ui_parameters()
00031 {
00032 }
00033
00034 Property_(const ContainerAllocator& _alloc)
00035 : name(_alloc)
00036 , type(_alloc)
00037 , semantic(_alloc)
00038 , value(_alloc)
00039 , ui_name(_alloc)
00040 , ui_parameters(_alloc)
00041 {
00042 }
00043
00044 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _name_type;
00045 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > name;
00046
00047 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _type_type;
00048 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > type;
00049
00050 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _semantic_type;
00051 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > semantic;
00052
00053 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _value_type;
00054 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > value;
00055
00056 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _ui_name_type;
00057 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > ui_name;
00058
00059 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _ui_parameters_type;
00060 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > ui_parameters;
00061
00062
00063 typedef boost::shared_ptr< ::rve_msgs::Property_<ContainerAllocator> > Ptr;
00064 typedef boost::shared_ptr< ::rve_msgs::Property_<ContainerAllocator> const> ConstPtr;
00065 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00066 };
00067 typedef ::rve_msgs::Property_<std::allocator<void> > Property;
00068
00069 typedef boost::shared_ptr< ::rve_msgs::Property> PropertyPtr;
00070 typedef boost::shared_ptr< ::rve_msgs::Property const> PropertyConstPtr;
00071
00072
00073 template<typename ContainerAllocator>
00074 std::ostream& operator<<(std::ostream& s, const ::rve_msgs::Property_<ContainerAllocator> & v)
00075 {
00076 ros::message_operations::Printer< ::rve_msgs::Property_<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< ::rve_msgs::Property_<ContainerAllocator> > : public TrueType {};
00086 template<class ContainerAllocator> struct IsMessage< ::rve_msgs::Property_<ContainerAllocator> const> : public TrueType {};
00087 template<class ContainerAllocator>
00088 struct MD5Sum< ::rve_msgs::Property_<ContainerAllocator> > {
00089 static const char* value()
00090 {
00091 return "a946b75f725c6f9d3eb98f49779fb3b9";
00092 }
00093
00094 static const char* value(const ::rve_msgs::Property_<ContainerAllocator> &) { return value(); }
00095 static const uint64_t static_value1 = 0xa946b75f725c6f9dULL;
00096 static const uint64_t static_value2 = 0x3eb98f49779fb3b9ULL;
00097 };
00098
00099 template<class ContainerAllocator>
00100 struct DataType< ::rve_msgs::Property_<ContainerAllocator> > {
00101 static const char* value()
00102 {
00103 return "rve_msgs/Property";
00104 }
00105
00106 static const char* value(const ::rve_msgs::Property_<ContainerAllocator> &) { return value(); }
00107 };
00108
00109 template<class ContainerAllocator>
00110 struct Definition< ::rve_msgs::Property_<ContainerAllocator> > {
00111 static const char* value()
00112 {
00113 return "string name\n\
00114 string type\n\
00115 string semantic\n\
00116 string value\n\
00117 \n\
00118 string ui_name\n\
00119 string ui_parameters\n\
00120 \n\
00121 ";
00122 }
00123
00124 static const char* value(const ::rve_msgs::Property_<ContainerAllocator> &) { return value(); }
00125 };
00126
00127 }
00128 }
00129
00130 namespace ros
00131 {
00132 namespace serialization
00133 {
00134
00135 template<class ContainerAllocator> struct Serializer< ::rve_msgs::Property_<ContainerAllocator> >
00136 {
00137 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00138 {
00139 stream.next(m.name);
00140 stream.next(m.type);
00141 stream.next(m.semantic);
00142 stream.next(m.value);
00143 stream.next(m.ui_name);
00144 stream.next(m.ui_parameters);
00145 }
00146
00147 ROS_DECLARE_ALLINONE_SERIALIZER;
00148 };
00149 }
00150 }
00151
00152 namespace ros
00153 {
00154 namespace message_operations
00155 {
00156
00157 template<class ContainerAllocator>
00158 struct Printer< ::rve_msgs::Property_<ContainerAllocator> >
00159 {
00160 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::rve_msgs::Property_<ContainerAllocator> & v)
00161 {
00162 s << indent << "name: ";
00163 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.name);
00164 s << indent << "type: ";
00165 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.type);
00166 s << indent << "semantic: ";
00167 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.semantic);
00168 s << indent << "value: ";
00169 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.value);
00170 s << indent << "ui_name: ";
00171 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.ui_name);
00172 s << indent << "ui_parameters: ";
00173 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.ui_parameters);
00174 }
00175 };
00176
00177
00178 }
00179 }
00180
00181 #endif // RVE_MSGS_MESSAGE_PROPERTY_H
00182