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


web_msgs
Author(s):
autogenerated on Wed Apr 23 2014 10:35:57