JoyFeedbackArray.h
Go to the documentation of this file.
1 // Generated by gencpp from file sensor_msgs/JoyFeedbackArray.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef SENSOR_MSGS_MESSAGE_JOYFEEDBACKARRAY_H
6 #define SENSOR_MSGS_MESSAGE_JOYFEEDBACKARRAY_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 
19 
20 namespace sensor_msgs
21 {
22 template <class ContainerAllocator>
24 {
26 
28  : array() {
29  }
30  JoyFeedbackArray_(const ContainerAllocator& _alloc)
31  : array(_alloc) {
32  (void)_alloc;
33  }
34 
35 
36 
37  typedef std::vector< ::sensor_msgs::JoyFeedback_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::sensor_msgs::JoyFeedback_<ContainerAllocator> >::other > _array_type;
38  _array_type array;
39 
40 
41 
42 
45 
46 }; // struct JoyFeedbackArray_
47 
48 typedef ::sensor_msgs::JoyFeedbackArray_<std::allocator<void> > JoyFeedbackArray;
49 
52 
53 // constants requiring out of line definition
54 
55 
56 
57 template<typename ContainerAllocator>
58 std::ostream& operator<<(std::ostream& s, const ::sensor_msgs::JoyFeedbackArray_<ContainerAllocator> & v)
59 {
61 return s;
62 }
63 
64 } // namespace sensor_msgs
65 
66 namespace rs2rosinternal
67 {
68 namespace message_traits
69 {
70 
71 
72 
73 // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False}
74 // {'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']}
75 
76 // !!!!!!!!!!! ['__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']
77 
78 
79 
80 
81 template <class ContainerAllocator>
82 struct IsFixedSize< ::sensor_msgs::JoyFeedbackArray_<ContainerAllocator> >
83  : FalseType
84  { };
85 
86 template <class ContainerAllocator>
87 struct IsFixedSize< ::sensor_msgs::JoyFeedbackArray_<ContainerAllocator> const>
88  : FalseType
89  { };
90 
91 template <class ContainerAllocator>
92 struct IsMessage< ::sensor_msgs::JoyFeedbackArray_<ContainerAllocator> >
93  : TrueType
94  { };
95 
96 template <class ContainerAllocator>
97 struct IsMessage< ::sensor_msgs::JoyFeedbackArray_<ContainerAllocator> const>
98  : TrueType
99  { };
100 
101 template <class ContainerAllocator>
102 struct HasHeader< ::sensor_msgs::JoyFeedbackArray_<ContainerAllocator> >
103  : FalseType
104  { };
105 
106 template <class ContainerAllocator>
107 struct HasHeader< ::sensor_msgs::JoyFeedbackArray_<ContainerAllocator> const>
108  : FalseType
109  { };
110 
111 
112 template<class ContainerAllocator>
113 struct MD5Sum< ::sensor_msgs::JoyFeedbackArray_<ContainerAllocator> >
114 {
115  static const char* value()
116  {
117  return "cde5730a895b1fc4dee6f91b754b213d";
118  }
119 
120  static const char* value(const ::sensor_msgs::JoyFeedbackArray_<ContainerAllocator>&) { return value(); }
121  static const uint64_t static_value1 = 0xcde5730a895b1fc4ULL;
122  static const uint64_t static_value2 = 0xdee6f91b754b213dULL;
123 };
124 
125 template<class ContainerAllocator>
126 struct DataType< ::sensor_msgs::JoyFeedbackArray_<ContainerAllocator> >
127 {
128  static const char* value()
129  {
130  return "sensor_msgs/JoyFeedbackArray";
131  }
132 
133  static const char* value(const ::sensor_msgs::JoyFeedbackArray_<ContainerAllocator>&) { return value(); }
134 };
135 
136 template<class ContainerAllocator>
137 struct Definition< ::sensor_msgs::JoyFeedbackArray_<ContainerAllocator> >
138 {
139  static const char* value()
140  {
141  return "# This message publishes values for multiple feedback at once. \n\
142 JoyFeedback[] array\n\
143 ================================================================================\n\
144 MSG: sensor_msgs/JoyFeedback\n\
145 # Declare of the type of feedback\n\
146 uint8 TYPE_LED = 0\n\
147 uint8 TYPE_RUMBLE = 1\n\
148 uint8 TYPE_BUZZER = 2\n\
149 \n\
150 uint8 type\n\
151 \n\
152 # This will hold an id number for each type of each feedback.\n\
153 # Example, the first led would be id=0, the second would be id=1\n\
154 uint8 id\n\
155 \n\
156 # Intensity of the feedback, from 0.0 to 1.0, inclusive. If device is\n\
157 # actually binary, driver should treat 0<=x<0.5 as off, 0.5<=x<=1 as on.\n\
158 float32 intensity\n\
159 \n\
160 ";
161  }
162 
163  static const char* value(const ::sensor_msgs::JoyFeedbackArray_<ContainerAllocator>&) { return value(); }
164 };
165 
166 } // namespace message_traits
167 } // namespace rs2rosinternal
168 
169 namespace rs2rosinternal
170 {
171 namespace serialization
172 {
173 
174  template<class ContainerAllocator> struct Serializer< ::sensor_msgs::JoyFeedbackArray_<ContainerAllocator> >
175  {
176  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
177  {
178  stream.next(m.array);
179  }
180 
182  }; // struct JoyFeedbackArray_
183 
184 } // namespace serialization
185 } // namespace rs2rosinternal
186 
187 namespace rs2rosinternal
188 {
189 namespace message_operations
190 {
191 
192 template<class ContainerAllocator>
193 struct Printer< ::sensor_msgs::JoyFeedbackArray_<ContainerAllocator> >
194 {
195  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sensor_msgs::JoyFeedbackArray_<ContainerAllocator>& v)
196  {
197  s << indent << "array[]" << std::endl;
198  for (size_t i = 0; i < v.array.size(); ++i)
199  {
200  s << indent << " array[" << i << "]: ";
201  s << std::endl;
202  s << indent;
204  }
205  }
206 };
207 
208 } // namespace message_operations
209 } // namespace rs2rosinternal
210 
211 #endif // SENSOR_MSGS_MESSAGE_JOYFEEDBACKARRAY_H
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
std::vector< ::sensor_msgs::JoyFeedback_< ContainerAllocator >, typename ContainerAllocator::template rebind< ::sensor_msgs::JoyFeedback_< ContainerAllocator > >::other > _array_type
Specialize to provide the md5sum for a message.
boost::shared_ptr< ::sensor_msgs::JoyFeedbackArray const > JoyFeedbackArrayConstPtr
static const char * value(const ::sensor_msgs::JoyFeedbackArray_< ContainerAllocator > &)
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
static const char * value(const ::sensor_msgs::JoyFeedbackArray_< ContainerAllocator > &)
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.
Tools for manipulating sensor_msgs.
Definition: BatteryState.h:20
#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
Specialize to provide the definition for a message.
boost::shared_ptr< ::sensor_msgs::JoyFeedbackArray > JoyFeedbackArrayPtr
boost::shared_ptr< ::sensor_msgs::JoyFeedbackArray_< ContainerAllocator > > Ptr
JoyFeedbackArray_(const ContainerAllocator &_alloc)
GLenum array
Definition: glext.h:7022
static const char * value(const ::sensor_msgs::JoyFeedbackArray_< ContainerAllocator > &)
::sensor_msgs::JoyFeedbackArray_< std::allocator< void > > JoyFeedbackArray
int i
boost::shared_ptr< ::sensor_msgs::JoyFeedbackArray_< ContainerAllocator > const > ConstPtr
Templated serialization class. Default implementation provides backwards compatibility with old messa...
static void stream(Stream &s, const std::string &indent, const ::sensor_msgs::JoyFeedbackArray_< ContainerAllocator > &v)
JoyFeedbackArray_< ContainerAllocator > Type
GLdouble v


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