Empty.h
Go to the documentation of this file.
1 // Generated by gencpp from file std_msgs/Empty.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef STD_MSGS_MESSAGE_EMPTY_H
6 #define STD_MSGS_MESSAGE_EMPTY_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 Empty_
23 {
25 
27  {
28  }
29  Empty_(const ContainerAllocator& _alloc)
30  {
31  (void)_alloc;
32  }
33 
34 
35 
36 
37 
38 
41 
42 }; // struct Empty_
43 
44 typedef ::std_msgs::Empty_<std::allocator<void> > Empty;
45 
48 
49 // constants requiring out of line definition
50 
51 
52 
53 template<typename ContainerAllocator>
54 std::ostream& operator<<(std::ostream& s, const ::std_msgs::Empty_<ContainerAllocator> & v)
55 {
57 return s;
58 }
59 
60 } // namespace std_msgs
61 
62 namespace rs2rosinternal
63 {
64 namespace message_traits
65 {
66 
67 
68 
69 // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
70 // {'std_msgs': ['/tmp/binarydeb/ros-kinetic-std-msgs-0.5.10/msg']}
71 
72 // !!!!!!!!!!! ['__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']
73 
74 
75 
76 
77 template <class ContainerAllocator>
78 struct IsFixedSize< ::std_msgs::Empty_<ContainerAllocator> >
79  : TrueType
80  { };
81 
82 template <class ContainerAllocator>
83 struct IsFixedSize< ::std_msgs::Empty_<ContainerAllocator> const>
84  : TrueType
85  { };
86 
87 template <class ContainerAllocator>
88 struct IsMessage< ::std_msgs::Empty_<ContainerAllocator> >
89  : TrueType
90  { };
91 
92 template <class ContainerAllocator>
93 struct IsMessage< ::std_msgs::Empty_<ContainerAllocator> const>
94  : TrueType
95  { };
96 
97 template <class ContainerAllocator>
98 struct HasHeader< ::std_msgs::Empty_<ContainerAllocator> >
99  : FalseType
100  { };
101 
102 template <class ContainerAllocator>
103 struct HasHeader< ::std_msgs::Empty_<ContainerAllocator> const>
104  : FalseType
105  { };
106 
107 
108 template<class ContainerAllocator>
109 struct MD5Sum< ::std_msgs::Empty_<ContainerAllocator> >
110 {
111  static const char* value()
112  {
113  return "d41d8cd98f00b204e9800998ecf8427e";
114  }
115 
116  static const char* value(const ::std_msgs::Empty_<ContainerAllocator>&) { return value(); }
117  static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
118  static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
119 };
120 
121 template<class ContainerAllocator>
122 struct DataType< ::std_msgs::Empty_<ContainerAllocator> >
123 {
124  static const char* value()
125  {
126  return "std_msgs/Empty";
127  }
128 
129  static const char* value(const ::std_msgs::Empty_<ContainerAllocator>&) { return value(); }
130 };
131 
132 template<class ContainerAllocator>
133 struct Definition< ::std_msgs::Empty_<ContainerAllocator> >
134 {
135  static const char* value()
136  {
137  return "\n\
138 ";
139  }
140 
141  static const char* value(const ::std_msgs::Empty_<ContainerAllocator>&) { return value(); }
142 };
143 
144 } // namespace message_traits
145 } // namespace rs2rosinternal
146 
147 namespace rs2rosinternal
148 {
149 namespace serialization
150 {
151 
152  template<class ContainerAllocator> struct Serializer< ::std_msgs::Empty_<ContainerAllocator> >
153  {
154  template<typename Stream, typename T> inline static void allInOne(Stream&, T)
155  {}
156 
158  }; // struct Empty_
159 
160 } // namespace serialization
161 } // namespace rs2rosinternal
162 
163 namespace rs2rosinternal
164 {
165 namespace message_operations
166 {
167 
168 template<class ContainerAllocator>
169 struct Printer< ::std_msgs::Empty_<ContainerAllocator> >
170 {
171  template<typename Stream> static void stream(Stream&, const std::string&, const ::std_msgs::Empty_<ContainerAllocator>&)
172  {}
173 };
174 
175 } // namespace message_operations
176 } // namespace rs2rosinternal
177 
178 #endif // STD_MSGS_MESSAGE_EMPTY_H
Empty_< ContainerAllocator > Type
Definition: Empty.h:24
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
GLdouble s
boost::shared_ptr< ::std_msgs::Empty > EmptyPtr
Definition: Empty.h:46
static const char * value(const ::std_msgs::Empty_< ContainerAllocator > &)
Definition: Empty.h:129
Specialize to provide the md5sum for a message.
boost::shared_ptr< ::std_msgs::Empty_< ContainerAllocator > const > ConstPtr
Definition: Empty.h:40
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
GLsizei const GLchar *const * string
boost::shared_ptr< ::std_msgs::Empty_< ContainerAllocator > > Ptr
Definition: Empty.h:39
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...
GLuint GLuint stream
Definition: glext.h:1790
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.
boost::shared_ptr< ::std_msgs::Empty const > EmptyConstPtr
Definition: Empty.h:47
::std_msgs::Empty_< std::allocator< void > > Empty
Definition: Empty.h:44
#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.
Empty_(const ContainerAllocator &_alloc)
Definition: Empty.h:29
static const char * value(const ::std_msgs::Empty_< ContainerAllocator > &)
Definition: Empty.h:141
Templated serialization class. Default implementation provides backwards compatibility with old messa...
static void stream(Stream &, const std::string &, const ::std_msgs::Empty_< ContainerAllocator > &)
Definition: Empty.h:171
static const char * value(const ::std_msgs::Empty_< ContainerAllocator > &)
Definition: Empty.h:116
GLdouble v


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:47:14