Go to the documentation of this file.00001
00002 #ifndef ROS_RT_WMP_MSGS_MESSAGE_WMPCOMPATIBLETYPE_H
00003 #define ROS_RT_WMP_MSGS_MESSAGE_WMPCOMPATIBLETYPE_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 ros_rt_wmp_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct WMPCompatibleType_ {
00022 typedef WMPCompatibleType_<ContainerAllocator> Type;
00023
00024 WMPCompatibleType_()
00025 : dest(0)
00026 {
00027 }
00028
00029 WMPCompatibleType_(const ContainerAllocator& _alloc)
00030 : dest(0)
00031 {
00032 }
00033
00034 typedef uint32_t _dest_type;
00035 uint32_t dest;
00036
00037 enum { priority = 20 };
00038 enum { port = 0 };
00039 static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > port_name;
00040
00041 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPCompatibleType_<ContainerAllocator> > Ptr;
00042 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPCompatibleType_<ContainerAllocator> const> ConstPtr;
00043 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00044 };
00045 typedef ::ros_rt_wmp_msgs::WMPCompatibleType_<std::allocator<void> > WMPCompatibleType;
00046
00047 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPCompatibleType> WMPCompatibleTypePtr;
00048 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPCompatibleType const> WMPCompatibleTypeConstPtr;
00049
00050 template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > WMPCompatibleType_<ContainerAllocator>::port_name = "x";
00051
00052 template<typename ContainerAllocator>
00053 std::ostream& operator<<(std::ostream& s, const ::ros_rt_wmp_msgs::WMPCompatibleType_<ContainerAllocator> & v)
00054 {
00055 ros::message_operations::Printer< ::ros_rt_wmp_msgs::WMPCompatibleType_<ContainerAllocator> >::stream(s, "", v);
00056 return s;}
00057
00058 }
00059
00060 namespace ros
00061 {
00062 namespace message_traits
00063 {
00064 template<class ContainerAllocator> struct IsMessage< ::ros_rt_wmp_msgs::WMPCompatibleType_<ContainerAllocator> > : public TrueType {};
00065 template<class ContainerAllocator> struct IsMessage< ::ros_rt_wmp_msgs::WMPCompatibleType_<ContainerAllocator> const> : public TrueType {};
00066 template<class ContainerAllocator>
00067 struct MD5Sum< ::ros_rt_wmp_msgs::WMPCompatibleType_<ContainerAllocator> > {
00068 static const char* value()
00069 {
00070 return "19cad2aed4760d2ae24d643212159cd8";
00071 }
00072
00073 static const char* value(const ::ros_rt_wmp_msgs::WMPCompatibleType_<ContainerAllocator> &) { return value(); }
00074 static const uint64_t static_value1 = 0x19cad2aed4760d2aULL;
00075 static const uint64_t static_value2 = 0xe24d643212159cd8ULL;
00076 };
00077
00078 template<class ContainerAllocator>
00079 struct DataType< ::ros_rt_wmp_msgs::WMPCompatibleType_<ContainerAllocator> > {
00080 static const char* value()
00081 {
00082 return "ros_rt_wmp_msgs/WMPCompatibleType";
00083 }
00084
00085 static const char* value(const ::ros_rt_wmp_msgs::WMPCompatibleType_<ContainerAllocator> &) { return value(); }
00086 };
00087
00088 template<class ContainerAllocator>
00089 struct Definition< ::ros_rt_wmp_msgs::WMPCompatibleType_<ContainerAllocator> > {
00090 static const char* value()
00091 {
00092 return "#standard header\n\
00093 \n\
00094 uint32 dest\n\
00095 uint8 priority=20\n\
00096 uint8 port=0\n\
00097 string port_name=x\n\
00098 \n\
00099 #add other fields user-defined\n\
00100 #uint8 source\n\
00101 #uint8 leader\n\
00102 \n\
00103 ";
00104 }
00105
00106 static const char* value(const ::ros_rt_wmp_msgs::WMPCompatibleType_<ContainerAllocator> &) { return value(); }
00107 };
00108
00109 template<class ContainerAllocator> struct IsFixedSize< ::ros_rt_wmp_msgs::WMPCompatibleType_<ContainerAllocator> > : public TrueType {};
00110 }
00111 }
00112
00113 namespace ros
00114 {
00115 namespace serialization
00116 {
00117
00118 template<class ContainerAllocator> struct Serializer< ::ros_rt_wmp_msgs::WMPCompatibleType_<ContainerAllocator> >
00119 {
00120 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00121 {
00122 stream.next(m.dest);
00123 }
00124
00125 ROS_DECLARE_ALLINONE_SERIALIZER;
00126 };
00127 }
00128 }
00129
00130 namespace ros
00131 {
00132 namespace message_operations
00133 {
00134
00135 template<class ContainerAllocator>
00136 struct Printer< ::ros_rt_wmp_msgs::WMPCompatibleType_<ContainerAllocator> >
00137 {
00138 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ros_rt_wmp_msgs::WMPCompatibleType_<ContainerAllocator> & v)
00139 {
00140 s << indent << "dest: ";
00141 Printer<uint32_t>::stream(s, indent + " ", v.dest);
00142 }
00143 };
00144
00145
00146 }
00147 }
00148
00149 #endif // ROS_RT_WMP_MSGS_MESSAGE_WMPCOMPATIBLETYPE_H
00150