2 #ifndef GRIJPER_MESSAGE_COMMAND_H
3 #define GRIJPER_MESSAGE_COMMAND_H
8 #include "ros/serialization.h"
9 #include "ros/builtin_message_traits.h"
10 #include "ros/message_operations.h"
13 #include "ros/macros.h"
15 #include "ros/assert.h"
20 template <
class ContainerAllocator>
36 typedef std::basic_string<char, std::char_traits<char>,
typename ContainerAllocator::template rebind<char>::other >
_cmd_type;
37 std::basic_string<char, std::char_traits<char>,
typename ContainerAllocator::template rebind<char>::other >
cmd;
43 typedef boost::shared_ptr< ::Grijper::command_<ContainerAllocator> >
Ptr;
44 typedef boost::shared_ptr< ::Grijper::command_<ContainerAllocator>
const>
ConstPtr;
47 typedef ::Grijper::command_<std::allocator<void> >
command;
49 typedef boost::shared_ptr< ::Grijper::command>
commandPtr;
53 template<
typename ContainerAllocator>
54 std::ostream& operator<<(std::ostream& s, const ::Grijper::command_<ContainerAllocator> & v)
56 ros::message_operations::Printer< ::Grijper::command_<ContainerAllocator> >::stream(s,
"", v);
63 namespace message_traits
65 template<
class ContainerAllocator>
struct IsMessage< ::
Grijper::command_<ContainerAllocator> > :
public TrueType {};
66 template<
class ContainerAllocator>
struct IsMessage< ::
Grijper::command_<ContainerAllocator> const> :
public TrueType {};
67 template<
class ContainerAllocator>
69 static const char* value()
71 return "eb00b428ff12135fc9b18d757044344c";
74 static const char*
value(const ::Grijper::command_<ContainerAllocator> &) {
return value(); }
75 static const uint64_t static_value1 = 0xeb00b428ff12135fULL;
76 static const uint64_t static_value2 = 0xc9b18d757044344cULL;
79 template<
class ContainerAllocator>
81 static const char* value()
83 return "Grijper/command";
86 static const char*
value(const ::Grijper::command_<ContainerAllocator> &) {
return value(); }
89 template<
class ContainerAllocator>
91 static const char* value()
98 static const char*
value(const ::Grijper::command_<ContainerAllocator> &) {
return value(); }
106 namespace serialization
111 template<
typename Stream,
typename T>
inline static void allInOne(Stream& stream, T m)
114 stream.next(m.force);
124 namespace message_operations
127 template<
class ContainerAllocator>
130 template<
typename Stream>
static void stream(Stream& s,
const std::string& indent, const ::Grijper::command_<ContainerAllocator> & v)
132 s << indent <<
"cmd: ";
133 Printer<std::basic_string<char, std::char_traits<char>,
typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent +
" ", v.cmd);
134 s << indent <<
"force: ";
135 Printer<float>::stream(s, indent +
" ", v.force);
143 #endif // GRIJPER_MESSAGE_COMMAND_H