$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-cob_command_tools/doc_stacks/2013-03-01_14-37-44.555747/cob_command_tools/cob_script_server/msg/ScriptActionGoal.msg */ 00002 #ifndef COB_SCRIPT_SERVER_MESSAGE_SCRIPTACTIONGOAL_H 00003 #define COB_SCRIPT_SERVER_MESSAGE_SCRIPTACTIONGOAL_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 "std_msgs/Header.h" 00018 #include "actionlib_msgs/GoalID.h" 00019 #include "cob_script_server/ScriptGoal.h" 00020 00021 namespace cob_script_server 00022 { 00023 template <class ContainerAllocator> 00024 struct ScriptActionGoal_ { 00025 typedef ScriptActionGoal_<ContainerAllocator> Type; 00026 00027 ScriptActionGoal_() 00028 : header() 00029 , goal_id() 00030 , goal() 00031 { 00032 } 00033 00034 ScriptActionGoal_(const ContainerAllocator& _alloc) 00035 : header(_alloc) 00036 , goal_id(_alloc) 00037 , goal(_alloc) 00038 { 00039 } 00040 00041 typedef ::std_msgs::Header_<ContainerAllocator> _header_type; 00042 ::std_msgs::Header_<ContainerAllocator> header; 00043 00044 typedef ::actionlib_msgs::GoalID_<ContainerAllocator> _goal_id_type; 00045 ::actionlib_msgs::GoalID_<ContainerAllocator> goal_id; 00046 00047 typedef ::cob_script_server::ScriptGoal_<ContainerAllocator> _goal_type; 00048 ::cob_script_server::ScriptGoal_<ContainerAllocator> goal; 00049 00050 00051 private: 00052 static const char* __s_getDataType_() { return "cob_script_server/ScriptActionGoal"; } 00053 public: 00054 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00055 00056 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00057 00058 private: 00059 static const char* __s_getMD5Sum_() { return "0d0aefd8bc74f97d2bda7e785f0e79d4"; } 00060 public: 00061 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00062 00063 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00064 00065 private: 00066 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00067 \n\ 00068 Header header\n\ 00069 actionlib_msgs/GoalID goal_id\n\ 00070 ScriptGoal goal\n\ 00071 \n\ 00072 ================================================================================\n\ 00073 MSG: std_msgs/Header\n\ 00074 # Standard metadata for higher-level stamped data types.\n\ 00075 # This is generally used to communicate timestamped data \n\ 00076 # in a particular coordinate frame.\n\ 00077 # \n\ 00078 # sequence ID: consecutively increasing ID \n\ 00079 uint32 seq\n\ 00080 #Two-integer timestamp that is expressed as:\n\ 00081 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00082 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00083 # time-handling sugar is provided by the client library\n\ 00084 time stamp\n\ 00085 #Frame this data is associated with\n\ 00086 # 0: no frame\n\ 00087 # 1: global frame\n\ 00088 string frame_id\n\ 00089 \n\ 00090 ================================================================================\n\ 00091 MSG: actionlib_msgs/GoalID\n\ 00092 # The stamp should store the time at which this goal was requested.\n\ 00093 # It is used by an action server when it tries to preempt all\n\ 00094 # goals that were requested before a certain time\n\ 00095 time stamp\n\ 00096 \n\ 00097 # The id provides a way to associate feedback and\n\ 00098 # result message with specific goal requests. The id\n\ 00099 # specified must be unique.\n\ 00100 string id\n\ 00101 \n\ 00102 \n\ 00103 ================================================================================\n\ 00104 MSG: cob_script_server/ScriptGoal\n\ 00105 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00106 #goal definition\n\ 00107 string function_name\n\ 00108 string component_name\n\ 00109 string parameter_name\n\ 00110 string mode\n\ 00111 string service_name\n\ 00112 float32 duration\n\ 00113 bool planning\n\ 00114 \n\ 00115 "; } 00116 public: 00117 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00118 00119 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00120 00121 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00122 { 00123 ros::serialization::OStream stream(write_ptr, 1000000000); 00124 ros::serialization::serialize(stream, header); 00125 ros::serialization::serialize(stream, goal_id); 00126 ros::serialization::serialize(stream, goal); 00127 return stream.getData(); 00128 } 00129 00130 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00131 { 00132 ros::serialization::IStream stream(read_ptr, 1000000000); 00133 ros::serialization::deserialize(stream, header); 00134 ros::serialization::deserialize(stream, goal_id); 00135 ros::serialization::deserialize(stream, goal); 00136 return stream.getData(); 00137 } 00138 00139 ROS_DEPRECATED virtual uint32_t serializationLength() const 00140 { 00141 uint32_t size = 0; 00142 size += ros::serialization::serializationLength(header); 00143 size += ros::serialization::serializationLength(goal_id); 00144 size += ros::serialization::serializationLength(goal); 00145 return size; 00146 } 00147 00148 typedef boost::shared_ptr< ::cob_script_server::ScriptActionGoal_<ContainerAllocator> > Ptr; 00149 typedef boost::shared_ptr< ::cob_script_server::ScriptActionGoal_<ContainerAllocator> const> ConstPtr; 00150 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00151 }; // struct ScriptActionGoal 00152 typedef ::cob_script_server::ScriptActionGoal_<std::allocator<void> > ScriptActionGoal; 00153 00154 typedef boost::shared_ptr< ::cob_script_server::ScriptActionGoal> ScriptActionGoalPtr; 00155 typedef boost::shared_ptr< ::cob_script_server::ScriptActionGoal const> ScriptActionGoalConstPtr; 00156 00157 00158 template<typename ContainerAllocator> 00159 std::ostream& operator<<(std::ostream& s, const ::cob_script_server::ScriptActionGoal_<ContainerAllocator> & v) 00160 { 00161 ros::message_operations::Printer< ::cob_script_server::ScriptActionGoal_<ContainerAllocator> >::stream(s, "", v); 00162 return s;} 00163 00164 } // namespace cob_script_server 00165 00166 namespace ros 00167 { 00168 namespace message_traits 00169 { 00170 template<class ContainerAllocator> struct IsMessage< ::cob_script_server::ScriptActionGoal_<ContainerAllocator> > : public TrueType {}; 00171 template<class ContainerAllocator> struct IsMessage< ::cob_script_server::ScriptActionGoal_<ContainerAllocator> const> : public TrueType {}; 00172 template<class ContainerAllocator> 00173 struct MD5Sum< ::cob_script_server::ScriptActionGoal_<ContainerAllocator> > { 00174 static const char* value() 00175 { 00176 return "0d0aefd8bc74f97d2bda7e785f0e79d4"; 00177 } 00178 00179 static const char* value(const ::cob_script_server::ScriptActionGoal_<ContainerAllocator> &) { return value(); } 00180 static const uint64_t static_value1 = 0x0d0aefd8bc74f97dULL; 00181 static const uint64_t static_value2 = 0x2bda7e785f0e79d4ULL; 00182 }; 00183 00184 template<class ContainerAllocator> 00185 struct DataType< ::cob_script_server::ScriptActionGoal_<ContainerAllocator> > { 00186 static const char* value() 00187 { 00188 return "cob_script_server/ScriptActionGoal"; 00189 } 00190 00191 static const char* value(const ::cob_script_server::ScriptActionGoal_<ContainerAllocator> &) { return value(); } 00192 }; 00193 00194 template<class ContainerAllocator> 00195 struct Definition< ::cob_script_server::ScriptActionGoal_<ContainerAllocator> > { 00196 static const char* value() 00197 { 00198 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00199 \n\ 00200 Header header\n\ 00201 actionlib_msgs/GoalID goal_id\n\ 00202 ScriptGoal goal\n\ 00203 \n\ 00204 ================================================================================\n\ 00205 MSG: std_msgs/Header\n\ 00206 # Standard metadata for higher-level stamped data types.\n\ 00207 # This is generally used to communicate timestamped data \n\ 00208 # in a particular coordinate frame.\n\ 00209 # \n\ 00210 # sequence ID: consecutively increasing ID \n\ 00211 uint32 seq\n\ 00212 #Two-integer timestamp that is expressed as:\n\ 00213 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00214 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00215 # time-handling sugar is provided by the client library\n\ 00216 time stamp\n\ 00217 #Frame this data is associated with\n\ 00218 # 0: no frame\n\ 00219 # 1: global frame\n\ 00220 string frame_id\n\ 00221 \n\ 00222 ================================================================================\n\ 00223 MSG: actionlib_msgs/GoalID\n\ 00224 # The stamp should store the time at which this goal was requested.\n\ 00225 # It is used by an action server when it tries to preempt all\n\ 00226 # goals that were requested before a certain time\n\ 00227 time stamp\n\ 00228 \n\ 00229 # The id provides a way to associate feedback and\n\ 00230 # result message with specific goal requests. The id\n\ 00231 # specified must be unique.\n\ 00232 string id\n\ 00233 \n\ 00234 \n\ 00235 ================================================================================\n\ 00236 MSG: cob_script_server/ScriptGoal\n\ 00237 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00238 #goal definition\n\ 00239 string function_name\n\ 00240 string component_name\n\ 00241 string parameter_name\n\ 00242 string mode\n\ 00243 string service_name\n\ 00244 float32 duration\n\ 00245 bool planning\n\ 00246 \n\ 00247 "; 00248 } 00249 00250 static const char* value(const ::cob_script_server::ScriptActionGoal_<ContainerAllocator> &) { return value(); } 00251 }; 00252 00253 template<class ContainerAllocator> struct HasHeader< ::cob_script_server::ScriptActionGoal_<ContainerAllocator> > : public TrueType {}; 00254 template<class ContainerAllocator> struct HasHeader< const ::cob_script_server::ScriptActionGoal_<ContainerAllocator> > : public TrueType {}; 00255 } // namespace message_traits 00256 } // namespace ros 00257 00258 namespace ros 00259 { 00260 namespace serialization 00261 { 00262 00263 template<class ContainerAllocator> struct Serializer< ::cob_script_server::ScriptActionGoal_<ContainerAllocator> > 00264 { 00265 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00266 { 00267 stream.next(m.header); 00268 stream.next(m.goal_id); 00269 stream.next(m.goal); 00270 } 00271 00272 ROS_DECLARE_ALLINONE_SERIALIZER; 00273 }; // struct ScriptActionGoal_ 00274 } // namespace serialization 00275 } // namespace ros 00276 00277 namespace ros 00278 { 00279 namespace message_operations 00280 { 00281 00282 template<class ContainerAllocator> 00283 struct Printer< ::cob_script_server::ScriptActionGoal_<ContainerAllocator> > 00284 { 00285 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::cob_script_server::ScriptActionGoal_<ContainerAllocator> & v) 00286 { 00287 s << indent << "header: "; 00288 s << std::endl; 00289 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); 00290 s << indent << "goal_id: "; 00291 s << std::endl; 00292 Printer< ::actionlib_msgs::GoalID_<ContainerAllocator> >::stream(s, indent + " ", v.goal_id); 00293 s << indent << "goal: "; 00294 s << std::endl; 00295 Printer< ::cob_script_server::ScriptGoal_<ContainerAllocator> >::stream(s, indent + " ", v.goal); 00296 } 00297 }; 00298 00299 00300 } // namespace message_operations 00301 } // namespace ros 00302 00303 #endif // COB_SCRIPT_SERVER_MESSAGE_SCRIPTACTIONGOAL_H 00304