ColaMsgSrvRequest.h
Go to the documentation of this file.
1 #include "sick_scan/sick_scan_base.h" /* Base definitions included in all header files, added by add_sick_scan_base_header.py. Do not edit this line. */
2 // Generated by gencpp from file sick_scan/ColaMsgSrvRequest.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef SICK_SCAN_MESSAGE_COLAMSGSRVREQUEST_H
7 #define SICK_SCAN_MESSAGE_COLAMSGSRVREQUEST_H
8 
9 
10 #include <string>
11 #include <vector>
12 #include <map>
13 
14 #include <ros/types.h>
15 #include <ros/serialization.h>
16 #include <ros/builtin_message_traits.h>
17 #include <ros/message_operations.h>
18 
19 
20 namespace sick_scan_xd
21 {
22 template <class ContainerAllocator>
24 {
26 
28  : request() {
29  }
30  ColaMsgSrvRequest_(const ContainerAllocator& _alloc)
31  : request(_alloc) {
32  (void)_alloc;
33  }
34 
35 
36 
37  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _request_type;
39 
40 
41 
42 
43 
44  typedef std::shared_ptr< ::sick_scan_xd::ColaMsgSrvRequest_<ContainerAllocator> > Ptr;
45  typedef std::shared_ptr< ::sick_scan_xd::ColaMsgSrvRequest_<ContainerAllocator> const> ConstPtr;
46 
47 }; // struct ColaMsgSrvRequest_
48 
49 typedef ::sick_scan_xd::ColaMsgSrvRequest_<std::allocator<void> > ColaMsgSrvRequest;
50 
51 typedef std::shared_ptr< ::sick_scan_xd::ColaMsgSrvRequest > ColaMsgSrvRequestPtr;
52 typedef std::shared_ptr< ::sick_scan_xd::ColaMsgSrvRequest const> ColaMsgSrvRequestConstPtr;
53 
54 // constants requiring out of line definition
55 
56 
57 
58 template<typename ContainerAllocator>
59 std::ostream& operator<<(std::ostream& s, const ::sick_scan_xd::ColaMsgSrvRequest_<ContainerAllocator> & v)
60 {
62 return s;
63 }
64 
65 
66 template<typename ContainerAllocator1, typename ContainerAllocator2>
67 bool operator==(const ::sick_scan_xd::ColaMsgSrvRequest_<ContainerAllocator1> & lhs, const ::sick_scan_xd::ColaMsgSrvRequest_<ContainerAllocator2> & rhs)
68 {
69  return lhs.request == rhs.request;
70 }
71 
72 template<typename ContainerAllocator1, typename ContainerAllocator2>
73 bool operator!=(const ::sick_scan_xd::ColaMsgSrvRequest_<ContainerAllocator1> & lhs, const ::sick_scan_xd::ColaMsgSrvRequest_<ContainerAllocator2> & rhs)
74 {
75  return !(lhs == rhs);
76 }
77 
78 
79 } // namespace sick_scan_xd
80 
81 namespace roswrap
82 {
83 namespace message_traits
84 {
85 
86 
87 
88 
89 
90 template <class ContainerAllocator>
91 struct IsFixedSize< ::sick_scan_xd::ColaMsgSrvRequest_<ContainerAllocator> >
92  : FalseType
93  { };
94 
95 template <class ContainerAllocator>
96 struct IsFixedSize< ::sick_scan_xd::ColaMsgSrvRequest_<ContainerAllocator> const>
97  : FalseType
98  { };
99 
100 template <class ContainerAllocator>
101 struct IsMessage< ::sick_scan_xd::ColaMsgSrvRequest_<ContainerAllocator> >
102  : TrueType
103  { };
104 
105 template <class ContainerAllocator>
106 struct IsMessage< ::sick_scan_xd::ColaMsgSrvRequest_<ContainerAllocator> const>
107  : TrueType
108  { };
109 
110 template <class ContainerAllocator>
111 struct HasHeader< ::sick_scan_xd::ColaMsgSrvRequest_<ContainerAllocator> >
112  : FalseType
113  { };
114 
115 template <class ContainerAllocator>
116 struct HasHeader< ::sick_scan_xd::ColaMsgSrvRequest_<ContainerAllocator> const>
117  : FalseType
118  { };
119 
120 
121 template<class ContainerAllocator>
122 struct MD5Sum< ::sick_scan_xd::ColaMsgSrvRequest_<ContainerAllocator> >
123 {
124  static const char* value()
125  {
126  return "9b13f31f7a0a36901919f7ec0d9f40d4";
127  }
128 
129  static const char* value(const ::sick_scan_xd::ColaMsgSrvRequest_<ContainerAllocator>&) { return value(); }
130  static const uint64_t static_value1 = 0x9b13f31f7a0a3690ULL;
131  static const uint64_t static_value2 = 0x1919f7ec0d9f40d4ULL;
132 };
133 
134 template<class ContainerAllocator>
135 struct DataType< ::sick_scan_xd::ColaMsgSrvRequest_<ContainerAllocator> >
136 {
137  static const char* value()
138  {
139  return "sick_scan/ColaMsgSrvRequest";
140  }
141 
142  static const char* value(const ::sick_scan_xd::ColaMsgSrvRequest_<ContainerAllocator>&) { return value(); }
143 };
144 
145 template<class ContainerAllocator>
146 struct Definition< ::sick_scan_xd::ColaMsgSrvRequest_<ContainerAllocator> >
147 {
148  static const char* value()
149  {
150  return "# Definition of ROS service ColaMsg for sick_scan\n"
151 "# Send a cola message to the Lidar\n"
152 "# Example call (ROS1):\n"
153 "# rosservice call /sick_tim_7xx/ColaMsg \"{request: 'sEN LIDoutputstate 1'}\"\n"
154 "# \n"
155 "\n"
156 "# \n"
157 "# Request (input)\n"
158 "# \n"
159 "\n"
160 "string request\n"
161 "\n"
162 ;
163  }
164 
165  static const char* value(const ::sick_scan_xd::ColaMsgSrvRequest_<ContainerAllocator>&) { return value(); }
166 };
167 
168 } // namespace message_traits
169 } // namespace roswrap
170 
171 namespace roswrap
172 {
173 namespace serialization
174 {
175 
176  template<class ContainerAllocator> struct Serializer< ::sick_scan_xd::ColaMsgSrvRequest_<ContainerAllocator> >
177  {
178  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
179  {
180  stream.next(m.request);
181  }
182 
184  }; // struct ColaMsgSrvRequest_
185 
186 } // namespace serialization
187 } // namespace roswrap
188 
189 namespace roswrap
190 {
191 namespace message_operations
192 {
193 
194 template<class ContainerAllocator>
195 struct Printer< ::sick_scan_xd::ColaMsgSrvRequest_<ContainerAllocator> >
196 {
197  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sick_scan_xd::ColaMsgSrvRequest_<ContainerAllocator>& v)
198  {
199  s << indent << "request: ";
200  Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.request);
201  }
202 };
203 
204 } // namespace message_operations
205 } // namespace roswrap
206 
207 #endif // SICK_SCAN_MESSAGE_COLAMSGSRVREQUEST_H
roswrap::message_traits::FalseType
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Definition: message_traits.h:89
sick_scan_xd::operator<<
std::ostream & operator<<(std::ostream &s, const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator > &v)
Definition: ColaMsgSrvRequest.h:59
multiscan_pcap_player.indent
indent
Definition: multiscan_pcap_player.py:252
sick_scan_xd::operator!=
bool operator!=(const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator1 > &lhs, const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator2 > &rhs)
Definition: ColaMsgSrvRequest.h:73
roswrap::serialization::Serializer
Templated serialization class. Default implementation provides backwards compatibility with old messa...
Definition: serialization.h:120
roswrap::message_traits::HasHeader
HasHeader informs whether or not there is a header that gets serialized as the first thing in the mes...
Definition: message_traits.h:107
const
#define const
Definition: getopt.c:38
s
XmlRpcServer s
roswrap::message_traits::DataType< ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator > &)
Definition: ColaMsgSrvRequest.h:142
roswrap::message_operations::Printer::stream
static void stream(Stream &s, const std::string &indent, const M &value)
Definition: message_operations.h:43
roswrap::message_traits::IsFixedSize
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
Definition: message_traits.h:103
sick_scan_xd::ColaMsgSrvRequest_::Ptr
std::shared_ptr< ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator > > Ptr
Definition: ColaMsgSrvRequest.h:44
ros::message_operations::Printer
ROS_DECLARE_ALLINONE_SERIALIZER
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
Definition: serialization.h:74
sick_scan_xd::ColaMsgSrvRequest_::_request_type
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _request_type
Definition: ColaMsgSrvRequest.h:37
sick_scan_xd::ColaMsgSrvRequest_::ConstPtr
std::shared_ptr< ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator > const > ConstPtr
Definition: ColaMsgSrvRequest.h:45
roswrap::message_traits::MD5Sum< ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator > >::value
static const char * value()
Definition: ColaMsgSrvRequest.h:124
sick_scan_xd
Definition: abstract_parser.cpp:65
roswrap::message_traits::DataType
Specialize to provide the datatype for a message.
Definition: message_traits.h:135
sick_scan_xd::ColaMsgSrvRequestPtr
std::shared_ptr< ::sick_scan_xd::ColaMsgSrvRequest > ColaMsgSrvRequestPtr
Definition: ColaMsgSrvRequest.h:51
roswrap::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:152
sick_scan_xd::ColaMsgSrvRequest_::Type
ColaMsgSrvRequest_< ContainerAllocator > Type
Definition: ColaMsgSrvRequest.h:25
sick_scan_xd::ColaMsgSrvRequest_::ColaMsgSrvRequest_
ColaMsgSrvRequest_()
Definition: ColaMsgSrvRequest.h:27
sick_scan_xd::ColaMsgSrvRequestConstPtr
std::shared_ptr< ::sick_scan_xd::ColaMsgSrvRequest const > ColaMsgSrvRequestConstPtr
Definition: ColaMsgSrvRequest.h:52
roswrap::message_operations::Printer< ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator > &v)
Definition: ColaMsgSrvRequest.h:197
roswrap::message_traits::Definition< ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator > &)
Definition: ColaMsgSrvRequest.h:165
sick_scan_xd::ColaMsgSrvRequest
::sick_scan_xd::ColaMsgSrvRequest_< std::allocator< void > > ColaMsgSrvRequest
Definition: ColaMsgSrvRequest.h:49
sick_scan_xd::ColaMsgSrvRequest_::ColaMsgSrvRequest_
ColaMsgSrvRequest_(const ContainerAllocator &_alloc)
Definition: ColaMsgSrvRequest.h:30
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
roswrap::message_traits::TrueType
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Definition: message_traits.h:79
roswrap::message_traits::MD5Sum
Specialize to provide the md5sum for a message.
Definition: message_traits.h:118
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
roswrap::message_traits::Definition< ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator > >::value
static const char * value()
Definition: ColaMsgSrvRequest.h:148
sick_scan_xd::ColaMsgSrvRequest_::request
_request_type request
Definition: ColaMsgSrvRequest.h:38
sick_scan_xd::operator==
bool operator==(const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator1 > &lhs, const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator2 > &rhs)
Definition: ColaMsgSrvRequest.h:67
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
roswrap::serialization::Serializer< ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: ColaMsgSrvRequest.h:178
roswrap::message_traits::DataType< ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator > >::value
static const char * value()
Definition: ColaMsgSrvRequest.h:137
sick_scan_xd::ColaMsgSrvRequest_
Definition: ColaMsgSrvRequest.h:23
roswrap::message_traits::MD5Sum< ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator > &)
Definition: ColaMsgSrvRequest.h:129


sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:07