$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-pr2_controllers/doc_stacks/2013-03-01_16-45-23.561928/pr2_controllers/pr2_controllers_msgs/msg/Pr2GripperCommandGoal.msg */ 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 private: 00040 static const char* __s_getDataType_() { return "pr2_controllers_msgs/Pr2GripperCommandGoal"; } 00041 public: 00042 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00043 00044 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00045 00046 private: 00047 static const char* __s_getMD5Sum_() { return "86fd82f4ddc48a4cb6856cfa69217e43"; } 00048 public: 00049 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00050 00051 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00052 00053 private: 00054 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00055 pr2_controllers_msgs/Pr2GripperCommand command\n\ 00056 \n\ 00057 ================================================================================\n\ 00058 MSG: pr2_controllers_msgs/Pr2GripperCommand\n\ 00059 float64 position\n\ 00060 float64 max_effort\n\ 00061 \n\ 00062 "; } 00063 public: 00064 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00065 00066 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00067 00068 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00069 { 00070 ros::serialization::OStream stream(write_ptr, 1000000000); 00071 ros::serialization::serialize(stream, command); 00072 return stream.getData(); 00073 } 00074 00075 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00076 { 00077 ros::serialization::IStream stream(read_ptr, 1000000000); 00078 ros::serialization::deserialize(stream, command); 00079 return stream.getData(); 00080 } 00081 00082 ROS_DEPRECATED virtual uint32_t serializationLength() const 00083 { 00084 uint32_t size = 0; 00085 size += ros::serialization::serializationLength(command); 00086 return size; 00087 } 00088 00089 typedef boost::shared_ptr< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> > Ptr; 00090 typedef boost::shared_ptr< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> const> ConstPtr; 00091 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00092 }; // struct Pr2GripperCommandGoal 00093 typedef ::pr2_controllers_msgs::Pr2GripperCommandGoal_<std::allocator<void> > Pr2GripperCommandGoal; 00094 00095 typedef boost::shared_ptr< ::pr2_controllers_msgs::Pr2GripperCommandGoal> Pr2GripperCommandGoalPtr; 00096 typedef boost::shared_ptr< ::pr2_controllers_msgs::Pr2GripperCommandGoal const> Pr2GripperCommandGoalConstPtr; 00097 00098 00099 template<typename ContainerAllocator> 00100 std::ostream& operator<<(std::ostream& s, const ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> & v) 00101 { 00102 ros::message_operations::Printer< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> >::stream(s, "", v); 00103 return s;} 00104 00105 } // namespace pr2_controllers_msgs 00106 00107 namespace ros 00108 { 00109 namespace message_traits 00110 { 00111 template<class ContainerAllocator> struct IsMessage< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> > : public TrueType {}; 00112 template<class ContainerAllocator> struct IsMessage< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> const> : public TrueType {}; 00113 template<class ContainerAllocator> 00114 struct MD5Sum< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> > { 00115 static const char* value() 00116 { 00117 return "86fd82f4ddc48a4cb6856cfa69217e43"; 00118 } 00119 00120 static const char* value(const ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> &) { return value(); } 00121 static const uint64_t static_value1 = 0x86fd82f4ddc48a4cULL; 00122 static const uint64_t static_value2 = 0xb6856cfa69217e43ULL; 00123 }; 00124 00125 template<class ContainerAllocator> 00126 struct DataType< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> > { 00127 static const char* value() 00128 { 00129 return "pr2_controllers_msgs/Pr2GripperCommandGoal"; 00130 } 00131 00132 static const char* value(const ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> &) { return value(); } 00133 }; 00134 00135 template<class ContainerAllocator> 00136 struct Definition< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> > { 00137 static const char* value() 00138 { 00139 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00140 pr2_controllers_msgs/Pr2GripperCommand command\n\ 00141 \n\ 00142 ================================================================================\n\ 00143 MSG: pr2_controllers_msgs/Pr2GripperCommand\n\ 00144 float64 position\n\ 00145 float64 max_effort\n\ 00146 \n\ 00147 "; 00148 } 00149 00150 static const char* value(const ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> &) { return value(); } 00151 }; 00152 00153 template<class ContainerAllocator> struct IsFixedSize< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> > : public TrueType {}; 00154 } // namespace message_traits 00155 } // namespace ros 00156 00157 namespace ros 00158 { 00159 namespace serialization 00160 { 00161 00162 template<class ContainerAllocator> struct Serializer< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> > 00163 { 00164 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00165 { 00166 stream.next(m.command); 00167 } 00168 00169 ROS_DECLARE_ALLINONE_SERIALIZER; 00170 }; // struct Pr2GripperCommandGoal_ 00171 } // namespace serialization 00172 } // namespace ros 00173 00174 namespace ros 00175 { 00176 namespace message_operations 00177 { 00178 00179 template<class ContainerAllocator> 00180 struct Printer< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> > 00181 { 00182 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> & v) 00183 { 00184 s << indent << "command: "; 00185 s << std::endl; 00186 Printer< ::pr2_controllers_msgs::Pr2GripperCommand_<ContainerAllocator> >::stream(s, indent + " ", v.command); 00187 } 00188 }; 00189 00190 00191 } // namespace message_operations 00192 } // namespace ros 00193 00194 #endif // PR2_CONTROLLERS_MSGS_MESSAGE_PR2GRIPPERCOMMANDGOAL_H 00195