ColorRGBA.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 std_msgs/ColorRGBA.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef STD_MSGS_MESSAGE_COLORRGBA_H
7 #define STD_MSGS_MESSAGE_COLORRGBA_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 std_msgs
21 {
22 template <class ContainerAllocator>
23 struct ColorRGBA_
24 {
26 
28  : r(0.0)
29  , g(0.0)
30  , b(0.0)
31  , a(0.0) {
32  }
33  ColorRGBA_(const ContainerAllocator& _alloc)
34  : r(0.0)
35  , g(0.0)
36  , b(0.0)
37  , a(0.0) {
38  (void)_alloc;
39  }
40 
41 
42 
43  typedef float _r_type;
45 
46  typedef float _g_type;
48 
49  typedef float _b_type;
51 
52  typedef float _a_type;
54 
55 
56 
57 
58  typedef std::shared_ptr< ::std_msgs::ColorRGBA_<ContainerAllocator> > Ptr;
59  typedef std::shared_ptr< ::std_msgs::ColorRGBA_<ContainerAllocator> const> ConstPtr;
60 
61 }; // struct ColorRGBA_
62 
63 typedef ::std_msgs::ColorRGBA_<std::allocator<void> > ColorRGBA;
64 
65 typedef std::shared_ptr< ::std_msgs::ColorRGBA > ColorRGBAPtr;
66 typedef std::shared_ptr< ::std_msgs::ColorRGBA const> ColorRGBAConstPtr;
67 
68 // constants requiring out of line definition
69 
70 
71 
72 template<typename ContainerAllocator>
73 std::ostream& operator<<(std::ostream& s, const ::std_msgs::ColorRGBA_<ContainerAllocator> & v)
74 {
76 return s;
77 }
78 
79 } // namespace std_msgs
80 
81 namespace roswrap
82 {
83 namespace message_traits
84 {
85 
86 
87 
88 // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
89 // {'std_msgs': ['/tmp/binarydeb/ros-kinetic-std-msgs-0.5.11/msg']}
90 
91 // !!!!!!!!!!! ['__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']
92 
93 
94 
95 
96 template <class ContainerAllocator>
97 struct IsFixedSize< ::std_msgs::ColorRGBA_<ContainerAllocator> >
98  : TrueType
99  { };
100 
101 template <class ContainerAllocator>
102 struct IsFixedSize< ::std_msgs::ColorRGBA_<ContainerAllocator> const>
103  : TrueType
104  { };
105 
106 template <class ContainerAllocator>
107 struct IsMessage< ::std_msgs::ColorRGBA_<ContainerAllocator> >
108  : TrueType
109  { };
110 
111 template <class ContainerAllocator>
112 struct IsMessage< ::std_msgs::ColorRGBA_<ContainerAllocator> const>
113  : TrueType
114  { };
115 
116 template <class ContainerAllocator>
117 struct HasHeader< ::std_msgs::ColorRGBA_<ContainerAllocator> >
118  : FalseType
119  { };
120 
121 template <class ContainerAllocator>
122 struct HasHeader< ::std_msgs::ColorRGBA_<ContainerAllocator> const>
123  : FalseType
124  { };
125 
126 
127 template<class ContainerAllocator>
128 struct MD5Sum< ::std_msgs::ColorRGBA_<ContainerAllocator> >
129 {
130  static const char* value()
131  {
132  return "a29a96539573343b1310c73607334b00";
133  }
134 
135  static const char* value(const ::std_msgs::ColorRGBA_<ContainerAllocator>&) { return value(); }
136  static const uint64_t static_value1 = 0xa29a96539573343bULL;
137  static const uint64_t static_value2 = 0x1310c73607334b00ULL;
138 };
139 
140 template<class ContainerAllocator>
141 struct DataType< ::std_msgs::ColorRGBA_<ContainerAllocator> >
142 {
143  static const char* value()
144  {
145  return "std_msgs/ColorRGBA";
146  }
147 
148  static const char* value(const ::std_msgs::ColorRGBA_<ContainerAllocator>&) { return value(); }
149 };
150 
151 template<class ContainerAllocator>
152 struct Definition< ::std_msgs::ColorRGBA_<ContainerAllocator> >
153 {
154  static const char* value()
155  {
156  return "float32 r\n\
157 float32 g\n\
158 float32 b\n\
159 float32 a\n\
160 ";
161  }
162 
163  static const char* value(const ::std_msgs::ColorRGBA_<ContainerAllocator>&) { return value(); }
164 };
165 
166 } // namespace message_traits
167 } // namespace roswrap
168 
169 namespace roswrap
170 {
171 namespace serialization
172 {
173 
174  template<class ContainerAllocator> struct Serializer< ::std_msgs::ColorRGBA_<ContainerAllocator> >
175  {
176  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
177  {
178  stream.next(m.r);
179  stream.next(m.g);
180  stream.next(m.b);
181  stream.next(m.a);
182  }
183 
185  }; // struct ColorRGBA_
186 
187 } // namespace serialization
188 } // namespace roswrap
189 
190 namespace roswrap
191 {
192 namespace message_operations
193 {
194 
195 template<class ContainerAllocator>
196 struct Printer< ::std_msgs::ColorRGBA_<ContainerAllocator> >
197 {
198  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::ColorRGBA_<ContainerAllocator>& v)
199  {
200  s << indent << "r: ";
201  Printer<float>::stream(s, indent + " ", v.r);
202  s << indent << "g: ";
203  Printer<float>::stream(s, indent + " ", v.g);
204  s << indent << "b: ";
205  Printer<float>::stream(s, indent + " ", v.b);
206  s << indent << "a: ";
207  Printer<float>::stream(s, indent + " ", v.a);
208  }
209 };
210 
211 } // namespace message_operations
212 } // namespace roswrap
213 
214 #endif // STD_MSGS_MESSAGE_COLORRGBA_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
roswrap::message_traits::MD5Sum< ::std_msgs::ColorRGBA_< ContainerAllocator > >::value
static const char * value(const ::std_msgs::ColorRGBA_< ContainerAllocator > &)
Definition: ColorRGBA.h:135
multiscan_pcap_player.indent
indent
Definition: multiscan_pcap_player.py:252
std_msgs::ColorRGBA_
Definition: ColorRGBA.h:23
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
std_msgs::ColorRGBA_::g
_g_type g
Definition: ColorRGBA.h:47
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
std_msgs::ColorRGBAPtr
std::shared_ptr< ::std_msgs::ColorRGBA > ColorRGBAPtr
Definition: ColorRGBA.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
std_msgs::ColorRGBA_::b
_b_type b
Definition: ColorRGBA.h:50
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
std_msgs::ColorRGBA_::_g_type
float _g_type
Definition: ColorRGBA.h:46
roswrap::message_traits::DataType< ::std_msgs::ColorRGBA_< ContainerAllocator > >::value
static const char * value(const ::std_msgs::ColorRGBA_< ContainerAllocator > &)
Definition: ColorRGBA.h:148
std_msgs::ColorRGBA_::ColorRGBA_
ColorRGBA_(const ContainerAllocator &_alloc)
Definition: ColorRGBA.h:33
std_msgs::ColorRGBA_::r
_r_type r
Definition: ColorRGBA.h:44
std_msgs
roswrap::serialization::Serializer< ::std_msgs::ColorRGBA_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: ColorRGBA.h:176
std_msgs::ColorRGBA_::_b_type
float _b_type
Definition: ColorRGBA.h:49
std_msgs::ColorRGBA_::Ptr
std::shared_ptr< ::std_msgs::ColorRGBA_< ContainerAllocator > > Ptr
Definition: ColorRGBA.h:58
roswrap::message_traits::MD5Sum< ::std_msgs::ColorRGBA_< ContainerAllocator > >::value
static const char * value()
Definition: ColorRGBA.h:130
roswrap
Definition: param_modi.cpp:41
std_msgs::ColorRGBA_::ConstPtr
std::shared_ptr< ::std_msgs::ColorRGBA_< ContainerAllocator > const > ConstPtr
Definition: ColorRGBA.h:59
roswrap::message_operations::Printer
Definition: message_operations.h:40
std_msgs::ColorRGBA_::Type
ColorRGBA_< ContainerAllocator > Type
Definition: ColorRGBA.h:25
std_msgs::ColorRGBA
::std_msgs::ColorRGBA_< std::allocator< void > > ColorRGBA
Definition: ColorRGBA.h:63
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::Definition< ::std_msgs::ColorRGBA_< ContainerAllocator > >::value
static const char * value(const ::std_msgs::ColorRGBA_< ContainerAllocator > &)
Definition: ColorRGBA.h:163
roswrap::message_operations::Printer< ::std_msgs::ColorRGBA_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::std_msgs::ColorRGBA_< ContainerAllocator > &v)
Definition: ColorRGBA.h:198
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
roswrap::message_traits::DataType< ::std_msgs::ColorRGBA_< ContainerAllocator > >::value
static const char * value()
Definition: ColorRGBA.h:143
std_msgs::ColorRGBAConstPtr
std::shared_ptr< ::std_msgs::ColorRGBA const > ColorRGBAConstPtr
Definition: ColorRGBA.h:66
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
std_msgs::operator<<
std::ostream & operator<<(std::ostream &s, const ::std_msgs::Bool_< ContainerAllocator > &v)
Definition: Bool.h:58
std_msgs::ColorRGBA_::_a_type
float _a_type
Definition: ColorRGBA.h:52
std_msgs::ColorRGBA_::ColorRGBA_
ColorRGBA_()
Definition: ColorRGBA.h:27
std_msgs::ColorRGBA_::_r_type
float _r_type
Definition: ColorRGBA.h:43
roswrap::message_traits::Definition< ::std_msgs::ColorRGBA_< ContainerAllocator > >::value
static const char * value()
Definition: ColorRGBA.h:154
std_msgs::ColorRGBA_::a
_a_type a
Definition: ColorRGBA.h:53


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