2 #ifndef WEB_MSGS_MESSAGE_WEBEVENT_H 3 #define WEB_MSGS_MESSAGE_WEBEVENT_H 8 #include "ros/serialization.h" 9 #include "ros/builtin_message_traits.h" 10 #include "ros/message_operations.h" 13 #include "ros/macros.h" 15 #include "ros/assert.h" 20 template <
class ContainerAllocator>
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;
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;
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;
48 typedef boost::shared_ptr< ::web_msgs::WebEvent_<ContainerAllocator> >
Ptr;
49 typedef boost::shared_ptr< ::web_msgs::WebEvent_<ContainerAllocator>
const>
ConstPtr;
52 typedef ::web_msgs::WebEvent_<std::allocator<void> >
WebEvent;
58 template<
typename ContainerAllocator>
59 std::ostream& operator<<(std::ostream& s, const ::web_msgs::WebEvent_<ContainerAllocator> & v)
61 ros::message_operations::Printer< ::web_msgs::WebEvent_<ContainerAllocator> >::stream(s,
"", v);
68 namespace message_traits
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>
76 return "4f05e2e1608bf7d788fa5e654f805aeb";
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;
84 template<
class ContainerAllocator>
88 return "web_msgs/WebEvent";
91 static const char*
value(const ::web_msgs::WebEvent_<ContainerAllocator> &) {
return value(); }
94 template<
class ContainerAllocator>
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\ 104 static const char*
value(const ::web_msgs::WebEvent_<ContainerAllocator> &) {
return value(); }
112 namespace serialization
117 template<
typename Stream,
typename T>
inline static void allInOne(Stream& stream, T m)
119 stream.next(m.source);
131 namespace message_operations
134 template<
class ContainerAllocator>
137 template<
typename Stream>
static void stream(Stream& s,
const std::string& indent, const ::web_msgs::WebEvent_<ContainerAllocator> & v)
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);
152 #endif // WEB_MSGS_MESSAGE_WEBEVENT_H std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > type
boost::shared_ptr< std::map< std::string, std::string > > __connection_header
boost::shared_ptr< ::web_msgs::WebEvent_< ContainerAllocator > > Ptr
boost::shared_ptr< ::web_msgs::WebEvent_< ContainerAllocator > const > ConstPtr
boost::shared_ptr< ::web_msgs::WebEvent const > WebEventConstPtr
static const char * value(const ::web_msgs::WebEvent_< ContainerAllocator > &)
static const char * value()
static const char * value()
static const char * value(const ::web_msgs::WebEvent_< ContainerAllocator > &)
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _source_type
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _type_type
WebEvent_< ContainerAllocator > Type
static const char * value(const ::web_msgs::WebEvent_< ContainerAllocator > &)
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > data
ROS_DECLARE_ALLINONE_SERIALIZER
WebEvent_(const ContainerAllocator &_alloc)
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _data_type
static void allInOne(Stream &stream, T m)
static const char * value()
boost::shared_ptr< ::web_msgs::WebEvent > WebEventPtr
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > source
static void stream(Stream &s, const std::string &indent, const ::web_msgs::WebEvent_< ContainerAllocator > &v)
::web_msgs::WebEvent_< std::allocator< void > > WebEvent