DM_UIcom.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-srs_public/doc_stacks/2014-10-06_07-45-36.510262/srs_public/srs_msgs/msg/DM_UIcom.msg */
00002 #ifndef SRS_MSGS_MESSAGE_DM_UICOM_H
00003 #define SRS_MSGS_MESSAGE_DM_UICOM_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 srs_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct DM_UIcom_ {
00022   typedef DM_UIcom_<ContainerAllocator> Type;
00023 
00024   DM_UIcom_()
00025   : command()
00026   , message()
00027   , requestID(0)
00028   {
00029   }
00030 
00031   DM_UIcom_(const ContainerAllocator& _alloc)
00032   : command(_alloc)
00033   , message(_alloc)
00034   , requestID(0)
00035   {
00036   }
00037 
00038   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _command_type;
00039   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  command;
00040 
00041   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _message_type;
00042   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  message;
00043 
00044   typedef uint32_t _requestID_type;
00045   uint32_t requestID;
00046 
00047 
00048   typedef boost::shared_ptr< ::srs_msgs::DM_UIcom_<ContainerAllocator> > Ptr;
00049   typedef boost::shared_ptr< ::srs_msgs::DM_UIcom_<ContainerAllocator>  const> ConstPtr;
00050   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 }; // struct DM_UIcom
00052 typedef  ::srs_msgs::DM_UIcom_<std::allocator<void> > DM_UIcom;
00053 
00054 typedef boost::shared_ptr< ::srs_msgs::DM_UIcom> DM_UIcomPtr;
00055 typedef boost::shared_ptr< ::srs_msgs::DM_UIcom const> DM_UIcomConstPtr;
00056 
00057 
00058 template<typename ContainerAllocator>
00059 std::ostream& operator<<(std::ostream& s, const  ::srs_msgs::DM_UIcom_<ContainerAllocator> & v)
00060 {
00061   ros::message_operations::Printer< ::srs_msgs::DM_UIcom_<ContainerAllocator> >::stream(s, "", v);
00062   return s;}
00063 
00064 } // namespace srs_msgs
00065 
00066 namespace ros
00067 {
00068 namespace message_traits
00069 {
00070 template<class ContainerAllocator> struct IsMessage< ::srs_msgs::DM_UIcom_<ContainerAllocator> > : public TrueType {};
00071 template<class ContainerAllocator> struct IsMessage< ::srs_msgs::DM_UIcom_<ContainerAllocator>  const> : public TrueType {};
00072 template<class ContainerAllocator>
00073 struct MD5Sum< ::srs_msgs::DM_UIcom_<ContainerAllocator> > {
00074   static const char* value() 
00075   {
00076     return "9fdc3806df41868867572f18d50a7c34";
00077   }
00078 
00079   static const char* value(const  ::srs_msgs::DM_UIcom_<ContainerAllocator> &) { return value(); } 
00080   static const uint64_t static_value1 = 0x9fdc3806df418688ULL;
00081   static const uint64_t static_value2 = 0x67572f18d50a7c34ULL;
00082 };
00083 
00084 template<class ContainerAllocator>
00085 struct DataType< ::srs_msgs::DM_UIcom_<ContainerAllocator> > {
00086   static const char* value() 
00087   {
00088     return "srs_msgs/DM_UIcom";
00089   }
00090 
00091   static const char* value(const  ::srs_msgs::DM_UIcom_<ContainerAllocator> &) { return value(); } 
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct Definition< ::srs_msgs::DM_UIcom_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "string command\n\
00099 string message\n\
00100 uint32 requestID\n\
00101 \n\
00102 ";
00103   }
00104 
00105   static const char* value(const  ::srs_msgs::DM_UIcom_<ContainerAllocator> &) { return value(); } 
00106 };
00107 
00108 } // namespace message_traits
00109 } // namespace ros
00110 
00111 namespace ros
00112 {
00113 namespace serialization
00114 {
00115 
00116 template<class ContainerAllocator> struct Serializer< ::srs_msgs::DM_UIcom_<ContainerAllocator> >
00117 {
00118   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00119   {
00120     stream.next(m.command);
00121     stream.next(m.message);
00122     stream.next(m.requestID);
00123   }
00124 
00125   ROS_DECLARE_ALLINONE_SERIALIZER;
00126 }; // struct DM_UIcom_
00127 } // namespace serialization
00128 } // namespace ros
00129 
00130 namespace ros
00131 {
00132 namespace message_operations
00133 {
00134 
00135 template<class ContainerAllocator>
00136 struct Printer< ::srs_msgs::DM_UIcom_<ContainerAllocator> >
00137 {
00138   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::srs_msgs::DM_UIcom_<ContainerAllocator> & v) 
00139   {
00140     s << indent << "command: ";
00141     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.command);
00142     s << indent << "message: ";
00143     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.message);
00144     s << indent << "requestID: ";
00145     Printer<uint32_t>::stream(s, indent + "  ", v.requestID);
00146   }
00147 };
00148 
00149 
00150 } // namespace message_operations
00151 } // namespace ros
00152 
00153 #endif // SRS_MSGS_MESSAGE_DM_UICOM_H
00154 


srs_msgs
Author(s): renxi
autogenerated on Mon Oct 6 2014 08:20:53