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


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