Go to the documentation of this file.00001
00002 #ifndef PR2_CONTROLLERS_MSGS_MESSAGE_PR2GRIPPERCOMMANDGOAL_H
00003 #define PR2_CONTROLLERS_MSGS_MESSAGE_PR2GRIPPERCOMMANDGOAL_H
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 #include <ostream>
00008 #include "ros/serialization.h"
00009 #include "ros/builtin_message_traits.h"
00010 #include "ros/message_operations.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/macros.h"
00014
00015 #include "ros/assert.h"
00016
00017 #include "pr2_controllers_msgs/Pr2GripperCommand.h"
00018
00019 namespace pr2_controllers_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct Pr2GripperCommandGoal_ {
00023 typedef Pr2GripperCommandGoal_<ContainerAllocator> Type;
00024
00025 Pr2GripperCommandGoal_()
00026 : command()
00027 {
00028 }
00029
00030 Pr2GripperCommandGoal_(const ContainerAllocator& _alloc)
00031 : command(_alloc)
00032 {
00033 }
00034
00035 typedef ::pr2_controllers_msgs::Pr2GripperCommand_<ContainerAllocator> _command_type;
00036 ::pr2_controllers_msgs::Pr2GripperCommand_<ContainerAllocator> command;
00037
00038
00039 typedef boost::shared_ptr< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> > Ptr;
00040 typedef boost::shared_ptr< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> const> ConstPtr;
00041 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 };
00043 typedef ::pr2_controllers_msgs::Pr2GripperCommandGoal_<std::allocator<void> > Pr2GripperCommandGoal;
00044
00045 typedef boost::shared_ptr< ::pr2_controllers_msgs::Pr2GripperCommandGoal> Pr2GripperCommandGoalPtr;
00046 typedef boost::shared_ptr< ::pr2_controllers_msgs::Pr2GripperCommandGoal const> Pr2GripperCommandGoalConstPtr;
00047
00048
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> & v)
00051 {
00052 ros::message_operations::Printer< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> >::stream(s, "", v);
00053 return s;}
00054
00055 }
00056
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> > {
00065 static const char* value()
00066 {
00067 return "86fd82f4ddc48a4cb6856cfa69217e43";
00068 }
00069
00070 static const char* value(const ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> &) { return value(); }
00071 static const uint64_t static_value1 = 0x86fd82f4ddc48a4cULL;
00072 static const uint64_t static_value2 = 0xb6856cfa69217e43ULL;
00073 };
00074
00075 template<class ContainerAllocator>
00076 struct DataType< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "pr2_controllers_msgs/Pr2GripperCommandGoal";
00080 }
00081
00082 static const char* value(const ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> &) { return value(); }
00083 };
00084
00085 template<class ContainerAllocator>
00086 struct Definition< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> > {
00087 static const char* value()
00088 {
00089 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00090 pr2_controllers_msgs/Pr2GripperCommand command\n\
00091 \n\
00092 ================================================================================\n\
00093 MSG: pr2_controllers_msgs/Pr2GripperCommand\n\
00094 float64 position\n\
00095 float64 max_effort\n\
00096 \n\
00097 ";
00098 }
00099
00100 static const char* value(const ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> &) { return value(); }
00101 };
00102
00103 template<class ContainerAllocator> struct IsFixedSize< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> > : public TrueType {};
00104 }
00105 }
00106
00107 namespace ros
00108 {
00109 namespace serialization
00110 {
00111
00112 template<class ContainerAllocator> struct Serializer< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> >
00113 {
00114 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00115 {
00116 stream.next(m.command);
00117 }
00118
00119 ROS_DECLARE_ALLINONE_SERIALIZER;
00120 };
00121 }
00122 }
00123
00124 namespace ros
00125 {
00126 namespace message_operations
00127 {
00128
00129 template<class ContainerAllocator>
00130 struct Printer< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> >
00131 {
00132 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> & v)
00133 {
00134 s << indent << "command: ";
00135 s << std::endl;
00136 Printer< ::pr2_controllers_msgs::Pr2GripperCommand_<ContainerAllocator> >::stream(s, indent + " ", v.command);
00137 }
00138 };
00139
00140
00141 }
00142 }
00143
00144 #endif // PR2_CONTROLLERS_MSGS_MESSAGE_PR2GRIPPERCOMMANDGOAL_H
00145