5 #ifndef realsense_legacy_msgs_MESSAGE_CONTROLLER_COMMAND_H 6 #define realsense_legacy_msgs_MESSAGE_CONTROLLER_COMMAND_H 22 template <
class ContainerAllocator>
55 typedef std::shared_ptr< ::realsense_legacy_msgs::controller_command_<ContainerAllocator> >
Ptr;
56 typedef std::shared_ptr< ::realsense_legacy_msgs::controller_command_<ContainerAllocator>
const>
ConstPtr;
69 template<
typename ContainerAllocator>
70 std::ostream& operator<<(std::ostream& s, const ::realsense_legacy_msgs::controller_command_<ContainerAllocator> &
v)
80 namespace message_traits
93 template <
class ContainerAllocator>
98 template <
class ContainerAllocator>
103 template <
class ContainerAllocator>
108 template <
class ContainerAllocator>
113 template <
class ContainerAllocator>
118 template <
class ContainerAllocator>
124 template<
class ContainerAllocator>
129 return "7cd9256962dc017524266dabdc1bad8d";
132 static const char*
value(const ::realsense_legacy_msgs::controller_command_<ContainerAllocator>&) {
return value(); }
133 static const uint64_t static_value1 = 0x7cd9256962dc0175ULL;
134 static const uint64_t static_value2 = 0x24266dabdc1bad8dULL;
137 template<
class ContainerAllocator>
142 return "realsense_legacy_msgs/controller_command";
145 static const char*
value(const ::realsense_legacy_msgs::controller_command_<ContainerAllocator>&) {
return value(); }
148 template<
class ContainerAllocator>
153 return "uint8 controller_id\n\ 155 uint8[6] mac_address\n\ 159 static const char*
value(const ::realsense_legacy_msgs::controller_command_<ContainerAllocator>&) {
return value(); }
167 namespace serialization
174 stream.next(m.controller_id);
176 stream.next(m.mac_address);
187 namespace message_operations
190 template<
class ContainerAllocator>
193 template<
typename Stream>
static void stream(Stream&
s,
const std::string&
indent, const ::realsense_legacy_msgs::controller_command_<ContainerAllocator>&
v)
195 s << indent <<
"controller_id: ";
197 s << indent <<
"type: ";
199 s << indent <<
"mac_address[]" << std::endl;
200 for (
size_t i = 0;
i < v.mac_address.size(); ++
i)
202 s << indent <<
" mac_address[" <<
i <<
"]: ";
211 #endif // realsense_legacy_msgs_MESSAGE_CONTROLLER_COMMAND_H static const char * value(const ::realsense_legacy_msgs::controller_command_< ContainerAllocator > &)
std::shared_ptr< ::realsense_legacy_msgs::controller_command_< ContainerAllocator > > Ptr
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
static void allInOne(Stream &stream, T m)
Specialize to provide the md5sum for a message.
def indent(str, line_prefix=' ')
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Specialize to provide the datatype for a message.
std::shared_ptr< ::realsense_legacy_msgs::controller_command const > controller_commandConstPtr
std::array< uint8_t, 6 > _mac_address_type
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
static const char * value()
Stream base-class, provides common functionality for IStream and OStream.
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
unsigned __int64 uint64_t
static const char * value(const ::realsense_legacy_msgs::controller_command_< ContainerAllocator > &)
Specialize to provide the definition for a message.
static const char * value()
std::shared_ptr< ::realsense_legacy_msgs::controller_command > controller_commandPtr
static const char * value(const ::realsense_legacy_msgs::controller_command_< ContainerAllocator > &)
static void stream(Stream &s, const std::string &indent, const ::realsense_legacy_msgs::controller_command_< ContainerAllocator > &v)
controller_command_< ContainerAllocator > Type
Templated serialization class. Default implementation provides backwards compatibility with old messa...
_controller_id_type controller_id
std::shared_ptr< ::realsense_legacy_msgs::controller_command_< ContainerAllocator > const > ConstPtr
static const char * value()
uint8_t _controller_id_type
controller_command_(const ContainerAllocator &_alloc)
::realsense_legacy_msgs::controller_command_< std::allocator< void > > controller_command
_mac_address_type mac_address