Notification.h
Go to the documentation of this file.
1 // Generated by gencpp from file realsense_msgs/Notification.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef REALSENSE_MSGS_MESSAGE_NOTIFICATION_H
6 #define REALSENSE_MSGS_MESSAGE_NOTIFICATION_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 realsense_msgs
20 {
21 template <class ContainerAllocator>
23 {
25 
27  : timestamp()
28  , category()
29  , severity()
30  , description()
31  , serialized_data() {
32  }
33  Notification_(const ContainerAllocator& _alloc)
34  : timestamp()
35  , category(_alloc)
36  , severity(_alloc)
37  , description(_alloc)
38  , serialized_data(_alloc) {
39  (void)_alloc;
40  }
41 
42 
43 
45  _timestamp_type timestamp;
46 
47  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _category_type;
48  _category_type category;
49 
50  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _severity_type;
51  _severity_type severity;
52 
53  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _description_type;
54  _description_type description;
55 
56  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _serialized_data_type;
57  _serialized_data_type serialized_data;
58 
59 
60 
61 
62  typedef std::shared_ptr< ::realsense_msgs::Notification_<ContainerAllocator> > Ptr;
63  typedef std::shared_ptr< ::realsense_msgs::Notification_<ContainerAllocator> const> ConstPtr;
64 
65 }; // struct Notification_
66 
67 typedef ::realsense_msgs::Notification_<std::allocator<void> > Notification;
68 
69 typedef std::shared_ptr< ::realsense_msgs::Notification > NotificationPtr;
70 typedef std::shared_ptr< ::realsense_msgs::Notification const> NotificationConstPtr;
71 
72 // constants requiring out of line definition
73 
74 
75 
76 template<typename ContainerAllocator>
77 std::ostream& operator<<(std::ostream& s, const ::realsense_msgs::Notification_<ContainerAllocator> & v)
78 {
80 return s;
81 }
82 
83 } // namespace realsense_msgs
84 
85 namespace rs2rosinternal
86 {
87 namespace message_traits
88 {
89 
90 
91 
92 // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False}
93 // {'sensor_msgs': ['/opt/ros/kinetic/share/sensor_msgs/cmake/../msg'], 'geometry_msgs': ['/opt/ros/kinetic/share/geometry_msgs/cmake/../msg'], 'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'realsense_msgs': ['/home/zivs/Desktop/dev/realsense_msg_generator/msg']}
94 
95 // !!!!!!!!!!! ['__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']
96 
97 
98 
99 
100 template <class ContainerAllocator>
101 struct IsFixedSize< ::realsense_msgs::Notification_<ContainerAllocator> >
102  : FalseType
103  { };
104 
105 template <class ContainerAllocator>
106 struct IsFixedSize< ::realsense_msgs::Notification_<ContainerAllocator> const>
107  : FalseType
108  { };
109 
110 template <class ContainerAllocator>
111 struct IsMessage< ::realsense_msgs::Notification_<ContainerAllocator> >
112  : TrueType
113  { };
114 
115 template <class ContainerAllocator>
116 struct IsMessage< ::realsense_msgs::Notification_<ContainerAllocator> const>
117  : TrueType
118  { };
119 
120 template <class ContainerAllocator>
121 struct HasHeader< ::realsense_msgs::Notification_<ContainerAllocator> >
122  : FalseType
123  { };
124 
125 template <class ContainerAllocator>
126 struct HasHeader< ::realsense_msgs::Notification_<ContainerAllocator> const>
127  : FalseType
128  { };
129 
130 
131 template<class ContainerAllocator>
132 struct MD5Sum< ::realsense_msgs::Notification_<ContainerAllocator> >
133 {
134  static const char* value()
135  {
136  return "cdb7a97a510446301f8e6fb67d8cccb0";
137  }
138 
139  static const char* value(const ::realsense_msgs::Notification_<ContainerAllocator>&) { return value(); }
140  static const uint64_t static_value1 = 0xcdb7a97a51044630ULL;
141  static const uint64_t static_value2 = 0x1f8e6fb67d8cccb0ULL;
142 };
143 
144 template<class ContainerAllocator>
145 struct DataType< ::realsense_msgs::Notification_<ContainerAllocator> >
146 {
147  static const char* value()
148  {
149  return "realsense_msgs/Notification";
150  }
151 
152  static const char* value(const ::realsense_msgs::Notification_<ContainerAllocator>&) { return value(); }
153 };
154 
155 template<class ContainerAllocator>
156 struct Definition< ::realsense_msgs::Notification_<ContainerAllocator> >
157 {
158  static const char* value()
159  {
160  return "# This message defines a notification\n\
161 \n\
162 time timestamp # The time of occurrence \n\
163 string category # The category of the notification\n\
164 string severity # The severity of the notification\n\
165 string description # Human readable description of the notification\n\
166 string serialized_data # JSON string with additional data\n\
167 ";
168  }
169 
170  static const char* value(const ::realsense_msgs::Notification_<ContainerAllocator>&) { return value(); }
171 };
172 
173 } // namespace message_traits
174 } // namespace rs2rosinternal
175 
176 namespace rs2rosinternal
177 {
178 namespace serialization
179 {
180 
181  template<class ContainerAllocator> struct Serializer< ::realsense_msgs::Notification_<ContainerAllocator> >
182  {
183  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
184  {
185  stream.next(m.timestamp);
186  stream.next(m.category);
187  stream.next(m.severity);
188  stream.next(m.description);
189  stream.next(m.serialized_data);
190  }
191 
193  }; // struct Notification_
194 
195 } // namespace serialization
196 } // namespace rs2rosinternal
197 
198 namespace rs2rosinternal
199 {
200 namespace message_operations
201 {
202 
203 template<class ContainerAllocator>
204 struct Printer< ::realsense_msgs::Notification_<ContainerAllocator> >
205 {
206  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::realsense_msgs::Notification_<ContainerAllocator>& v)
207  {
208  s << indent << "timestamp: ";
209  Printer<rs2rosinternal::Time>::stream(s, indent + " ", v.timestamp);
210  s << indent << "category: ";
211  Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.category);
212  s << indent << "severity: ";
213  Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.severity);
214  s << indent << "description: ";
215  Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.description);
216  s << indent << "serialized_data: ";
217  Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.serialized_data);
218  }
219 };
220 
221 } // namespace message_operations
222 } // namespace rs2rosinternal
223 
224 #endif // REALSENSE_MSGS_MESSAGE_NOTIFICATION_H
GLenum GLuint GLenum severity
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
GLdouble s
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _category_type
Definition: Notification.h:47
Notification_(const ContainerAllocator &_alloc)
Definition: Notification.h:33
const GLfloat * m
Definition: glext.h:6814
Specialize to provide the md5sum for a message.
static const char * value(const ::realsense_msgs::Notification_< ContainerAllocator > &)
Definition: Notification.h:139
rs2rosinternal::Time _timestamp_type
Definition: Notification.h:44
_description_type description
Definition: Notification.h:54
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
std::shared_ptr< ::realsense_msgs::Notification_< ContainerAllocator > > Ptr
Definition: Notification.h:62
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _description_type
Definition: Notification.h:53
GLsizei const GLchar *const * string
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
std::shared_ptr< ::realsense_msgs::Notification > NotificationPtr
Definition: Notification.h:69
_serialized_data_type serialized_data
Definition: Notification.h:57
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.
Notification_< ContainerAllocator > Type
Definition: Notification.h:24
Time representation. May either represent wall clock time or ROS clock time.
Definition: time.h:177
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
unsigned __int64 uint64_t
Definition: stdint.h:90
static void stream(Stream &s, const std::string &indent, const ::realsense_msgs::Notification_< ContainerAllocator > &v)
Definition: Notification.h:206
Specialize to provide the definition for a message.
static const char * value(const ::realsense_msgs::Notification_< ContainerAllocator > &)
Definition: Notification.h:170
std::shared_ptr< ::realsense_msgs::Notification const > NotificationConstPtr
Definition: Notification.h:70
std::shared_ptr< ::realsense_msgs::Notification_< ContainerAllocator > const > ConstPtr
Definition: Notification.h:63
Templated serialization class. Default implementation provides backwards compatibility with old messa...
static const char * value(const ::realsense_msgs::Notification_< ContainerAllocator > &)
Definition: Notification.h:152
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _severity_type
Definition: Notification.h:50
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _serialized_data_type
Definition: Notification.h:56
GLdouble v
::realsense_msgs::Notification_< std::allocator< void > > Notification
Definition: Notification.h:67


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