SetCameraInfoResponse.h
Go to the documentation of this file.
1 // Generated by gencpp from file sensor_msgs/SetCameraInfoResponse.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef SENSOR_MSGS_MESSAGE_SETCAMERAINFORESPONSE_H
6 #define SENSOR_MSGS_MESSAGE_SETCAMERAINFORESPONSE_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 sensor_msgs
20 {
21 template <class ContainerAllocator>
23 {
25 
27  : success(false)
28  , status_message() {
29  }
30  SetCameraInfoResponse_(const ContainerAllocator& _alloc)
31  : success(false)
32  , status_message(_alloc) {
33  (void)_alloc;
34  }
35 
36 
37 
39  _success_type success;
40 
41  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _status_message_type;
42  _status_message_type status_message;
43 
44 
45 
46 
49 
50 }; // struct SetCameraInfoResponse_
51 
52 typedef ::sensor_msgs::SetCameraInfoResponse_<std::allocator<void> > SetCameraInfoResponse;
53 
56 
57 // constants requiring out of line definition
58 
59 
60 
61 template<typename ContainerAllocator>
62 std::ostream& operator<<(std::ostream& s, const ::sensor_msgs::SetCameraInfoResponse_<ContainerAllocator> & v)
63 {
65 return s;
66 }
67 
68 } // namespace sensor_msgs
69 
70 namespace rs2rosinternal
71 {
72 namespace message_traits
73 {
74 
75 
76 
77 // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False}
78 // {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'geometry_msgs': ['/opt/ros/kinetic/share/geometry_msgs/cmake/../msg'], 'sensor_msgs': ['/tmp/binarydeb/ros-kinetic-sensor-msgs-1.12.5/msg']}
79 
80 // !!!!!!!!!!! ['__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']
81 
82 
83 
84 
85 template <class ContainerAllocator>
86 struct IsFixedSize< ::sensor_msgs::SetCameraInfoResponse_<ContainerAllocator> >
87  : FalseType
88  { };
89 
90 template <class ContainerAllocator>
91 struct IsFixedSize< ::sensor_msgs::SetCameraInfoResponse_<ContainerAllocator> const>
92  : FalseType
93  { };
94 
95 template <class ContainerAllocator>
96 struct IsMessage< ::sensor_msgs::SetCameraInfoResponse_<ContainerAllocator> >
97  : TrueType
98  { };
99 
100 template <class ContainerAllocator>
101 struct IsMessage< ::sensor_msgs::SetCameraInfoResponse_<ContainerAllocator> const>
102  : TrueType
103  { };
104 
105 template <class ContainerAllocator>
106 struct HasHeader< ::sensor_msgs::SetCameraInfoResponse_<ContainerAllocator> >
107  : FalseType
108  { };
109 
110 template <class ContainerAllocator>
111 struct HasHeader< ::sensor_msgs::SetCameraInfoResponse_<ContainerAllocator> const>
112  : FalseType
113  { };
114 
115 
116 template<class ContainerAllocator>
117 struct MD5Sum< ::sensor_msgs::SetCameraInfoResponse_<ContainerAllocator> >
118 {
119  static const char* value()
120  {
121  return "2ec6f3eff0161f4257b808b12bc830c2";
122  }
123 
124  static const char* value(const ::sensor_msgs::SetCameraInfoResponse_<ContainerAllocator>&) { return value(); }
125  static const uint64_t static_value1 = 0x2ec6f3eff0161f42ULL;
126  static const uint64_t static_value2 = 0x57b808b12bc830c2ULL;
127 };
128 
129 template<class ContainerAllocator>
130 struct DataType< ::sensor_msgs::SetCameraInfoResponse_<ContainerAllocator> >
131 {
132  static const char* value()
133  {
134  return "sensor_msgs/SetCameraInfoResponse";
135  }
136 
137  static const char* value(const ::sensor_msgs::SetCameraInfoResponse_<ContainerAllocator>&) { return value(); }
138 };
139 
140 template<class ContainerAllocator>
141 struct Definition< ::sensor_msgs::SetCameraInfoResponse_<ContainerAllocator> >
142 {
143  static const char* value()
144  {
145  return "bool success\n\
146 string status_message\n\
147 \n\
148 ";
149  }
150 
151  static const char* value(const ::sensor_msgs::SetCameraInfoResponse_<ContainerAllocator>&) { return value(); }
152 };
153 
154 } // namespace message_traits
155 } // namespace rs2rosinternal
156 
157 namespace rs2rosinternal
158 {
159 namespace serialization
160 {
161 
162  template<class ContainerAllocator> struct Serializer< ::sensor_msgs::SetCameraInfoResponse_<ContainerAllocator> >
163  {
164  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
165  {
166  stream.next(m.success);
167  stream.next(m.status_message);
168  }
169 
171  }; // struct SetCameraInfoResponse_
172 
173 } // namespace serialization
174 } // namespace rs2rosinternal
175 
176 namespace rs2rosinternal
177 {
178 namespace message_operations
179 {
180 
181 template<class ContainerAllocator>
182 struct Printer< ::sensor_msgs::SetCameraInfoResponse_<ContainerAllocator> >
183 {
184  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sensor_msgs::SetCameraInfoResponse_<ContainerAllocator>& v)
185  {
186  s << indent << "success: ";
187  Printer<uint8_t>::stream(s, indent + " ", v.success);
188  s << indent << "status_message: ";
189  Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.status_message);
190  }
191 };
192 
193 } // namespace message_operations
194 } // namespace rs2rosinternal
195 
196 #endif // SENSOR_MSGS_MESSAGE_SETCAMERAINFORESPONSE_H
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _status_message_type
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
GLdouble s
const GLfloat * m
Definition: glext.h:6814
Specialize to provide the md5sum for a message.
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
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
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...
SetCameraInfoResponse_< ContainerAllocator > Type
Stream base-class, provides common functionality for IStream and OStream.
boost::shared_ptr< ::sensor_msgs::SetCameraInfoResponse > SetCameraInfoResponsePtr
static const char * value(const ::sensor_msgs::SetCameraInfoResponse_< ContainerAllocator > &)
boost::shared_ptr< ::sensor_msgs::SetCameraInfoResponse_< ContainerAllocator > const > ConstPtr
Tools for manipulating sensor_msgs.
Definition: BatteryState.h:20
SetCameraInfoResponse_(const ContainerAllocator &_alloc)
static void stream(Stream &s, const std::string &indent, const ::sensor_msgs::SetCameraInfoResponse_< ContainerAllocator > &v)
#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
boost::shared_ptr< ::sensor_msgs::SetCameraInfoResponse_< ContainerAllocator > > Ptr
Specialize to provide the definition for a message.
boost::shared_ptr< ::sensor_msgs::SetCameraInfoResponse const > SetCameraInfoResponseConstPtr
::sensor_msgs::SetCameraInfoResponse_< std::allocator< void > > SetCameraInfoResponse
Templated serialization class. Default implementation provides backwards compatibility with old messa...
static const char * value(const ::sensor_msgs::SetCameraInfoResponse_< ContainerAllocator > &)
GLdouble v
static const char * value(const ::sensor_msgs::SetCameraInfoResponse_< ContainerAllocator > &)


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