$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/StateGoal.msg */ 00002 #ifndef COB_SCRIPT_SERVER_MESSAGE_STATEGOAL_H 00003 #define COB_SCRIPT_SERVER_MESSAGE_STATEGOAL_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 "cob_script_server/ScriptState.h" 00018 00019 namespace cob_script_server 00020 { 00021 template <class ContainerAllocator> 00022 struct StateGoal_ { 00023 typedef StateGoal_<ContainerAllocator> Type; 00024 00025 StateGoal_() 00026 : state() 00027 { 00028 } 00029 00030 StateGoal_(const ContainerAllocator& _alloc) 00031 : state(_alloc) 00032 { 00033 } 00034 00035 typedef ::cob_script_server::ScriptState_<ContainerAllocator> _state_type; 00036 ::cob_script_server::ScriptState_<ContainerAllocator> state; 00037 00038 00039 private: 00040 static const char* __s_getDataType_() { return "cob_script_server/StateGoal"; } 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 "5d2b1a5f7b8263c9eb024ed31a5dbee9"; } 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 #goal definition\n\ 00056 cob_script_server/ScriptState state\n\ 00057 \n\ 00058 ================================================================================\n\ 00059 MSG: cob_script_server/ScriptState\n\ 00060 Header header\n\ 00061 int16 number\n\ 00062 string function_name\n\ 00063 string component_name\n\ 00064 string parameter_name\n\ 00065 string full_graph_name\n\ 00066 \n\ 00067 # Possible execution states\n\ 00068 byte UNKNOWN=0\n\ 00069 byte ACTIVE=1\n\ 00070 byte SUCCEEDED=2\n\ 00071 byte FAILED=3\n\ 00072 byte PAUSED=4\n\ 00073 \n\ 00074 byte state # state of execution\n\ 00075 int16 error_code # current error_code for state\n\ 00076 \n\ 00077 ================================================================================\n\ 00078 MSG: std_msgs/Header\n\ 00079 # Standard metadata for higher-level stamped data types.\n\ 00080 # This is generally used to communicate timestamped data \n\ 00081 # in a particular coordinate frame.\n\ 00082 # \n\ 00083 # sequence ID: consecutively increasing ID \n\ 00084 uint32 seq\n\ 00085 #Two-integer timestamp that is expressed as:\n\ 00086 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00087 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00088 # time-handling sugar is provided by the client library\n\ 00089 time stamp\n\ 00090 #Frame this data is associated with\n\ 00091 # 0: no frame\n\ 00092 # 1: global frame\n\ 00093 string frame_id\n\ 00094 \n\ 00095 "; } 00096 public: 00097 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00098 00099 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00100 00101 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00102 { 00103 ros::serialization::OStream stream(write_ptr, 1000000000); 00104 ros::serialization::serialize(stream, state); 00105 return stream.getData(); 00106 } 00107 00108 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00109 { 00110 ros::serialization::IStream stream(read_ptr, 1000000000); 00111 ros::serialization::deserialize(stream, state); 00112 return stream.getData(); 00113 } 00114 00115 ROS_DEPRECATED virtual uint32_t serializationLength() const 00116 { 00117 uint32_t size = 0; 00118 size += ros::serialization::serializationLength(state); 00119 return size; 00120 } 00121 00122 typedef boost::shared_ptr< ::cob_script_server::StateGoal_<ContainerAllocator> > Ptr; 00123 typedef boost::shared_ptr< ::cob_script_server::StateGoal_<ContainerAllocator> const> ConstPtr; 00124 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00125 }; // struct StateGoal 00126 typedef ::cob_script_server::StateGoal_<std::allocator<void> > StateGoal; 00127 00128 typedef boost::shared_ptr< ::cob_script_server::StateGoal> StateGoalPtr; 00129 typedef boost::shared_ptr< ::cob_script_server::StateGoal const> StateGoalConstPtr; 00130 00131 00132 template<typename ContainerAllocator> 00133 std::ostream& operator<<(std::ostream& s, const ::cob_script_server::StateGoal_<ContainerAllocator> & v) 00134 { 00135 ros::message_operations::Printer< ::cob_script_server::StateGoal_<ContainerAllocator> >::stream(s, "", v); 00136 return s;} 00137 00138 } // namespace cob_script_server 00139 00140 namespace ros 00141 { 00142 namespace message_traits 00143 { 00144 template<class ContainerAllocator> struct IsMessage< ::cob_script_server::StateGoal_<ContainerAllocator> > : public TrueType {}; 00145 template<class ContainerAllocator> struct IsMessage< ::cob_script_server::StateGoal_<ContainerAllocator> const> : public TrueType {}; 00146 template<class ContainerAllocator> 00147 struct MD5Sum< ::cob_script_server::StateGoal_<ContainerAllocator> > { 00148 static const char* value() 00149 { 00150 return "5d2b1a5f7b8263c9eb024ed31a5dbee9"; 00151 } 00152 00153 static const char* value(const ::cob_script_server::StateGoal_<ContainerAllocator> &) { return value(); } 00154 static const uint64_t static_value1 = 0x5d2b1a5f7b8263c9ULL; 00155 static const uint64_t static_value2 = 0xeb024ed31a5dbee9ULL; 00156 }; 00157 00158 template<class ContainerAllocator> 00159 struct DataType< ::cob_script_server::StateGoal_<ContainerAllocator> > { 00160 static const char* value() 00161 { 00162 return "cob_script_server/StateGoal"; 00163 } 00164 00165 static const char* value(const ::cob_script_server::StateGoal_<ContainerAllocator> &) { return value(); } 00166 }; 00167 00168 template<class ContainerAllocator> 00169 struct Definition< ::cob_script_server::StateGoal_<ContainerAllocator> > { 00170 static const char* value() 00171 { 00172 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00173 #goal definition\n\ 00174 cob_script_server/ScriptState state\n\ 00175 \n\ 00176 ================================================================================\n\ 00177 MSG: cob_script_server/ScriptState\n\ 00178 Header header\n\ 00179 int16 number\n\ 00180 string function_name\n\ 00181 string component_name\n\ 00182 string parameter_name\n\ 00183 string full_graph_name\n\ 00184 \n\ 00185 # Possible execution states\n\ 00186 byte UNKNOWN=0\n\ 00187 byte ACTIVE=1\n\ 00188 byte SUCCEEDED=2\n\ 00189 byte FAILED=3\n\ 00190 byte PAUSED=4\n\ 00191 \n\ 00192 byte state # state of execution\n\ 00193 int16 error_code # current error_code for state\n\ 00194 \n\ 00195 ================================================================================\n\ 00196 MSG: std_msgs/Header\n\ 00197 # Standard metadata for higher-level stamped data types.\n\ 00198 # This is generally used to communicate timestamped data \n\ 00199 # in a particular coordinate frame.\n\ 00200 # \n\ 00201 # sequence ID: consecutively increasing ID \n\ 00202 uint32 seq\n\ 00203 #Two-integer timestamp that is expressed as:\n\ 00204 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00205 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00206 # time-handling sugar is provided by the client library\n\ 00207 time stamp\n\ 00208 #Frame this data is associated with\n\ 00209 # 0: no frame\n\ 00210 # 1: global frame\n\ 00211 string frame_id\n\ 00212 \n\ 00213 "; 00214 } 00215 00216 static const char* value(const ::cob_script_server::StateGoal_<ContainerAllocator> &) { return value(); } 00217 }; 00218 00219 } // namespace message_traits 00220 } // namespace ros 00221 00222 namespace ros 00223 { 00224 namespace serialization 00225 { 00226 00227 template<class ContainerAllocator> struct Serializer< ::cob_script_server::StateGoal_<ContainerAllocator> > 00228 { 00229 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00230 { 00231 stream.next(m.state); 00232 } 00233 00234 ROS_DECLARE_ALLINONE_SERIALIZER; 00235 }; // struct StateGoal_ 00236 } // namespace serialization 00237 } // namespace ros 00238 00239 namespace ros 00240 { 00241 namespace message_operations 00242 { 00243 00244 template<class ContainerAllocator> 00245 struct Printer< ::cob_script_server::StateGoal_<ContainerAllocator> > 00246 { 00247 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::cob_script_server::StateGoal_<ContainerAllocator> & v) 00248 { 00249 s << indent << "state: "; 00250 s << std::endl; 00251 Printer< ::cob_script_server::ScriptState_<ContainerAllocator> >::stream(s, indent + " ", v.state); 00252 } 00253 }; 00254 00255 00256 } // namespace message_operations 00257 } // namespace ros 00258 00259 #endif // COB_SCRIPT_SERVER_MESSAGE_STATEGOAL_H 00260