ColorRGBA.h
Go to the documentation of this file.
1 // Generated by gencpp from file std_msgs/ColorRGBA.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef STD_MSGS_MESSAGE_COLORRGBA_H
6 #define STD_MSGS_MESSAGE_COLORRGBA_H
7 
8 
9 #include <string>
10 #include <vector>
11 #include <map>
12 
13 #include <ros/types.h>
14 #include <ros/serialization.h>
16 #include <ros/message_operations.h>
17 
18 
19 namespace std_msgs
20 {
21 template <class ContainerAllocator>
22 struct ColorRGBA_
23 {
25 
27  : r(0.0)
28  , g(0.0)
29  , b(0.0)
30  , a(0.0) {
31  }
32  ColorRGBA_(const ContainerAllocator& _alloc)
33  : r(0.0)
34  , g(0.0)
35  , b(0.0)
36  , a(0.0) {
37  (void)_alloc;
38  }
39 
40 
41 
42  typedef float _r_type;
44 
45  typedef float _g_type;
47 
48  typedef float _b_type;
50 
51  typedef float _a_type;
53 
54 
55 
56 
57  typedef std::shared_ptr< ::std_msgs::ColorRGBA_<ContainerAllocator> > Ptr;
58  typedef std::shared_ptr< ::std_msgs::ColorRGBA_<ContainerAllocator> const> ConstPtr;
59 
60 }; // struct ColorRGBA_
61 
62 typedef ::std_msgs::ColorRGBA_<std::allocator<void> > ColorRGBA;
63 
64 typedef std::shared_ptr< ::std_msgs::ColorRGBA > ColorRGBAPtr;
65 typedef std::shared_ptr< ::std_msgs::ColorRGBA const> ColorRGBAConstPtr;
66 
67 // constants requiring out of line definition
68 
69 
70 
71 template<typename ContainerAllocator>
72 std::ostream& operator<<(std::ostream& s, const ::std_msgs::ColorRGBA_<ContainerAllocator> & v)
73 {
75 return s;
76 }
77 
78 } // namespace std_msgs
79 
80 namespace rs2rosinternal
81 {
82 namespace message_traits
83 {
84 
85 
86 
87 // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
88 // {'std_msgs': ['/tmp/binarydeb/ros-kinetic-std-msgs-0.5.10/msg']}
89 
90 // !!!!!!!!!!! ['__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']
91 
92 
93 
94 
95 template <class ContainerAllocator>
96 struct IsFixedSize< ::std_msgs::ColorRGBA_<ContainerAllocator> >
97  : std::true_type
98  { };
99 
100 template <class ContainerAllocator>
101 struct IsFixedSize< ::std_msgs::ColorRGBA_<ContainerAllocator> const>
102  : std::true_type
103  { };
104 
105 template <class ContainerAllocator>
106 struct IsMessage< ::std_msgs::ColorRGBA_<ContainerAllocator> >
107  : std::true_type
108  { };
109 
110 template <class ContainerAllocator>
111 struct IsMessage< ::std_msgs::ColorRGBA_<ContainerAllocator> const>
112  : std::true_type
113  { };
114 
115 template <class ContainerAllocator>
116 struct HasHeader< ::std_msgs::ColorRGBA_<ContainerAllocator> >
117  : std::false_type
118  { };
119 
120 template <class ContainerAllocator>
121 struct HasHeader< ::std_msgs::ColorRGBA_<ContainerAllocator> const>
122  : std::false_type
123  { };
124 
125 
126 template<class ContainerAllocator>
127 struct MD5Sum< ::std_msgs::ColorRGBA_<ContainerAllocator> >
128 {
129  static const char* value()
130  {
131  return "a29a96539573343b1310c73607334b00";
132  }
133 
134  static const char* value(const ::std_msgs::ColorRGBA_<ContainerAllocator>&) { return value(); }
135  static const uint64_t static_value1 = 0xa29a96539573343bULL;
136  static const uint64_t static_value2 = 0x1310c73607334b00ULL;
137 };
138 
139 template<class ContainerAllocator>
140 struct DataType< ::std_msgs::ColorRGBA_<ContainerAllocator> >
141 {
142  static const char* value()
143  {
144  return "std_msgs/ColorRGBA";
145  }
146 
147  static const char* value(const ::std_msgs::ColorRGBA_<ContainerAllocator>&) { return value(); }
148 };
149 
150 template<class ContainerAllocator>
151 struct Definition< ::std_msgs::ColorRGBA_<ContainerAllocator> >
152 {
153  static const char* value()
154  {
155  return "float32 r\n\
156 float32 g\n\
157 float32 b\n\
158 float32 a\n\
159 ";
160  }
161 
162  static const char* value(const ::std_msgs::ColorRGBA_<ContainerAllocator>&) { return value(); }
163 };
164 
165 } // namespace message_traits
166 } // namespace rs2rosinternal
167 
168 namespace rs2rosinternal
169 {
170 namespace serialization
171 {
172 
173  template<class ContainerAllocator> struct Serializer< ::std_msgs::ColorRGBA_<ContainerAllocator> >
174  {
175  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
176  {
177  stream.next(m.r);
178  stream.next(m.g);
179  stream.next(m.b);
180  stream.next(m.a);
181  }
182 
184  }; // struct ColorRGBA_
185 
186 } // namespace serialization
187 } // namespace rs2rosinternal
188 
189 namespace rs2rosinternal
190 {
191 namespace message_operations
192 {
193 
194 template<class ContainerAllocator>
195 struct Printer< ::std_msgs::ColorRGBA_<ContainerAllocator> >
196 {
197  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::ColorRGBA_<ContainerAllocator>& v)
198  {
199  s << indent << "r: ";
200  Printer<float>::stream(s, indent + " ", v.r);
201  s << indent << "g: ";
202  Printer<float>::stream(s, indent + " ", v.g);
203  s << indent << "b: ";
204  Printer<float>::stream(s, indent + " ", v.b);
205  s << indent << "a: ";
206  Printer<float>::stream(s, indent + " ", v.a);
207  }
208 };
209 
210 } // namespace message_operations
211 } // namespace rs2rosinternal
212 
213 #endif // STD_MSGS_MESSAGE_COLORRGBA_H
std_msgs::ColorRGBA_
Definition: ColorRGBA.h:22
rs2rosinternal::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:197
std_msgs::ColorRGBA_::g
_g_type g
Definition: ColorRGBA.h:46
b
GLboolean GLboolean GLboolean b
Definition: glad/glad/glad.h:3064
v
GLdouble v
Definition: glad/glad/glad.h:2144
string
GLsizei const GLchar *const * string
Definition: glad/glad/glad.h:2861
rs2rosinternal::message_traits::Definition< ::std_msgs::ColorRGBA_< ContainerAllocator > >::value
static const char * value()
Definition: ColorRGBA.h:153
void
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
rs2rosinternal::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:81
std_msgs::ColorRGBAPtr
std::shared_ptr< ::std_msgs::ColorRGBA > ColorRGBAPtr
Definition: ColorRGBA.h:64
rs2rosinternal
Definition: datatypes.h:39
std_msgs::ColorRGBA_::b
_b_type b
Definition: ColorRGBA.h:49
serialization.h
rs2rosinternal::serialization::Serializer< ::std_msgs::ColorRGBA_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: ColorRGBA.h:175
rs2rosinternal::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:90
m
std::mutex m
Definition: test-waiting-on.cpp:126
std_msgs::ColorRGBA_::_g_type
float _g_type
Definition: ColorRGBA.h:45
r
GLdouble GLdouble r
Definition: glad/glad/glad.h:1853
builtin_message_traits.h
std_msgs::ColorRGBA_::ColorRGBA_
ColorRGBA_(const ContainerAllocator &_alloc)
Definition: ColorRGBA.h:32
std_msgs::ColorRGBA_::r
_r_type r
Definition: ColorRGBA.h:43
std_msgs
Definition: ros2header.h:56
uint64_t
unsigned __int64 uint64_t
Definition: stdint.h:90
rs2rosinternal::message_traits::MD5Sum< ::std_msgs::ColorRGBA_< ContainerAllocator > >::value
static const char * value(const ::std_msgs::ColorRGBA_< ContainerAllocator > &)
Definition: ColorRGBA.h:134
g
GLboolean GLboolean g
Definition: glad/glad/glad.h:3064
std_msgs::ColorRGBA_::_b_type
float _b_type
Definition: ColorRGBA.h:48
std_msgs::ColorRGBA_::Ptr
std::shared_ptr< ::std_msgs::ColorRGBA_< ContainerAllocator > > Ptr
Definition: ColorRGBA.h:57
a
GLboolean GLboolean GLboolean GLboolean a
Definition: glad/glad/glad.h:3064
std_msgs::ColorRGBA_::ConstPtr
std::shared_ptr< ::std_msgs::ColorRGBA_< ContainerAllocator > const > ConstPtr
Definition: ColorRGBA.h:58
test-device-discovery.stream
stream
Definition: test-device-discovery.py:295
std_msgs::ColorRGBA_::Type
ColorRGBA_< ContainerAllocator > Type
Definition: ColorRGBA.h:24
rspy.log.indent
def indent(str, line_prefix=' ')
Definition: log.py:122
std_msgs::ColorRGBA
::std_msgs::ColorRGBA_< std::allocator< void > > ColorRGBA
Definition: ColorRGBA.h:62
rs2rosinternal::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:130
rs2rosinternal::message_traits::DataType< ::std_msgs::ColorRGBA_< ContainerAllocator > >::value
static const char * value(const ::std_msgs::ColorRGBA_< ContainerAllocator > &)
Definition: ColorRGBA.h:147
rs2rosinternal::message_traits::Definition< ::std_msgs::ColorRGBA_< ContainerAllocator > >::value
static const char * value(const ::std_msgs::ColorRGBA_< ContainerAllocator > &)
Definition: ColorRGBA.h:162
rs2rosinternal::message_traits::MD5Sum
Specialize to provide the md5sum for a message.
Definition: message_traits.h:96
rs2rosinternal::message_traits::DataType< ::std_msgs::ColorRGBA_< ContainerAllocator > >::value
static const char * value()
Definition: ColorRGBA.h:142
rs2rosinternal::serialization::Serializer
Templated serialization class. Default implementation provides backwards compatibility with old messa...
Definition: third-party/realsense-file/rosbag/roscpp_serialization/include/ros/serialization.h:111
rs2rosinternal::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:85
rs2rosinternal::message_traits::MD5Sum< ::std_msgs::ColorRGBA_< ContainerAllocator > >::value
static const char * value()
Definition: ColorRGBA.h:129
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: third-party/realsense-file/rosbag/roscpp_serialization/include/ros/serialization.h:66
std_msgs::ColorRGBAConstPtr
std::shared_ptr< ::std_msgs::ColorRGBA const > ColorRGBAConstPtr
Definition: ColorRGBA.h:65
rs2rosinternal::message_operations::Printer::stream
static void stream(Stream &s, const std::string &indent, const M &value)
Definition: message_operations.h:42
rs2rosinternal::message_operations::Printer
Definition: message_operations.h:39
rs2rosinternal::message_traits::DataType
Specialize to provide the datatype for a message.
Definition: message_traits.h:113
std_msgs::operator<<
std::ostream & operator<<(std::ostream &s, const ::std_msgs::Bool_< ContainerAllocator > &v)
Definition: Bool.h:57
std_msgs::ColorRGBA_::_a_type
float _a_type
Definition: ColorRGBA.h:51
rs2rosinternal::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: third-party/realsense-file/rosbag/roscpp_serialization/include/ros/serialization.h:694
s
GLdouble s
Definition: glad/glad/glad.h:2441
types.h
message_operations.h
std_msgs::ColorRGBA_::ColorRGBA_
ColorRGBA_()
Definition: ColorRGBA.h:26
std_msgs::ColorRGBA_::_r_type
float _r_type
Definition: ColorRGBA.h:42
std_msgs::ColorRGBA_::a
_a_type a
Definition: ColorRGBA.h:52


librealsense2
Author(s): LibRealSense ROS Team
autogenerated on Mon Apr 22 2024 02:12:55