$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_object_manipulation_msgs/msg/RunScriptGoal.msg */ 00002 #ifndef PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_RUNSCRIPTGOAL_H 00003 #define PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_RUNSCRIPTGOAL_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_object_manipulation_msgs 00019 { 00020 template <class ContainerAllocator> 00021 struct RunScriptGoal_ { 00022 typedef RunScriptGoal_<ContainerAllocator> Type; 00023 00024 RunScriptGoal_() 00025 : action_name() 00026 , group_name() 00027 { 00028 } 00029 00030 RunScriptGoal_(const ContainerAllocator& _alloc) 00031 : action_name(_alloc) 00032 , group_name(_alloc) 00033 { 00034 } 00035 00036 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _action_name_type; 00037 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > action_name; 00038 00039 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _group_name_type; 00040 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > group_name; 00041 00042 00043 private: 00044 static const char* __s_getDataType_() { return "pr2_object_manipulation_msgs/RunScriptGoal"; } 00045 public: 00046 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00047 00048 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00049 00050 private: 00051 static const char* __s_getMD5Sum_() { return "62bc577426e782a6d2e08ca1e2bc3426"; } 00052 public: 00053 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00054 00055 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00056 00057 private: 00058 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00059 string action_name\n\ 00060 string group_name\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, action_name); 00072 ros::serialization::serialize(stream, group_name); 00073 return stream.getData(); 00074 } 00075 00076 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00077 { 00078 ros::serialization::IStream stream(read_ptr, 1000000000); 00079 ros::serialization::deserialize(stream, action_name); 00080 ros::serialization::deserialize(stream, group_name); 00081 return stream.getData(); 00082 } 00083 00084 ROS_DEPRECATED virtual uint32_t serializationLength() const 00085 { 00086 uint32_t size = 0; 00087 size += ros::serialization::serializationLength(action_name); 00088 size += ros::serialization::serializationLength(group_name); 00089 return size; 00090 } 00091 00092 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::RunScriptGoal_<ContainerAllocator> > Ptr; 00093 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::RunScriptGoal_<ContainerAllocator> const> ConstPtr; 00094 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00095 }; // struct RunScriptGoal 00096 typedef ::pr2_object_manipulation_msgs::RunScriptGoal_<std::allocator<void> > RunScriptGoal; 00097 00098 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::RunScriptGoal> RunScriptGoalPtr; 00099 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::RunScriptGoal const> RunScriptGoalConstPtr; 00100 00101 00102 template<typename ContainerAllocator> 00103 std::ostream& operator<<(std::ostream& s, const ::pr2_object_manipulation_msgs::RunScriptGoal_<ContainerAllocator> & v) 00104 { 00105 ros::message_operations::Printer< ::pr2_object_manipulation_msgs::RunScriptGoal_<ContainerAllocator> >::stream(s, "", v); 00106 return s;} 00107 00108 } // namespace pr2_object_manipulation_msgs 00109 00110 namespace ros 00111 { 00112 namespace message_traits 00113 { 00114 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::RunScriptGoal_<ContainerAllocator> > : public TrueType {}; 00115 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::RunScriptGoal_<ContainerAllocator> const> : public TrueType {}; 00116 template<class ContainerAllocator> 00117 struct MD5Sum< ::pr2_object_manipulation_msgs::RunScriptGoal_<ContainerAllocator> > { 00118 static const char* value() 00119 { 00120 return "62bc577426e782a6d2e08ca1e2bc3426"; 00121 } 00122 00123 static const char* value(const ::pr2_object_manipulation_msgs::RunScriptGoal_<ContainerAllocator> &) { return value(); } 00124 static const uint64_t static_value1 = 0x62bc577426e782a6ULL; 00125 static const uint64_t static_value2 = 0xd2e08ca1e2bc3426ULL; 00126 }; 00127 00128 template<class ContainerAllocator> 00129 struct DataType< ::pr2_object_manipulation_msgs::RunScriptGoal_<ContainerAllocator> > { 00130 static const char* value() 00131 { 00132 return "pr2_object_manipulation_msgs/RunScriptGoal"; 00133 } 00134 00135 static const char* value(const ::pr2_object_manipulation_msgs::RunScriptGoal_<ContainerAllocator> &) { return value(); } 00136 }; 00137 00138 template<class ContainerAllocator> 00139 struct Definition< ::pr2_object_manipulation_msgs::RunScriptGoal_<ContainerAllocator> > { 00140 static const char* value() 00141 { 00142 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00143 string action_name\n\ 00144 string group_name\n\ 00145 \n\ 00146 "; 00147 } 00148 00149 static const char* value(const ::pr2_object_manipulation_msgs::RunScriptGoal_<ContainerAllocator> &) { return value(); } 00150 }; 00151 00152 } // namespace message_traits 00153 } // namespace ros 00154 00155 namespace ros 00156 { 00157 namespace serialization 00158 { 00159 00160 template<class ContainerAllocator> struct Serializer< ::pr2_object_manipulation_msgs::RunScriptGoal_<ContainerAllocator> > 00161 { 00162 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00163 { 00164 stream.next(m.action_name); 00165 stream.next(m.group_name); 00166 } 00167 00168 ROS_DECLARE_ALLINONE_SERIALIZER; 00169 }; // struct RunScriptGoal_ 00170 } // namespace serialization 00171 } // namespace ros 00172 00173 namespace ros 00174 { 00175 namespace message_operations 00176 { 00177 00178 template<class ContainerAllocator> 00179 struct Printer< ::pr2_object_manipulation_msgs::RunScriptGoal_<ContainerAllocator> > 00180 { 00181 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_object_manipulation_msgs::RunScriptGoal_<ContainerAllocator> & v) 00182 { 00183 s << indent << "action_name: "; 00184 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.action_name); 00185 s << indent << "group_name: "; 00186 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.group_name); 00187 } 00188 }; 00189 00190 00191 } // namespace message_operations 00192 } // namespace ros 00193 00194 #endif // PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_RUNSCRIPTGOAL_H 00195