SickLocDiagnosticMsg.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/SickLocDiagnosticMsg.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef SICK_SCAN_MESSAGE_SICKLOCDIAGNOSTICMSG_H
7 #define SICK_SCAN_MESSAGE_SICKLOCDIAGNOSTICMSG_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 #include <std_msgs/Header.h>
20 
21 namespace sick_scan_xd
22 {
23 template <class ContainerAllocator>
25 {
27 
29  : header()
30  , error_code(0)
31  , message() {
32  }
33  SickLocDiagnosticMsg_(const ContainerAllocator& _alloc)
34  : header(_alloc)
35  , error_code(0)
36  , message(_alloc) {
37  (void)_alloc;
38  }
39 
40 
41 
42  typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
44 
45  typedef int32_t _error_code_type;
47 
48  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _message_type;
50 
51 
52 
53 
54 
55  typedef std::shared_ptr< ::sick_scan_xd::SickLocDiagnosticMsg_<ContainerAllocator> > Ptr;
56  typedef std::shared_ptr< ::sick_scan_xd::SickLocDiagnosticMsg_<ContainerAllocator> const> ConstPtr;
57 
58 }; // struct SickLocDiagnosticMsg_
59 
60 typedef ::sick_scan_xd::SickLocDiagnosticMsg_<std::allocator<void> > SickLocDiagnosticMsg;
61 
62 typedef std::shared_ptr< ::sick_scan_xd::SickLocDiagnosticMsg > SickLocDiagnosticMsgPtr;
63 typedef std::shared_ptr< ::sick_scan_xd::SickLocDiagnosticMsg const> SickLocDiagnosticMsgConstPtr;
64 
65 // constants requiring out of line definition
66 
67 
68 
69 template<typename ContainerAllocator>
70 std::ostream& operator<<(std::ostream& s, const ::sick_scan_xd::SickLocDiagnosticMsg_<ContainerAllocator> & v)
71 {
73 return s;
74 }
75 
76 
77 template<typename ContainerAllocator1, typename ContainerAllocator2>
78 bool operator==(const ::sick_scan_xd::SickLocDiagnosticMsg_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickLocDiagnosticMsg_<ContainerAllocator2> & rhs)
79 {
80  return lhs.header == rhs.header &&
81  lhs.error_code == rhs.error_code &&
82  lhs.message == rhs.message;
83 }
84 
85 template<typename ContainerAllocator1, typename ContainerAllocator2>
86 bool operator!=(const ::sick_scan_xd::SickLocDiagnosticMsg_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickLocDiagnosticMsg_<ContainerAllocator2> & rhs)
87 {
88  return !(lhs == rhs);
89 }
90 
91 
92 } // namespace sick_scan_xd
93 
94 namespace roswrap
95 {
96 namespace message_traits
97 {
98 
99 
100 
101 
102 
103 template <class ContainerAllocator>
104 struct IsFixedSize< ::sick_scan_xd::SickLocDiagnosticMsg_<ContainerAllocator> >
105  : FalseType
106  { };
107 
108 template <class ContainerAllocator>
110  : FalseType
111  { };
112 
113 template <class ContainerAllocator>
114 struct IsMessage< ::sick_scan_xd::SickLocDiagnosticMsg_<ContainerAllocator> >
115  : TrueType
116  { };
117 
118 template <class ContainerAllocator>
120  : TrueType
121  { };
122 
123 template <class ContainerAllocator>
124 struct HasHeader< ::sick_scan_xd::SickLocDiagnosticMsg_<ContainerAllocator> >
125  : TrueType
126  { };
127 
128 template <class ContainerAllocator>
130  : TrueType
131  { };
132 
133 
134 template<class ContainerAllocator>
135 struct MD5Sum< ::sick_scan_xd::SickLocDiagnosticMsg_<ContainerAllocator> >
136 {
137  static const char* value()
138  {
139  return "c51f3a40db1be5dd1e9301b7d3362c8d";
140  }
141 
142  static const char* value(const ::sick_scan_xd::SickLocDiagnosticMsg_<ContainerAllocator>&) { return value(); }
143  static const uint64_t static_value1 = 0xc51f3a40db1be5ddULL;
144  static const uint64_t static_value2 = 0x1e9301b7d3362c8dULL;
145 };
146 
147 template<class ContainerAllocator>
148 struct DataType< ::sick_scan_xd::SickLocDiagnosticMsg_<ContainerAllocator> >
149 {
150  static const char* value()
151  {
152  return "sick_scan/SickLocDiagnosticMsg";
153  }
154 
155  static const char* value(const ::sick_scan_xd::SickLocDiagnosticMsg_<ContainerAllocator>&) { return value(); }
156 };
157 
158 template<class ContainerAllocator>
159 struct Definition< ::sick_scan_xd::SickLocDiagnosticMsg_<ContainerAllocator> >
160 {
161  static const char* value()
162  {
163  return "# Definition of ros message SickLocDiagnosticMsg.\n"
164 "# SickLocDiagnosticMsg publishes diagnostic messages\n"
165 "# of the sick localization driver.\n"
166 "\n"
167 "std_msgs/Header header # ROS Header with sequence id, timestamp and frame id\n"
168 "int32 error_code # error code (0 := no error)\n"
169 "string message # diagnostic message\n"
170 "\n"
171 "================================================================================\n"
172 "MSG: std_msgs/Header\n"
173 "# Standard metadata for higher-level stamped data types.\n"
174 "# This is generally used to communicate timestamped data \n"
175 "# in a particular coordinate frame.\n"
176 "# \n"
177 "# sequence ID: consecutively increasing ID \n"
178 "uint32 seq\n"
179 "#Two-integer timestamp that is expressed as:\n"
180 "# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n"
181 "# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n"
182 "# time-handling sugar is provided by the client library\n"
183 "time stamp\n"
184 "#Frame this data is associated with\n"
185 "string frame_id\n"
186 ;
187  }
188 
189  static const char* value(const ::sick_scan_xd::SickLocDiagnosticMsg_<ContainerAllocator>&) { return value(); }
190 };
191 
192 } // namespace message_traits
193 } // namespace roswrap
194 
195 namespace roswrap
196 {
197 namespace serialization
198 {
199 
200  template<class ContainerAllocator> struct Serializer< ::sick_scan_xd::SickLocDiagnosticMsg_<ContainerAllocator> >
201  {
202  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
203  {
204  stream.next(m.header);
205  stream.next(m.error_code);
206  stream.next(m.message);
207  }
208 
210  }; // struct SickLocDiagnosticMsg_
211 
212 } // namespace serialization
213 } // namespace roswrap
214 
215 namespace roswrap
216 {
217 namespace message_operations
218 {
219 
220 template<class ContainerAllocator>
221 struct Printer< ::sick_scan_xd::SickLocDiagnosticMsg_<ContainerAllocator> >
222 {
223  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sick_scan_xd::SickLocDiagnosticMsg_<ContainerAllocator>& v)
224  {
225  s << indent << "header: ";
226  s << std::endl;
228  s << indent << "error_code: ";
229  Printer<int32_t>::stream(s, indent + " ", v.error_code);
230  s << indent << "message: ";
231  Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.message);
232  }
233 };
234 
235 } // namespace message_operations
236 } // namespace roswrap
237 
238 #endif // SICK_SCAN_MESSAGE_SICKLOCDIAGNOSTICMSG_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
sick_scan_xd::SickLocDiagnosticMsg_::ConstPtr
std::shared_ptr< ::sick_scan_xd::SickLocDiagnosticMsg_< ContainerAllocator > const > ConstPtr
Definition: SickLocDiagnosticMsg.h:56
roswrap::serialization::Serializer< ::sick_scan_xd::SickLocDiagnosticMsg_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: SickLocDiagnosticMsg.h:202
roswrap::message_traits::MD5Sum< ::sick_scan_xd::SickLocDiagnosticMsg_< ContainerAllocator > >::value
static const char * value()
Definition: SickLocDiagnosticMsg.h:137
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
sick_scan_xd::SickLocDiagnosticMsg_::error_code
_error_code_type error_code
Definition: SickLocDiagnosticMsg.h:46
const
#define const
Definition: getopt.c:38
roswrap::message_operations::Printer< ::sick_scan_xd::SickLocDiagnosticMsg_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::sick_scan_xd::SickLocDiagnosticMsg_< ContainerAllocator > &v)
Definition: SickLocDiagnosticMsg.h:223
s
XmlRpcServer s
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
ros::message_operations::Printer
roswrap::message_traits::MD5Sum< ::sick_scan_xd::SickLocDiagnosticMsg_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickLocDiagnosticMsg_< ContainerAllocator > &)
Definition: SickLocDiagnosticMsg.h:142
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::SickLocDiagnosticMsgPtr
std::shared_ptr< ::sick_scan_xd::SickLocDiagnosticMsg > SickLocDiagnosticMsgPtr
Definition: SickLocDiagnosticMsg.h:62
sick_scan_xd
Definition: abstract_parser.cpp:65
roswrap::message_traits::Definition< ::sick_scan_xd::SickLocDiagnosticMsg_< ContainerAllocator > >::value
static const char * value()
Definition: SickLocDiagnosticMsg.h:161
roswrap::message_traits::DataType
Specialize to provide the datatype for a message.
Definition: message_traits.h:135
roswrap::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:152
sick_scan_xd::SickLocDiagnosticMsg_::header
_header_type header
Definition: SickLocDiagnosticMsg.h:43
sick_scan_xd::SickLocDiagnosticMsg_
Definition: SickLocDiagnosticMsg.h:24
sick_scan_xd::SickLocDiagnosticMsg_::_error_code_type
int32_t _error_code_type
Definition: SickLocDiagnosticMsg.h:45
sick_scan_xd::SickLocDiagnosticMsgConstPtr
std::shared_ptr< ::sick_scan_xd::SickLocDiagnosticMsg const > SickLocDiagnosticMsgConstPtr
Definition: SickLocDiagnosticMsg.h:63
sick_scan_xd::SickLocDiagnosticMsg_::SickLocDiagnosticMsg_
SickLocDiagnosticMsg_()
Definition: SickLocDiagnosticMsg.h:28
sick_scan_xd::SickLocDiagnosticMsg_::_message_type
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _message_type
Definition: SickLocDiagnosticMsg.h:48
sick_scan_xd::SickLocDiagnosticMsg_::Type
SickLocDiagnosticMsg_< ContainerAllocator > Type
Definition: SickLocDiagnosticMsg.h:26
roswrap
Definition: param_modi.cpp:41
sick_scan_xd::SickLocDiagnosticMsg
::sick_scan_xd::SickLocDiagnosticMsg_< std::allocator< void > > SickLocDiagnosticMsg
Definition: SickLocDiagnosticMsg.h:60
roswrap::message_operations::Printer
Definition: message_operations.h:40
std_msgs::Header_
Definition: Header.h:23
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::DataType< ::sick_scan_xd::SickLocDiagnosticMsg_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickLocDiagnosticMsg_< ContainerAllocator > &)
Definition: SickLocDiagnosticMsg.h:155
sick_scan_xd::SickLocDiagnosticMsg_::Ptr
std::shared_ptr< ::sick_scan_xd::SickLocDiagnosticMsg_< ContainerAllocator > > Ptr
Definition: SickLocDiagnosticMsg.h:55
sick_scan_xd::SickLocDiagnosticMsg_::message
_message_type message
Definition: SickLocDiagnosticMsg.h:49
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
sick_scan_xd::SickLocDiagnosticMsg_::SickLocDiagnosticMsg_
SickLocDiagnosticMsg_(const ContainerAllocator &_alloc)
Definition: SickLocDiagnosticMsg.h:33
sick_scan_xd::operator==
bool operator==(const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator1 > &lhs, const ::sick_scan_xd::ColaMsgSrvRequest_< ContainerAllocator2 > &rhs)
Definition: ColaMsgSrvRequest.h:67
roswrap::message_traits::DataType< ::sick_scan_xd::SickLocDiagnosticMsg_< ContainerAllocator > >::value
static const char * value()
Definition: SickLocDiagnosticMsg.h:150
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
roswrap::message_traits::Definition< ::sick_scan_xd::SickLocDiagnosticMsg_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickLocDiagnosticMsg_< ContainerAllocator > &)
Definition: SickLocDiagnosticMsg.h:189
sick_scan_xd::SickLocDiagnosticMsg_::_header_type
::std_msgs::Header_< ContainerAllocator > _header_type
Definition: SickLocDiagnosticMsg.h:42
Header.h


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