Char.h
Go to the documentation of this file.
1 // Generated by gencpp from file std_msgs/Char.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef STD_MSGS_MESSAGE_CHAR_H
6 #define STD_MSGS_MESSAGE_CHAR_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 Char_
23 {
25 
27  : data(0) {
28  }
29  Char_(const ContainerAllocator& _alloc)
30  : data(0) {
31  (void)_alloc;
32  }
33 
34 
35 
38 
39 
40 
41 
42  typedef std::shared_ptr< ::std_msgs::Char_<ContainerAllocator> > Ptr;
43  typedef std::shared_ptr< ::std_msgs::Char_<ContainerAllocator> const> ConstPtr;
44 
45 }; // struct Char_
46 
47 typedef ::std_msgs::Char_<std::allocator<void> > Char;
48 
49 typedef std::shared_ptr< ::std_msgs::Char > CharPtr;
50 typedef std::shared_ptr< ::std_msgs::Char const> CharConstPtr;
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::Char_<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::Char_<ContainerAllocator> >
82  : std::true_type
83  { };
84 
85 template <class ContainerAllocator>
86 struct IsFixedSize< ::std_msgs::Char_<ContainerAllocator> const>
87  : std::true_type
88  { };
89 
90 template <class ContainerAllocator>
91 struct IsMessage< ::std_msgs::Char_<ContainerAllocator> >
92  : std::true_type
93  { };
94 
95 template <class ContainerAllocator>
96 struct IsMessage< ::std_msgs::Char_<ContainerAllocator> const>
97  : std::true_type
98  { };
99 
100 template <class ContainerAllocator>
101 struct HasHeader< ::std_msgs::Char_<ContainerAllocator> >
102  : std::false_type
103  { };
104 
105 template <class ContainerAllocator>
106 struct HasHeader< ::std_msgs::Char_<ContainerAllocator> const>
107  : std::false_type
108  { };
109 
110 
111 template<class ContainerAllocator>
112 struct MD5Sum< ::std_msgs::Char_<ContainerAllocator> >
113 {
114  static const char* value()
115  {
116  return "1bf77f25acecdedba0e224b162199717";
117  }
118 
119  static const char* value(const ::std_msgs::Char_<ContainerAllocator>&) { return value(); }
120  static const uint64_t static_value1 = 0x1bf77f25acecdedbULL;
121  static const uint64_t static_value2 = 0xa0e224b162199717ULL;
122 };
123 
124 template<class ContainerAllocator>
125 struct DataType< ::std_msgs::Char_<ContainerAllocator> >
126 {
127  static const char* value()
128  {
129  return "std_msgs/Char";
130  }
131 
132  static const char* value(const ::std_msgs::Char_<ContainerAllocator>&) { return value(); }
133 };
134 
135 template<class ContainerAllocator>
136 struct Definition< ::std_msgs::Char_<ContainerAllocator> >
137 {
138  static const char* value()
139  {
140  return "char data\n\
141 ";
142  }
143 
144  static const char* value(const ::std_msgs::Char_<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::Char_<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 Char_
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::Char_<ContainerAllocator> >
175 {
176  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::Char_<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_CHAR_H
std_msgs::Char
::std_msgs::Char_< std::allocator< void > > Char
Definition: Char.h:47
uint8_t
unsigned char uint8_t
Definition: stdint.h:78
rs2rosinternal::message_operations::Printer< ::std_msgs::Char_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::std_msgs::Char_< ContainerAllocator > &v)
Definition: Char.h:176
rs2rosinternal::serialization::Serializer< ::std_msgs::Char_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: Char.h:157
data
Definition: parser.hpp:153
rs2rosinternal::message_traits::DataType< ::std_msgs::Char_< ContainerAllocator > >::value
static const char * value(const ::std_msgs::Char_< ContainerAllocator > &)
Definition: Char.h:132
v
GLdouble v
Definition: glad/glad/glad.h:2144
string
GLsizei const GLchar *const * string
Definition: glad/glad/glad.h:2861
void
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
std_msgs::Char_::Ptr
std::shared_ptr< ::std_msgs::Char_< ContainerAllocator > > Ptr
Definition: Char.h:42
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::Char_::data
_data_type data
Definition: Char.h:37
rs2rosinternal
Definition: datatypes.h:39
serialization.h
rs2rosinternal::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:90
m
std::mutex m
Definition: test-waiting-on.cpp:126
builtin_message_traits.h
std_msgs::Char_::Char_
Char_()
Definition: Char.h:26
std_msgs
Definition: ros2header.h:56
uint64_t
unsigned __int64 uint64_t
Definition: stdint.h:90
std_msgs::Char_::_data_type
uint8_t _data_type
Definition: Char.h:36
std_msgs::Char_::ConstPtr
std::shared_ptr< ::std_msgs::Char_< ContainerAllocator > const > ConstPtr
Definition: Char.h:43
std_msgs::CharConstPtr
std::shared_ptr< ::std_msgs::Char const > CharConstPtr
Definition: Char.h:50
rs2rosinternal::message_traits::MD5Sum< ::std_msgs::Char_< ContainerAllocator > >::value
static const char * value()
Definition: Char.h:114
test-device-discovery.stream
stream
Definition: test-device-discovery.py:295
rspy.log.indent
def indent(str, line_prefix=' ')
Definition: log.py:122
rs2rosinternal::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:130
rs2rosinternal::message_traits::MD5Sum
Specialize to provide the md5sum for a message.
Definition: message_traits.h:96
std_msgs::CharPtr
std::shared_ptr< ::std_msgs::Char > CharPtr
Definition: Char.h:49
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
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
rs2rosinternal::message_traits::DataType< ::std_msgs::Char_< ContainerAllocator > >::value
static const char * value()
Definition: Char.h:127
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::MD5Sum< ::std_msgs::Char_< ContainerAllocator > >::value
static const char * value(const ::std_msgs::Char_< ContainerAllocator > &)
Definition: Char.h:119
rs2rosinternal::message_traits::DataType
Specialize to provide the datatype for a message.
Definition: message_traits.h:113
std_msgs::Char_::Char_
Char_(const ContainerAllocator &_alloc)
Definition: Char.h:29
std_msgs::operator<<
std::ostream & operator<<(std::ostream &s, const ::std_msgs::Bool_< ContainerAllocator > &v)
Definition: Bool.h:57
std_msgs::Char_::Type
Char_< ContainerAllocator > Type
Definition: Char.h:24
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
rs2rosinternal::message_traits::Definition< ::std_msgs::Char_< ContainerAllocator > >::value
static const char * value()
Definition: Char.h:138
std_msgs::Char_
Definition: Char.h:22
types.h
message_operations.h
rs2rosinternal::message_traits::Definition< ::std_msgs::Char_< ContainerAllocator > >::value
static const char * value(const ::std_msgs::Char_< ContainerAllocator > &)
Definition: Char.h:144


librealsense2
Author(s): LibRealSense ROS Team
autogenerated on Fri Aug 2 2024 08:30:01