$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-pr2_object_manipulation/doc_stacks/2013-03-05_12-10-38.333207/pr2_object_manipulation/manipulation/pr2_gripper_sensor_msgs/msg/PR2GripperSlipServoCommand.msg */ 00002 #ifndef PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERSLIPSERVOCOMMAND_H 00003 #define PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERSLIPSERVOCOMMAND_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 00018 namespace pr2_gripper_sensor_msgs 00019 { 00020 template <class ContainerAllocator> 00021 struct PR2GripperSlipServoCommand_ { 00022 typedef PR2GripperSlipServoCommand_<ContainerAllocator> Type; 00023 00024 PR2GripperSlipServoCommand_() 00025 { 00026 } 00027 00028 PR2GripperSlipServoCommand_(const ContainerAllocator& _alloc) 00029 { 00030 } 00031 00032 00033 private: 00034 static const char* __s_getDataType_() { return "pr2_gripper_sensor_msgs/PR2GripperSlipServoCommand"; } 00035 public: 00036 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00037 00038 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00039 00040 private: 00041 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; } 00042 public: 00043 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00044 00045 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00046 00047 private: 00048 static const char* __s_getMessageDefinition_() { return "# this command is currently blank, but may see additional variable\n\ 00049 # additions in the future\n\ 00050 \n\ 00051 # see the param server documentation for a list of variables that effect\n\ 00052 # slip servo performance\n\ 00053 "; } 00054 public: 00055 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00056 00057 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00058 00059 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00060 { 00061 ros::serialization::OStream stream(write_ptr, 1000000000); 00062 return stream.getData(); 00063 } 00064 00065 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00066 { 00067 ros::serialization::IStream stream(read_ptr, 1000000000); 00068 return stream.getData(); 00069 } 00070 00071 ROS_DEPRECATED virtual uint32_t serializationLength() const 00072 { 00073 uint32_t size = 0; 00074 return size; 00075 } 00076 00077 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> > Ptr; 00078 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> const> ConstPtr; 00079 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00080 }; // struct PR2GripperSlipServoCommand 00081 typedef ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<std::allocator<void> > PR2GripperSlipServoCommand; 00082 00083 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand> PR2GripperSlipServoCommandPtr; 00084 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand const> PR2GripperSlipServoCommandConstPtr; 00085 00086 00087 template<typename ContainerAllocator> 00088 std::ostream& operator<<(std::ostream& s, const ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> & v) 00089 { 00090 ros::message_operations::Printer< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> >::stream(s, "", v); 00091 return s;} 00092 00093 } // namespace pr2_gripper_sensor_msgs 00094 00095 namespace ros 00096 { 00097 namespace message_traits 00098 { 00099 template<class ContainerAllocator> struct IsMessage< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> > : public TrueType {}; 00100 template<class ContainerAllocator> struct IsMessage< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> const> : public TrueType {}; 00101 template<class ContainerAllocator> 00102 struct MD5Sum< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> > { 00103 static const char* value() 00104 { 00105 return "d41d8cd98f00b204e9800998ecf8427e"; 00106 } 00107 00108 static const char* value(const ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> &) { return value(); } 00109 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00110 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00111 }; 00112 00113 template<class ContainerAllocator> 00114 struct DataType< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> > { 00115 static const char* value() 00116 { 00117 return "pr2_gripper_sensor_msgs/PR2GripperSlipServoCommand"; 00118 } 00119 00120 static const char* value(const ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> &) { return value(); } 00121 }; 00122 00123 template<class ContainerAllocator> 00124 struct Definition< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> > { 00125 static const char* value() 00126 { 00127 return "# this command is currently blank, but may see additional variable\n\ 00128 # additions in the future\n\ 00129 \n\ 00130 # see the param server documentation for a list of variables that effect\n\ 00131 # slip servo performance\n\ 00132 "; 00133 } 00134 00135 static const char* value(const ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> &) { return value(); } 00136 }; 00137 00138 template<class ContainerAllocator> struct IsFixedSize< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> > : public TrueType {}; 00139 } // namespace message_traits 00140 } // namespace ros 00141 00142 namespace ros 00143 { 00144 namespace serialization 00145 { 00146 00147 template<class ContainerAllocator> struct Serializer< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> > 00148 { 00149 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00150 { 00151 } 00152 00153 ROS_DECLARE_ALLINONE_SERIALIZER; 00154 }; // struct PR2GripperSlipServoCommand_ 00155 } // namespace serialization 00156 } // namespace ros 00157 00158 namespace ros 00159 { 00160 namespace message_operations 00161 { 00162 00163 template<class ContainerAllocator> 00164 struct Printer< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> > 00165 { 00166 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> & v) 00167 { 00168 } 00169 }; 00170 00171 00172 } // namespace message_operations 00173 } // namespace ros 00174 00175 #endif // PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERSLIPSERVOCOMMAND_H 00176