SickLocColaTelegramMsg.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/SickLocColaTelegramMsg.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef SICK_SCAN_MESSAGE_SICKLOCCOLATELEGRAMMSG_H
7 #define SICK_SCAN_MESSAGE_SICKLOCCOLATELEGRAMMSG_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  , command_type(0)
31  , command_name()
32  , parameter() {
33  }
34  SickLocColaTelegramMsg_(const ContainerAllocator& _alloc)
35  : header(_alloc)
36  , command_type(0)
37  , command_name(_alloc)
38  , parameter(_alloc) {
39  (void)_alloc;
40  }
41 
42 
43 
44  typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
46 
47  typedef int32_t _command_type_type;
49 
50  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _command_name_type;
52 
53  typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _parameter_type;
55 
56 
57 
58 
59 
60  typedef std::shared_ptr< ::sick_scan_xd::SickLocColaTelegramMsg_<ContainerAllocator> > Ptr;
61  typedef std::shared_ptr< ::sick_scan_xd::SickLocColaTelegramMsg_<ContainerAllocator> const> ConstPtr;
62 
63 }; // struct SickLocColaTelegramMsg_
64 
65 typedef ::sick_scan_xd::SickLocColaTelegramMsg_<std::allocator<void> > SickLocColaTelegramMsg;
66 
67 typedef std::shared_ptr< ::sick_scan_xd::SickLocColaTelegramMsg > SickLocColaTelegramMsgPtr;
68 typedef std::shared_ptr< ::sick_scan_xd::SickLocColaTelegramMsg const> SickLocColaTelegramMsgConstPtr;
69 
70 // constants requiring out of line definition
71 
72 
73 
74 template<typename ContainerAllocator>
75 std::ostream& operator<<(std::ostream& s, const ::sick_scan_xd::SickLocColaTelegramMsg_<ContainerAllocator> & v)
76 {
78 return s;
79 }
80 
81 
82 template<typename ContainerAllocator1, typename ContainerAllocator2>
83 bool operator==(const ::sick_scan_xd::SickLocColaTelegramMsg_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickLocColaTelegramMsg_<ContainerAllocator2> & rhs)
84 {
85  return lhs.header == rhs.header &&
86  lhs.command_type == rhs.command_type &&
87  lhs.command_name == rhs.command_name &&
88  lhs.parameter == rhs.parameter;
89 }
90 
91 template<typename ContainerAllocator1, typename ContainerAllocator2>
92 bool operator!=(const ::sick_scan_xd::SickLocColaTelegramMsg_<ContainerAllocator1> & lhs, const ::sick_scan_xd::SickLocColaTelegramMsg_<ContainerAllocator2> & rhs)
93 {
94  return !(lhs == rhs);
95 }
96 
97 
98 } // namespace sick_scan_xd
99 
100 namespace roswrap
101 {
102 namespace message_traits
103 {
104 
105 
106 
107 
108 
109 template <class ContainerAllocator>
110 struct IsFixedSize< ::sick_scan_xd::SickLocColaTelegramMsg_<ContainerAllocator> >
111  : FalseType
112  { };
113 
114 template <class ContainerAllocator>
116  : FalseType
117  { };
118 
119 template <class ContainerAllocator>
120 struct IsMessage< ::sick_scan_xd::SickLocColaTelegramMsg_<ContainerAllocator> >
121  : TrueType
122  { };
123 
124 template <class ContainerAllocator>
126  : TrueType
127  { };
128 
129 template <class ContainerAllocator>
130 struct HasHeader< ::sick_scan_xd::SickLocColaTelegramMsg_<ContainerAllocator> >
131  : TrueType
132  { };
133 
134 template <class ContainerAllocator>
136  : TrueType
137  { };
138 
139 
140 template<class ContainerAllocator>
141 struct MD5Sum< ::sick_scan_xd::SickLocColaTelegramMsg_<ContainerAllocator> >
142 {
143  static const char* value()
144  {
145  return "fda058e73f190c37b2ae74d5f8aa66d7";
146  }
147 
148  static const char* value(const ::sick_scan_xd::SickLocColaTelegramMsg_<ContainerAllocator>&) { return value(); }
149  static const uint64_t static_value1 = 0xfda058e73f190c37ULL;
150  static const uint64_t static_value2 = 0xb2ae74d5f8aa66d7ULL;
151 };
152 
153 template<class ContainerAllocator>
154 struct DataType< ::sick_scan_xd::SickLocColaTelegramMsg_<ContainerAllocator> >
155 {
156  static const char* value()
157  {
158  return "sick_scan/SickLocColaTelegramMsg";
159  }
160 
161  static const char* value(const ::sick_scan_xd::SickLocColaTelegramMsg_<ContainerAllocator>&) { return value(); }
162 };
163 
164 template<class ContainerAllocator>
165 struct Definition< ::sick_scan_xd::SickLocColaTelegramMsg_<ContainerAllocator> >
166 {
167  static const char* value()
168  {
169  return "# Definition of ros message SickLocColaTelegramMsg.\n"
170 "# SickLocColaTelegramMsg publishes Cola-ASCII telegrams for sick localization.\n"
171 "# See Technical_information_Telegram_Listing_NAV_LOC_en_IM0076556.PDF for further details\n"
172 "# about Cola telgrams\n"
173 "\n"
174 "std_msgs/Header header # ROS Header with sequence id, timestamp and frame id\n"
175 "\n"
176 "int32 command_type # One of the SOPAS Commands sRN (1, Read by name request) or sRA (2, Read by name response) or sMN (3, Method by name request) or sMA (4, Method by name response) or sWN (5, Write by name request)\n"
177 "\n"
178 "string command_name # Name of command like \"SetAccessMode\", \"LocSetResultPoseEnabled\", \"LocRequestTimestamp\", etc.\n"
179 "\n"
180 "string[] parameter # Optional parameter, type and number parameter depend on the command, f.e. \"sMN SetAccessMode 3 F4724744\" with 2 parameter\n"
181 "\n"
182 "================================================================================\n"
183 "MSG: std_msgs/Header\n"
184 "# Standard metadata for higher-level stamped data types.\n"
185 "# This is generally used to communicate timestamped data \n"
186 "# in a particular coordinate frame.\n"
187 "# \n"
188 "# sequence ID: consecutively increasing ID \n"
189 "uint32 seq\n"
190 "#Two-integer timestamp that is expressed as:\n"
191 "# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n"
192 "# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n"
193 "# time-handling sugar is provided by the client library\n"
194 "time stamp\n"
195 "#Frame this data is associated with\n"
196 "string frame_id\n"
197 ;
198  }
199 
200  static const char* value(const ::sick_scan_xd::SickLocColaTelegramMsg_<ContainerAllocator>&) { return value(); }
201 };
202 
203 } // namespace message_traits
204 } // namespace roswrap
205 
206 namespace roswrap
207 {
208 namespace serialization
209 {
210 
211  template<class ContainerAllocator> struct Serializer< ::sick_scan_xd::SickLocColaTelegramMsg_<ContainerAllocator> >
212  {
213  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
214  {
215  stream.next(m.header);
216  stream.next(m.command_type);
217  stream.next(m.command_name);
218  stream.next(m.parameter);
219  }
220 
222  }; // struct SickLocColaTelegramMsg_
223 
224 } // namespace serialization
225 } // namespace roswrap
226 
227 namespace roswrap
228 {
229 namespace message_operations
230 {
231 
232 template<class ContainerAllocator>
233 struct Printer< ::sick_scan_xd::SickLocColaTelegramMsg_<ContainerAllocator> >
234 {
235  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sick_scan_xd::SickLocColaTelegramMsg_<ContainerAllocator>& v)
236  {
237  s << indent << "header: ";
238  s << std::endl;
240  s << indent << "command_type: ";
241  Printer<int32_t>::stream(s, indent + " ", v.command_type);
242  s << indent << "command_name: ";
243  Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.command_name);
244  s << indent << "parameter[]" << std::endl;
245  for (size_t i = 0; i < v.parameter.size(); ++i)
246  {
247  s << indent << " parameter[" << i << "]: ";
248  Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.parameter[i]);
249  }
250  }
251 };
252 
253 } // namespace message_operations
254 } // namespace roswrap
255 
256 #endif // SICK_SCAN_MESSAGE_SICKLOCCOLATELEGRAMMSG_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
roswrap::message_traits::MD5Sum< ::sick_scan_xd::SickLocColaTelegramMsg_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickLocColaTelegramMsg_< ContainerAllocator > &)
Definition: SickLocColaTelegramMsg.h:148
sick_scan_xd::SickLocColaTelegramMsg_::ConstPtr
std::shared_ptr< ::sick_scan_xd::SickLocColaTelegramMsg_< ContainerAllocator > const > ConstPtr
Definition: SickLocColaTelegramMsg.h:61
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
sick_scan_xd::SickLocColaTelegramMsg_::SickLocColaTelegramMsg_
SickLocColaTelegramMsg_()
Definition: SickLocColaTelegramMsg.h:28
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
roswrap::message_traits::Definition< ::sick_scan_xd::SickLocColaTelegramMsg_< ContainerAllocator > >::value
static const char * value()
Definition: SickLocColaTelegramMsg.h:167
roswrap::serialization::Serializer< ::sick_scan_xd::SickLocColaTelegramMsg_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: SickLocColaTelegramMsg.h:213
const
#define const
Definition: getopt.c:38
s
XmlRpcServer s
roswrap::message_traits::Definition< ::sick_scan_xd::SickLocColaTelegramMsg_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickLocColaTelegramMsg_< ContainerAllocator > &)
Definition: SickLocColaTelegramMsg.h:200
sick_scan_xd::SickLocColaTelegramMsgConstPtr
std::shared_ptr< ::sick_scan_xd::SickLocColaTelegramMsg const > SickLocColaTelegramMsgConstPtr
Definition: SickLocColaTelegramMsg.h:68
sick_scan_xd::SickLocColaTelegramMsg_
Definition: SickLocColaTelegramMsg.h:24
sick_scan_xd::SickLocColaTelegramMsg_::command_name
_command_name_type command_name
Definition: SickLocColaTelegramMsg.h:51
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
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::SickLocColaTelegramMsg_::_command_type_type
int32_t _command_type_type
Definition: SickLocColaTelegramMsg.h:47
sick_scan_xd::SickLocColaTelegramMsg_::_parameter_type
std::vector< std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other >, typename ContainerAllocator::template rebind< std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > >::other > _parameter_type
Definition: SickLocColaTelegramMsg.h:53
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
roswrap::message_traits::DataType< ::sick_scan_xd::SickLocColaTelegramMsg_< ContainerAllocator > >::value
static const char * value()
Definition: SickLocColaTelegramMsg.h:156
roswrap::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:152
sick_scan_xd::SickLocColaTelegramMsg_::_header_type
::std_msgs::Header_< ContainerAllocator > _header_type
Definition: SickLocColaTelegramMsg.h:44
sick_scan_xd::SickLocColaTelegramMsg_::Ptr
std::shared_ptr< ::sick_scan_xd::SickLocColaTelegramMsg_< ContainerAllocator > > Ptr
Definition: SickLocColaTelegramMsg.h:60
sick_scan_xd::SickLocColaTelegramMsg_::_command_name_type
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _command_name_type
Definition: SickLocColaTelegramMsg.h:50
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
std_msgs::Header_
Definition: Header.h:23
sick_scan_xd::SickLocColaTelegramMsg_::command_type
_command_type_type command_type
Definition: SickLocColaTelegramMsg.h:48
sick_scan_xd::SickLocColaTelegramMsg_::Type
SickLocColaTelegramMsg_< ContainerAllocator > Type
Definition: SickLocColaTelegramMsg.h:26
roswrap::message_traits::DataType< ::sick_scan_xd::SickLocColaTelegramMsg_< ContainerAllocator > >::value
static const char * value(const ::sick_scan_xd::SickLocColaTelegramMsg_< ContainerAllocator > &)
Definition: SickLocColaTelegramMsg.h:161
roswrap::message_operations::Printer< ::sick_scan_xd::SickLocColaTelegramMsg_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::sick_scan_xd::SickLocColaTelegramMsg_< ContainerAllocator > &v)
Definition: SickLocColaTelegramMsg.h:235
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
sick_scan_xd::SickLocColaTelegramMsg_::SickLocColaTelegramMsg_
SickLocColaTelegramMsg_(const ContainerAllocator &_alloc)
Definition: SickLocColaTelegramMsg.h:34
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
sick_scan_xd::SickLocColaTelegramMsgPtr
std::shared_ptr< ::sick_scan_xd::SickLocColaTelegramMsg > SickLocColaTelegramMsgPtr
Definition: SickLocColaTelegramMsg.h:67
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
sick_scan_xd::SickLocColaTelegramMsg_::parameter
_parameter_type parameter
Definition: SickLocColaTelegramMsg.h:54
sick_scan_xd::SickLocColaTelegramMsg
::sick_scan_xd::SickLocColaTelegramMsg_< std::allocator< void > > SickLocColaTelegramMsg
Definition: SickLocColaTelegramMsg.h:65
sick_scan_xd::SickLocColaTelegramMsg_::header
_header_type header
Definition: SickLocColaTelegramMsg.h:45
Header.h
roswrap::message_traits::MD5Sum< ::sick_scan_xd::SickLocColaTelegramMsg_< ContainerAllocator > >::value
static const char * value()
Definition: SickLocColaTelegramMsg.h:143


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