RegionOfInterest.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 sensor_msgs/RegionOfInterest.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef SENSOR_MSGS_MESSAGE_REGIONOFINTEREST_H
7 #define SENSOR_MSGS_MESSAGE_REGIONOFINTEREST_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 sensor_msgs
21 {
22 template <class ContainerAllocator>
24 {
26 
28  : x_offset(0)
29  , y_offset(0)
30  , height(0)
31  , width(0)
32  , do_rectify(false) {
33  }
34  RegionOfInterest_(const ContainerAllocator& _alloc)
35  : x_offset(0)
36  , y_offset(0)
37  , height(0)
38  , width(0)
39  , do_rectify(false) {
40  (void)_alloc;
41  }
42 
43 
44 
45  typedef uint32_t _x_offset_type;
47 
48  typedef uint32_t _y_offset_type;
50 
51  typedef uint32_t _height_type;
53 
54  typedef uint32_t _width_type;
56 
57  typedef uint8_t _do_rectify_type;
59 
60 
61 
62 
63  typedef std::shared_ptr< ::sensor_msgs::RegionOfInterest_<ContainerAllocator> > Ptr;
64  typedef std::shared_ptr< ::sensor_msgs::RegionOfInterest_<ContainerAllocator> const> ConstPtr;
65 
66 }; // struct RegionOfInterest_
67 
68 typedef ::sensor_msgs::RegionOfInterest_<std::allocator<void> > RegionOfInterest;
69 
70 typedef std::shared_ptr< ::sensor_msgs::RegionOfInterest > RegionOfInterestPtr;
71 typedef std::shared_ptr< ::sensor_msgs::RegionOfInterest const> RegionOfInterestConstPtr;
72 
73 // constants requiring out of line definition
74 
75 
76 
77 template<typename ContainerAllocator>
78 std::ostream& operator<<(std::ostream& s, const ::sensor_msgs::RegionOfInterest_<ContainerAllocator> & v)
79 {
81 return s;
82 }
83 
84 } // namespace sensor_msgs
85 
86 namespace roswrap
87 {
88 namespace message_traits
89 {
90 
91 
92 
93 // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
94 // {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'geometry_msgs': ['/opt/ros/kinetic/share/geometry_msgs/cmake/../msg'], 'sensor_msgs': ['/tmp/binarydeb/ros-kinetic-sensor-msgs-1.12.5/msg']}
95 
96 // !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']
97 
98 
99 
100 
101 template <class ContainerAllocator>
102 struct IsFixedSize< ::sensor_msgs::RegionOfInterest_<ContainerAllocator> >
103  : TrueType
104  { };
105 
106 template <class ContainerAllocator>
107 struct IsFixedSize< ::sensor_msgs::RegionOfInterest_<ContainerAllocator> const>
108  : TrueType
109  { };
110 
111 template <class ContainerAllocator>
112 struct IsMessage< ::sensor_msgs::RegionOfInterest_<ContainerAllocator> >
113  : TrueType
114  { };
115 
116 template <class ContainerAllocator>
117 struct IsMessage< ::sensor_msgs::RegionOfInterest_<ContainerAllocator> const>
118  : TrueType
119  { };
120 
121 template <class ContainerAllocator>
122 struct HasHeader< ::sensor_msgs::RegionOfInterest_<ContainerAllocator> >
123  : FalseType
124  { };
125 
126 template <class ContainerAllocator>
127 struct HasHeader< ::sensor_msgs::RegionOfInterest_<ContainerAllocator> const>
128  : FalseType
129  { };
130 
131 
132 template<class ContainerAllocator>
133 struct MD5Sum< ::sensor_msgs::RegionOfInterest_<ContainerAllocator> >
134 {
135  static const char* value()
136  {
137  return "bdb633039d588fcccb441a4d43ccfe09";
138  }
139 
140  static const char* value(const ::sensor_msgs::RegionOfInterest_<ContainerAllocator>&) { return value(); }
141  static const uint64_t static_value1 = 0xbdb633039d588fccULL;
142  static const uint64_t static_value2 = 0xcb441a4d43ccfe09ULL;
143 };
144 
145 template<class ContainerAllocator>
146 struct DataType< ::sensor_msgs::RegionOfInterest_<ContainerAllocator> >
147 {
148  static const char* value()
149  {
150  return "sensor_msgs/RegionOfInterest";
151  }
152 
153  static const char* value(const ::sensor_msgs::RegionOfInterest_<ContainerAllocator>&) { return value(); }
154 };
155 
156 template<class ContainerAllocator>
157 struct Definition< ::sensor_msgs::RegionOfInterest_<ContainerAllocator> >
158 {
159  static const char* value()
160  {
161  return "# This message is used to specify a region of interest within an image.\n\
162 #\n\
163 # When used to specify the ROI setting of the camera when the image was\n\
164 # taken, the height and width fields should either match the height and\n\
165 # width fields for the associated image; or height = width = 0\n\
166 # indicates that the full resolution image was captured.\n\
167 \n\
168 uint32 x_offset # Leftmost pixel of the ROI\n\
169  # (0 if the ROI includes the left edge of the image)\n\
170 uint32 y_offset # Topmost pixel of the ROI\n\
171  # (0 if the ROI includes the top edge of the image)\n\
172 uint32 height # Height of ROI\n\
173 uint32 width # Width of ROI\n\
174 \n\
175 # True if a distinct rectified ROI should be calculated from the \"raw\"\n\
176 # ROI in this message. Typically this should be False if the full image\n\
177 # is captured (ROI not used), and True if a subwindow is captured (ROI\n\
178 # used).\n\
179 bool do_rectify\n\
180 ";
181  }
182 
183  static const char* value(const ::sensor_msgs::RegionOfInterest_<ContainerAllocator>&) { return value(); }
184 };
185 
186 } // namespace message_traits
187 } // namespace roswrap
188 
189 namespace roswrap
190 {
191 namespace serialization
192 {
193 
194  template<class ContainerAllocator> struct Serializer< ::sensor_msgs::RegionOfInterest_<ContainerAllocator> >
195  {
196  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
197  {
198  stream.next(m.x_offset);
199  stream.next(m.y_offset);
200  stream.next(m.height);
201  stream.next(m.width);
202  stream.next(m.do_rectify);
203  }
204 
206  }; // struct RegionOfInterest_
207 
208 } // namespace serialization
209 } // namespace roswrap
210 
211 namespace roswrap
212 {
213 namespace message_operations
214 {
215 
216 template<class ContainerAllocator>
217 struct Printer< ::sensor_msgs::RegionOfInterest_<ContainerAllocator> >
218 {
219  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sensor_msgs::RegionOfInterest_<ContainerAllocator>& v)
220  {
221  s << indent << "x_offset: ";
222  Printer<uint32_t>::stream(s, indent + " ", v.x_offset);
223  s << indent << "y_offset: ";
224  Printer<uint32_t>::stream(s, indent + " ", v.y_offset);
225  s << indent << "height: ";
226  Printer<uint32_t>::stream(s, indent + " ", v.height);
227  s << indent << "width: ";
228  Printer<uint32_t>::stream(s, indent + " ", v.width);
229  s << indent << "do_rectify: ";
230  Printer<uint8_t>::stream(s, indent + " ", v.do_rectify);
231  }
232 };
233 
234 } // namespace message_operations
235 } // namespace roswrap
236 
237 #endif // SENSOR_MSGS_MESSAGE_REGIONOFINTEREST_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
sensor_msgs::RegionOfInterest_::_width_type
uint32_t _width_type
Definition: RegionOfInterest.h:54
sensor_msgs::RegionOfInterest_::width
_width_type width
Definition: RegionOfInterest.h:55
multiscan_pcap_player.indent
indent
Definition: multiscan_pcap_player.py:252
roswrap::serialization::Serializer
Templated serialization class. Default implementation provides backwards compatibility with old messa...
Definition: serialization.h:120
roswrap::message_traits::MD5Sum< ::sensor_msgs::RegionOfInterest_< ContainerAllocator > >::value
static const char * value()
Definition: RegionOfInterest.h:135
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
sensor_msgs::RegionOfInterest_::RegionOfInterest_
RegionOfInterest_(const ContainerAllocator &_alloc)
Definition: RegionOfInterest.h:34
sensor_msgs::RegionOfInterest_::Ptr
std::shared_ptr< ::sensor_msgs::RegionOfInterest_< ContainerAllocator > > Ptr
Definition: RegionOfInterest.h:63
const
#define const
Definition: getopt.c:38
s
XmlRpcServer s
sensor_msgs::RegionOfInterest
::sensor_msgs::RegionOfInterest_< std::allocator< void > > RegionOfInterest
Definition: RegionOfInterest.h:68
sensor_msgs::RegionOfInterest_::_do_rectify_type
uint8_t _do_rectify_type
Definition: RegionOfInterest.h:57
sensor_msgs::RegionOfInterest_::ConstPtr
std::shared_ptr< ::sensor_msgs::RegionOfInterest_< ContainerAllocator > const > ConstPtr
Definition: RegionOfInterest.h:64
roswrap::message_operations::Printer::stream
static void stream(Stream &s, const std::string &indent, const M &value)
Definition: message_operations.h:43
sensor_msgs::RegionOfInterest_::_x_offset_type
uint32_t _x_offset_type
Definition: RegionOfInterest.h:45
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
roswrap::message_traits::Definition< ::sensor_msgs::RegionOfInterest_< ContainerAllocator > >::value
static const char * value(const ::sensor_msgs::RegionOfInterest_< ContainerAllocator > &)
Definition: RegionOfInterest.h:183
sensor_msgs::RegionOfInterest_::Type
RegionOfInterest_< ContainerAllocator > Type
Definition: RegionOfInterest.h:25
sensor_msgs::RegionOfInterest_::_y_offset_type
uint32_t _y_offset_type
Definition: RegionOfInterest.h:48
roswrap::message_operations::Printer< ::sensor_msgs::RegionOfInterest_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::sensor_msgs::RegionOfInterest_< ContainerAllocator > &v)
Definition: RegionOfInterest.h:219
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
sensor_msgs::RegionOfInterestPtr
std::shared_ptr< ::sensor_msgs::RegionOfInterest > RegionOfInterestPtr
Definition: RegionOfInterest.h:70
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::MD5Sum< ::sensor_msgs::RegionOfInterest_< ContainerAllocator > >::value
static const char * value(const ::sensor_msgs::RegionOfInterest_< ContainerAllocator > &)
Definition: RegionOfInterest.h:140
sensor_msgs::operator<<
std::ostream & operator<<(std::ostream &s, const ::sensor_msgs::BatteryState_< ContainerAllocator > &v)
Definition: BatteryState.h:187
sensor_msgs::RegionOfInterest_::height
_height_type height
Definition: RegionOfInterest.h:52
sensor_msgs::RegionOfInterest_::RegionOfInterest_
RegionOfInterest_()
Definition: RegionOfInterest.h:27
roswrap::message_traits::DataType< ::sensor_msgs::RegionOfInterest_< ContainerAllocator > >::value
static const char * value()
Definition: RegionOfInterest.h:148
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
roswrap::message_traits::DataType< ::sensor_msgs::RegionOfInterest_< ContainerAllocator > >::value
static const char * value(const ::sensor_msgs::RegionOfInterest_< ContainerAllocator > &)
Definition: RegionOfInterest.h:153
sensor_msgs::RegionOfInterest_::x_offset
_x_offset_type x_offset
Definition: RegionOfInterest.h:46
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
sensor_msgs::RegionOfInterest_::do_rectify
_do_rectify_type do_rectify
Definition: RegionOfInterest.h:58
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
roswrap::message_traits::Definition< ::sensor_msgs::RegionOfInterest_< ContainerAllocator > >::value
static const char * value()
Definition: RegionOfInterest.h:159
roswrap::serialization::Serializer< ::sensor_msgs::RegionOfInterest_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: RegionOfInterest.h:196
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
sensor_msgs::RegionOfInterest_::_height_type
uint32_t _height_type
Definition: RegionOfInterest.h:51
sensor_msgs::RegionOfInterest_
Definition: RegionOfInterest.h:23
sensor_msgs::RegionOfInterest_::y_offset
_y_offset_type y_offset
Definition: RegionOfInterest.h:49
sensor_msgs
Tools for manipulating sensor_msgs.
sensor_msgs::RegionOfInterestConstPtr
std::shared_ptr< ::sensor_msgs::RegionOfInterest const > RegionOfInterestConstPtr
Definition: RegionOfInterest.h:71


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