Go to the documentation of this file.00001
00002 #ifndef ROS_RT_WMP_MSGS_MESSAGE_WMPTEST_H
00003 #define ROS_RT_WMP_MSGS_MESSAGE_WMPTEST_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 #include "ros_rt_wmp_msgs/WMPHeader.h"
00018
00019 namespace ros_rt_wmp_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct WMPTest_ {
00023 typedef WMPTest_<ContainerAllocator> Type;
00024
00025 WMPTest_()
00026 : header()
00027 , hola(0)
00028 {
00029 }
00030
00031 WMPTest_(const ContainerAllocator& _alloc)
00032 : header(_alloc)
00033 , hola(0)
00034 {
00035 }
00036
00037 typedef ::ros_rt_wmp_msgs::WMPHeader_<ContainerAllocator> _header_type;
00038 ::ros_rt_wmp_msgs::WMPHeader_<ContainerAllocator> header;
00039
00040 typedef int8_t _hola_type;
00041 int8_t hola;
00042
00043
00044 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPTest_<ContainerAllocator> > Ptr;
00045 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPTest_<ContainerAllocator> const> ConstPtr;
00046 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 };
00048 typedef ::ros_rt_wmp_msgs::WMPTest_<std::allocator<void> > WMPTest;
00049
00050 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPTest> WMPTestPtr;
00051 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPTest const> WMPTestConstPtr;
00052
00053
00054 template<typename ContainerAllocator>
00055 std::ostream& operator<<(std::ostream& s, const ::ros_rt_wmp_msgs::WMPTest_<ContainerAllocator> & v)
00056 {
00057 ros::message_operations::Printer< ::ros_rt_wmp_msgs::WMPTest_<ContainerAllocator> >::stream(s, "", v);
00058 return s;}
00059
00060 }
00061
00062 namespace ros
00063 {
00064 namespace message_traits
00065 {
00066 template<class ContainerAllocator> struct IsMessage< ::ros_rt_wmp_msgs::WMPTest_<ContainerAllocator> > : public TrueType {};
00067 template<class ContainerAllocator> struct IsMessage< ::ros_rt_wmp_msgs::WMPTest_<ContainerAllocator> const> : public TrueType {};
00068 template<class ContainerAllocator>
00069 struct MD5Sum< ::ros_rt_wmp_msgs::WMPTest_<ContainerAllocator> > {
00070 static const char* value()
00071 {
00072 return "8b537da7043fb94b678a9fe8aacd2ff8";
00073 }
00074
00075 static const char* value(const ::ros_rt_wmp_msgs::WMPTest_<ContainerAllocator> &) { return value(); }
00076 static const uint64_t static_value1 = 0x8b537da7043fb94bULL;
00077 static const uint64_t static_value2 = 0x678a9fe8aacd2ff8ULL;
00078 };
00079
00080 template<class ContainerAllocator>
00081 struct DataType< ::ros_rt_wmp_msgs::WMPTest_<ContainerAllocator> > {
00082 static const char* value()
00083 {
00084 return "ros_rt_wmp_msgs/WMPTest";
00085 }
00086
00087 static const char* value(const ::ros_rt_wmp_msgs::WMPTest_<ContainerAllocator> &) { return value(); }
00088 };
00089
00090 template<class ContainerAllocator>
00091 struct Definition< ::ros_rt_wmp_msgs::WMPTest_<ContainerAllocator> > {
00092 static const char* value()
00093 {
00094 return "WMPHeader header\n\
00095 int8 hola\n\
00096 ================================================================================\n\
00097 MSG: ros_rt_wmp_msgs/WMPHeader\n\
00098 uint8 source\n\
00099 uint8[] dest\n\
00100 uint8 priority\n\
00101 uint8 deadline\n\
00102 string sub_topic\n\
00103 \n\
00104 \n\
00105 ";
00106 }
00107
00108 static const char* value(const ::ros_rt_wmp_msgs::WMPTest_<ContainerAllocator> &) { return value(); }
00109 };
00110
00111 }
00112 }
00113
00114 namespace ros
00115 {
00116 namespace serialization
00117 {
00118
00119 template<class ContainerAllocator> struct Serializer< ::ros_rt_wmp_msgs::WMPTest_<ContainerAllocator> >
00120 {
00121 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00122 {
00123 stream.next(m.header);
00124 stream.next(m.hola);
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< ::ros_rt_wmp_msgs::WMPTest_<ContainerAllocator> >
00139 {
00140 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ros_rt_wmp_msgs::WMPTest_<ContainerAllocator> & v)
00141 {
00142 s << indent << "header: ";
00143 s << std::endl;
00144 Printer< ::ros_rt_wmp_msgs::WMPHeader_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00145 s << indent << "hola: ";
00146 Printer<int8_t>::stream(s, indent + " ", v.hola);
00147 }
00148 };
00149
00150
00151 }
00152 }
00153
00154 #endif // ROS_RT_WMP_MSGS_MESSAGE_WMPTEST_H
00155