Go to the documentation of this file.
6 #ifndef SENSOR_MSGS_MESSAGE_JOYFEEDBACKARRAY_H
7 #define SENSOR_MSGS_MESSAGE_JOYFEEDBACKARRAY_H
14 #include <ros/types.h>
15 #include <ros/serialization.h>
16 #include <ros/builtin_message_traits.h>
17 #include <ros/message_operations.h>
23 template <
class ContainerAllocator>
38 typedef std::vector< ::sensor_msgs::JoyFeedback_<ContainerAllocator> ,
typename ContainerAllocator::template rebind< ::sensor_msgs::JoyFeedback_<ContainerAllocator> >::other >
_array_type;
44 typedef std::shared_ptr< ::sensor_msgs::JoyFeedbackArray_<ContainerAllocator> >
Ptr;
45 typedef std::shared_ptr< ::sensor_msgs::JoyFeedbackArray_<ContainerAllocator>
const>
ConstPtr;
58 template<
typename ContainerAllocator>
59 std::ostream&
operator<<(std::ostream& s, const ::sensor_msgs::JoyFeedbackArray_<ContainerAllocator> & v)
69 namespace message_traits
82 template <
class ContainerAllocator>
87 template <
class ContainerAllocator>
92 template <
class ContainerAllocator>
97 template <
class ContainerAllocator>
102 template <
class ContainerAllocator>
107 template <
class ContainerAllocator>
113 template<
class ContainerAllocator>
118 return "cde5730a895b1fc4dee6f91b754b213d";
121 static const char*
value(const ::sensor_msgs::JoyFeedbackArray_<ContainerAllocator>&) {
return value(); }
122 static const uint64_t static_value1 = 0xcde5730a895b1fc4ULL;
123 static const uint64_t static_value2 = 0xdee6f91b754b213dULL;
126 template<
class ContainerAllocator>
131 return "sensor_msgs/JoyFeedbackArray";
134 static const char*
value(const ::sensor_msgs::JoyFeedbackArray_<ContainerAllocator>&) {
return value(); }
137 template<
class ContainerAllocator>
142 return "# This message publishes values for multiple feedback at once. \n\
143 JoyFeedback[] array\n\
144 ================================================================================\n\
145 MSG: sensor_msgs/JoyFeedback\n\
146 # Declare of the type of feedback\n\
147 uint8 TYPE_LED = 0\n\
148 uint8 TYPE_RUMBLE = 1\n\
149 uint8 TYPE_BUZZER = 2\n\
153 # This will hold an id number for each type of each feedback.\n\
154 # Example, the first led would be id=0, the second would be id=1\n\
157 # Intensity of the feedback, from 0.0 to 1.0, inclusive. If device is\n\
158 # actually binary, driver should treat 0<=x<0.5 as off, 0.5<=x<=1 as on.\n\
164 static const char*
value(const ::sensor_msgs::JoyFeedbackArray_<ContainerAllocator>&) {
return value(); }
172 namespace serialization
177 template<
typename Stream,
typename T>
inline static void allInOne(
Stream& stream, T m)
179 stream.next(m.array);
190 namespace message_operations
193 template<
class ContainerAllocator>
196 template<
typename Stream>
static void stream(Stream& s,
const std::string&
indent, const ::sensor_msgs::JoyFeedbackArray_<ContainerAllocator>& v)
198 s <<
indent <<
"array[]" << std::endl;
199 for (
size_t i = 0; i < v.array.size(); ++i)
201 s <<
indent <<
" array[" << i <<
"]: ";
212 #endif // SENSOR_MSGS_MESSAGE_JOYFEEDBACKARRAY_H
std::vector< ::sensor_msgs::JoyFeedback_< ContainerAllocator >, typename ContainerAllocator::template rebind< ::sensor_msgs::JoyFeedback_< ContainerAllocator > >::other > _array_type
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
static const char * value()
Templated serialization class. Default implementation provides backwards compatibility with old messa...
::sensor_msgs::JoyFeedbackArray_< std::allocator< void > > JoyFeedbackArray
static const char * value(const ::sensor_msgs::JoyFeedbackArray_< ContainerAllocator > &)
static const char * value()
static void stream(Stream &s, const std::string &indent, const M &value)
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
static void stream(Stream &s, const std::string &indent, const ::sensor_msgs::JoyFeedbackArray_< ContainerAllocator > &v)
std::shared_ptr< ::sensor_msgs::JoyFeedbackArray_< ContainerAllocator > > Ptr
Specialize to provide the datatype for a message.
static const char * value(const ::sensor_msgs::JoyFeedbackArray_< ContainerAllocator > &)
Specialize to provide the definition for a message.
std::shared_ptr< ::sensor_msgs::JoyFeedbackArray const > JoyFeedbackArrayConstPtr
std::ostream & operator<<(std::ostream &s, const ::sensor_msgs::BatteryState_< ContainerAllocator > &v)
static const char * value()
std::shared_ptr< ::sensor_msgs::JoyFeedbackArray_< ContainerAllocator > const > ConstPtr
static void allInOne(Stream &stream, T m)
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Specialize to provide the md5sum for a message.
static const char * value(const ::sensor_msgs::JoyFeedbackArray_< ContainerAllocator > &)
Stream base-class, provides common functionality for IStream and OStream.
std::shared_ptr< ::sensor_msgs::JoyFeedbackArray > JoyFeedbackArrayPtr
JoyFeedbackArray_(const ContainerAllocator &_alloc)
JoyFeedbackArray_< ContainerAllocator > Type
Tools for manipulating sensor_msgs.
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:08