Bool.h
Go to the documentation of this file.
1 // Generated by gencpp from file std_msgs/Bool.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef STD_MSGS_MESSAGE_BOOL_H
6 #define STD_MSGS_MESSAGE_BOOL_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 Bool_
23 {
25 
27  : data(false) {
28  }
29  Bool_(const ContainerAllocator& _alloc)
30  : data(false) {
31  (void)_alloc;
32  }
33 
34 
35 
37  _data_type data;
38 
39 
40 
41 
44 
45 }; // struct Bool_
46 
47 typedef ::std_msgs::Bool_<std::allocator<void> > Bool;
48 
51 
52 // constants requiring out of line definition
53 
54 
55 
56 template<typename ContainerAllocator>
57 std::ostream& operator<<(std::ostream& s, const ::std_msgs::Bool_<ContainerAllocator> & v)
58 {
60 return s;
61 }
62 
63 } // namespace std_msgs
64 
65 namespace rs2rosinternal
66 {
67 namespace message_traits
68 {
69 
70 
71 
72 // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
73 // {'std_msgs': ['/tmp/binarydeb/ros-kinetic-std-msgs-0.5.10/msg']}
74 
75 // !!!!!!!!!!! ['__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']
76 
77 
78 
79 
80 template <class ContainerAllocator>
81 struct IsFixedSize< ::std_msgs::Bool_<ContainerAllocator> >
82  : TrueType
83  { };
84 
85 template <class ContainerAllocator>
86 struct IsFixedSize< ::std_msgs::Bool_<ContainerAllocator> const>
87  : TrueType
88  { };
89 
90 template <class ContainerAllocator>
91 struct IsMessage< ::std_msgs::Bool_<ContainerAllocator> >
92  : TrueType
93  { };
94 
95 template <class ContainerAllocator>
96 struct IsMessage< ::std_msgs::Bool_<ContainerAllocator> const>
97  : TrueType
98  { };
99 
100 template <class ContainerAllocator>
101 struct HasHeader< ::std_msgs::Bool_<ContainerAllocator> >
102  : FalseType
103  { };
104 
105 template <class ContainerAllocator>
106 struct HasHeader< ::std_msgs::Bool_<ContainerAllocator> const>
107  : FalseType
108  { };
109 
110 
111 template<class ContainerAllocator>
112 struct MD5Sum< ::std_msgs::Bool_<ContainerAllocator> >
113 {
114  static const char* value()
115  {
116  return "8b94c1b53db61fb6aed406028ad6332a";
117  }
118 
119  static const char* value(const ::std_msgs::Bool_<ContainerAllocator>&) { return value(); }
120  static const uint64_t static_value1 = 0x8b94c1b53db61fb6ULL;
121  static const uint64_t static_value2 = 0xaed406028ad6332aULL;
122 };
123 
124 template<class ContainerAllocator>
125 struct DataType< ::std_msgs::Bool_<ContainerAllocator> >
126 {
127  static const char* value()
128  {
129  return "std_msgs/Bool";
130  }
131 
132  static const char* value(const ::std_msgs::Bool_<ContainerAllocator>&) { return value(); }
133 };
134 
135 template<class ContainerAllocator>
136 struct Definition< ::std_msgs::Bool_<ContainerAllocator> >
137 {
138  static const char* value()
139  {
140  return "bool data\n\
141 ";
142  }
143 
144  static const char* value(const ::std_msgs::Bool_<ContainerAllocator>&) { return value(); }
145 };
146 
147 } // namespace message_traits
148 } // namespace rs2rosinternal
149 
150 namespace rs2rosinternal
151 {
152 namespace serialization
153 {
154 
155  template<class ContainerAllocator> struct Serializer< ::std_msgs::Bool_<ContainerAllocator> >
156  {
157  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
158  {
159  stream.next(m.data);
160  }
161 
163  }; // struct Bool_
164 
165 } // namespace serialization
166 } // namespace rs2rosinternal
167 
168 namespace rs2rosinternal
169 {
170 namespace message_operations
171 {
172 
173 template<class ContainerAllocator>
174 struct Printer< ::std_msgs::Bool_<ContainerAllocator> >
175 {
176  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::Bool_<ContainerAllocator>& v)
177  {
178  s << indent << "data: ";
179  Printer<uint8_t>::stream(s, indent + " ", v.data);
180  }
181 };
182 
183 } // namespace message_operations
184 } // namespace rs2rosinternal
185 
186 #endif // STD_MSGS_MESSAGE_BOOL_H
Bool_(const ContainerAllocator &_alloc)
Definition: Bool.h:29
uint8_t _data_type
Definition: Bool.h:36
boost::shared_ptr< ::std_msgs::Bool const > BoolConstPtr
Definition: Bool.h:50
static const char * value(const ::std_msgs::Bool_< ContainerAllocator > &)
Definition: Bool.h:144
boost::shared_ptr< ::std_msgs::Bool > BoolPtr
Definition: Bool.h:49
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
GLdouble s
Specialize to provide the md5sum for a message.
std::mutex m
def indent(str, line_prefix=' ')
Definition: log.py:88
static void stream(Stream &s, const std::string &indent, const ::std_msgs::Bool_< ContainerAllocator > &v)
Definition: Bool.h:176
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
boost::shared_ptr< ::std_msgs::Bool_< ContainerAllocator > > Ptr
Definition: Bool.h:42
Specialize to provide the datatype for a message.
HasHeader informs whether or not there is a header that gets serialized as the first thing in the mes...
unsigned char uint8_t
Definition: stdint.h:78
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
Stream base-class, provides common functionality for IStream and OStream.
static const char * value(const ::std_msgs::Bool_< ContainerAllocator > &)
Definition: Bool.h:119
::std_msgs::Bool_< std::allocator< void > > Bool
Definition: Bool.h:47
static const char * value(const ::std_msgs::Bool_< ContainerAllocator > &)
Definition: Bool.h:132
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
Definition: Bool.h:19
unsigned __int64 uint64_t
Definition: stdint.h:90
Specialize to provide the definition for a message.
_data_type data
Definition: Bool.h:37
Templated serialization class. Default implementation provides backwards compatibility with old messa...
boost::shared_ptr< ::std_msgs::Bool_< ContainerAllocator > const > ConstPtr
Definition: Bool.h:43
GLdouble v
Definition: parser.hpp:153
Bool_< ContainerAllocator > Type
Definition: Bool.h:24


librealsense2
Author(s): LibRealSense ROS Team
autogenerated on Thu Dec 22 2022 03:41:42