WebEvent.h
Go to the documentation of this file.
1 /* Auto-generated by genmsg_cpp for file /tmp/buildd/ros-groovy-web-interface-0.5.0/debian/ros-groovy-web-interface/opt/ros/groovy/stacks/web_interface/web_msgs/msg/WebEvent.msg */
2 #ifndef WEB_MSGS_MESSAGE_WEBEVENT_H
3 #define WEB_MSGS_MESSAGE_WEBEVENT_H
4 #include <string>
5 #include <vector>
6 #include <map>
7 #include <ostream>
8 #include "ros/serialization.h"
9 #include "ros/builtin_message_traits.h"
10 #include "ros/message_operations.h"
11 #include "ros/time.h"
12 
13 #include "ros/macros.h"
14 
15 #include "ros/assert.h"
16 
17 
18 namespace web_msgs
19 {
20 template <class ContainerAllocator>
21 struct WebEvent_ {
23 
25  : source()
26  , type()
27  , data()
28  {
29  }
30 
31  WebEvent_(const ContainerAllocator& _alloc)
32  : source(_alloc)
33  , type(_alloc)
34  , data(_alloc)
35  {
36  }
37 
38  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _source_type;
39  std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > source;
40 
41  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _type_type;
42  std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > type;
43 
44  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _data_type;
45  std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > data;
46 
47 
48  typedef boost::shared_ptr< ::web_msgs::WebEvent_<ContainerAllocator> > Ptr;
49  typedef boost::shared_ptr< ::web_msgs::WebEvent_<ContainerAllocator> const> ConstPtr;
50  boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
51 }; // struct WebEvent
52 typedef ::web_msgs::WebEvent_<std::allocator<void> > WebEvent;
53 
54 typedef boost::shared_ptr< ::web_msgs::WebEvent> WebEventPtr;
55 typedef boost::shared_ptr< ::web_msgs::WebEvent const> WebEventConstPtr;
56 
57 
58 template<typename ContainerAllocator>
59 std::ostream& operator<<(std::ostream& s, const ::web_msgs::WebEvent_<ContainerAllocator> & v)
60 {
61  ros::message_operations::Printer< ::web_msgs::WebEvent_<ContainerAllocator> >::stream(s, "", v);
62  return s;}
63 
64 } // namespace web_msgs
65 
66 namespace ros
67 {
68 namespace message_traits
69 {
70 template<class ContainerAllocator> struct IsMessage< ::web_msgs::WebEvent_<ContainerAllocator> > : public TrueType {};
71 template<class ContainerAllocator> struct IsMessage< ::web_msgs::WebEvent_<ContainerAllocator> const> : public TrueType {};
72 template<class ContainerAllocator>
73 struct MD5Sum< ::web_msgs::WebEvent_<ContainerAllocator> > {
74  static const char* value()
75  {
76  return "4f05e2e1608bf7d788fa5e654f805aeb";
77  }
78 
79  static const char* value(const ::web_msgs::WebEvent_<ContainerAllocator> &) { return value(); }
80  static const uint64_t static_value1 = 0x4f05e2e1608bf7d7ULL;
81  static const uint64_t static_value2 = 0x88fa5e654f805aebULL;
82 };
83 
84 template<class ContainerAllocator>
85 struct DataType< ::web_msgs::WebEvent_<ContainerAllocator> > {
86  static const char* value()
87  {
88  return "web_msgs/WebEvent";
89  }
90 
91  static const char* value(const ::web_msgs::WebEvent_<ContainerAllocator> &) { return value(); }
92 };
93 
94 template<class ContainerAllocator>
95 struct Definition< ::web_msgs::WebEvent_<ContainerAllocator> > {
96  static const char* value()
97  {
98  return "string source # who or what triggered the event\n\
99 string type # type of event (e.g. login, logout)\n\
100 string data # any data about the event\n\
101 ";
102  }
103 
104  static const char* value(const ::web_msgs::WebEvent_<ContainerAllocator> &) { return value(); }
105 };
106 
107 } // namespace message_traits
108 } // namespace ros
109 
110 namespace ros
111 {
112 namespace serialization
113 {
114 
115 template<class ContainerAllocator> struct Serializer< ::web_msgs::WebEvent_<ContainerAllocator> >
116 {
117  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
118  {
119  stream.next(m.source);
120  stream.next(m.type);
121  stream.next(m.data);
122  }
123 
125 }; // struct WebEvent_
126 } // namespace serialization
127 } // namespace ros
128 
129 namespace ros
130 {
131 namespace message_operations
132 {
133 
134 template<class ContainerAllocator>
135 struct Printer< ::web_msgs::WebEvent_<ContainerAllocator> >
136 {
137  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::web_msgs::WebEvent_<ContainerAllocator> & v)
138  {
139  s << indent << "source: ";
140  Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.source);
141  s << indent << "type: ";
142  Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.type);
143  s << indent << "data: ";
144  Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.data);
145  }
146 };
147 
148 
149 } // namespace message_operations
150 } // namespace ros
151 
152 #endif // WEB_MSGS_MESSAGE_WEBEVENT_H
153 
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > type
Definition: WebEvent.h:42
boost::shared_ptr< std::map< std::string, std::string > > __connection_header
Definition: WebEvent.h:50
boost::shared_ptr< ::web_msgs::WebEvent_< ContainerAllocator > > Ptr
Definition: WebEvent.h:48
boost::shared_ptr< ::web_msgs::WebEvent_< ContainerAllocator > const > ConstPtr
Definition: WebEvent.h:49
boost::shared_ptr< ::web_msgs::WebEvent const > WebEventConstPtr
Definition: WebEvent.h:55
static const char * value(const ::web_msgs::WebEvent_< ContainerAllocator > &)
Definition: WebEvent.h:104
static const char * value(const ::web_msgs::WebEvent_< ContainerAllocator > &)
Definition: WebEvent.h:79
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _source_type
Definition: WebEvent.h:38
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _type_type
Definition: WebEvent.h:41
WebEvent_< ContainerAllocator > Type
Definition: WebEvent.h:22
static const char * value(const ::web_msgs::WebEvent_< ContainerAllocator > &)
Definition: WebEvent.h:91
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > data
Definition: WebEvent.h:45
WebEvent_(const ContainerAllocator &_alloc)
Definition: WebEvent.h:31
Definition: WebEvent.h:66
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _data_type
Definition: WebEvent.h:44
boost::shared_ptr< ::web_msgs::WebEvent > WebEventPtr
Definition: WebEvent.h:54
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > source
Definition: WebEvent.h:39
static void stream(Stream &s, const std::string &indent, const ::web_msgs::WebEvent_< ContainerAllocator > &v)
Definition: WebEvent.h:137
::web_msgs::WebEvent_< std::allocator< void > > WebEvent
Definition: WebEvent.h:52


web_msgs
Author(s): Devon Ash
autogenerated on Mon Jun 10 2019 15:51:22