$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-remote_lab/doc_stacks/2013-03-03_11-54-58.406785/remote_lab/topic_logger/msg/TopicLoggerActionGoal.msg */ 00002 #ifndef TOPIC_LOGGER_MESSAGE_TOPICLOGGERACTIONGOAL_H 00003 #define TOPIC_LOGGER_MESSAGE_TOPICLOGGERACTIONGOAL_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 "topic_logger/TopicLoggerGoal.h" 00020 00021 namespace topic_logger 00022 { 00023 template <class ContainerAllocator> 00024 struct TopicLoggerActionGoal_ { 00025 typedef TopicLoggerActionGoal_<ContainerAllocator> Type; 00026 00027 TopicLoggerActionGoal_() 00028 : header() 00029 , goal_id() 00030 , goal() 00031 { 00032 } 00033 00034 TopicLoggerActionGoal_(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 ::topic_logger::TopicLoggerGoal_<ContainerAllocator> _goal_type; 00048 ::topic_logger::TopicLoggerGoal_<ContainerAllocator> goal; 00049 00050 00051 private: 00052 static const char* __s_getDataType_() { return "topic_logger/TopicLoggerActionGoal"; } 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 "73af62547a827c69335de33e1450d79a"; } 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 TopicLoggerGoal 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: topic_logger/TopicLoggerGoal\n\ 00105 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00106 #goal definition\n\ 00107 string command\n\ 00108 string ID\n\ 00109 string[] selectedTopics\n\ 00110 \n\ 00111 "; } 00112 public: 00113 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00114 00115 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00116 00117 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00118 { 00119 ros::serialization::OStream stream(write_ptr, 1000000000); 00120 ros::serialization::serialize(stream, header); 00121 ros::serialization::serialize(stream, goal_id); 00122 ros::serialization::serialize(stream, goal); 00123 return stream.getData(); 00124 } 00125 00126 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00127 { 00128 ros::serialization::IStream stream(read_ptr, 1000000000); 00129 ros::serialization::deserialize(stream, header); 00130 ros::serialization::deserialize(stream, goal_id); 00131 ros::serialization::deserialize(stream, goal); 00132 return stream.getData(); 00133 } 00134 00135 ROS_DEPRECATED virtual uint32_t serializationLength() const 00136 { 00137 uint32_t size = 0; 00138 size += ros::serialization::serializationLength(header); 00139 size += ros::serialization::serializationLength(goal_id); 00140 size += ros::serialization::serializationLength(goal); 00141 return size; 00142 } 00143 00144 typedef boost::shared_ptr< ::topic_logger::TopicLoggerActionGoal_<ContainerAllocator> > Ptr; 00145 typedef boost::shared_ptr< ::topic_logger::TopicLoggerActionGoal_<ContainerAllocator> const> ConstPtr; 00146 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00147 }; // struct TopicLoggerActionGoal 00148 typedef ::topic_logger::TopicLoggerActionGoal_<std::allocator<void> > TopicLoggerActionGoal; 00149 00150 typedef boost::shared_ptr< ::topic_logger::TopicLoggerActionGoal> TopicLoggerActionGoalPtr; 00151 typedef boost::shared_ptr< ::topic_logger::TopicLoggerActionGoal const> TopicLoggerActionGoalConstPtr; 00152 00153 00154 template<typename ContainerAllocator> 00155 std::ostream& operator<<(std::ostream& s, const ::topic_logger::TopicLoggerActionGoal_<ContainerAllocator> & v) 00156 { 00157 ros::message_operations::Printer< ::topic_logger::TopicLoggerActionGoal_<ContainerAllocator> >::stream(s, "", v); 00158 return s;} 00159 00160 } // namespace topic_logger 00161 00162 namespace ros 00163 { 00164 namespace message_traits 00165 { 00166 template<class ContainerAllocator> struct IsMessage< ::topic_logger::TopicLoggerActionGoal_<ContainerAllocator> > : public TrueType {}; 00167 template<class ContainerAllocator> struct IsMessage< ::topic_logger::TopicLoggerActionGoal_<ContainerAllocator> const> : public TrueType {}; 00168 template<class ContainerAllocator> 00169 struct MD5Sum< ::topic_logger::TopicLoggerActionGoal_<ContainerAllocator> > { 00170 static const char* value() 00171 { 00172 return "73af62547a827c69335de33e1450d79a"; 00173 } 00174 00175 static const char* value(const ::topic_logger::TopicLoggerActionGoal_<ContainerAllocator> &) { return value(); } 00176 static const uint64_t static_value1 = 0x73af62547a827c69ULL; 00177 static const uint64_t static_value2 = 0x335de33e1450d79aULL; 00178 }; 00179 00180 template<class ContainerAllocator> 00181 struct DataType< ::topic_logger::TopicLoggerActionGoal_<ContainerAllocator> > { 00182 static const char* value() 00183 { 00184 return "topic_logger/TopicLoggerActionGoal"; 00185 } 00186 00187 static const char* value(const ::topic_logger::TopicLoggerActionGoal_<ContainerAllocator> &) { return value(); } 00188 }; 00189 00190 template<class ContainerAllocator> 00191 struct Definition< ::topic_logger::TopicLoggerActionGoal_<ContainerAllocator> > { 00192 static const char* value() 00193 { 00194 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00195 \n\ 00196 Header header\n\ 00197 actionlib_msgs/GoalID goal_id\n\ 00198 TopicLoggerGoal goal\n\ 00199 \n\ 00200 ================================================================================\n\ 00201 MSG: std_msgs/Header\n\ 00202 # Standard metadata for higher-level stamped data types.\n\ 00203 # This is generally used to communicate timestamped data \n\ 00204 # in a particular coordinate frame.\n\ 00205 # \n\ 00206 # sequence ID: consecutively increasing ID \n\ 00207 uint32 seq\n\ 00208 #Two-integer timestamp that is expressed as:\n\ 00209 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00210 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00211 # time-handling sugar is provided by the client library\n\ 00212 time stamp\n\ 00213 #Frame this data is associated with\n\ 00214 # 0: no frame\n\ 00215 # 1: global frame\n\ 00216 string frame_id\n\ 00217 \n\ 00218 ================================================================================\n\ 00219 MSG: actionlib_msgs/GoalID\n\ 00220 # The stamp should store the time at which this goal was requested.\n\ 00221 # It is used by an action server when it tries to preempt all\n\ 00222 # goals that were requested before a certain time\n\ 00223 time stamp\n\ 00224 \n\ 00225 # The id provides a way to associate feedback and\n\ 00226 # result message with specific goal requests. The id\n\ 00227 # specified must be unique.\n\ 00228 string id\n\ 00229 \n\ 00230 \n\ 00231 ================================================================================\n\ 00232 MSG: topic_logger/TopicLoggerGoal\n\ 00233 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00234 #goal definition\n\ 00235 string command\n\ 00236 string ID\n\ 00237 string[] selectedTopics\n\ 00238 \n\ 00239 "; 00240 } 00241 00242 static const char* value(const ::topic_logger::TopicLoggerActionGoal_<ContainerAllocator> &) { return value(); } 00243 }; 00244 00245 template<class ContainerAllocator> struct HasHeader< ::topic_logger::TopicLoggerActionGoal_<ContainerAllocator> > : public TrueType {}; 00246 template<class ContainerAllocator> struct HasHeader< const ::topic_logger::TopicLoggerActionGoal_<ContainerAllocator> > : public TrueType {}; 00247 } // namespace message_traits 00248 } // namespace ros 00249 00250 namespace ros 00251 { 00252 namespace serialization 00253 { 00254 00255 template<class ContainerAllocator> struct Serializer< ::topic_logger::TopicLoggerActionGoal_<ContainerAllocator> > 00256 { 00257 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00258 { 00259 stream.next(m.header); 00260 stream.next(m.goal_id); 00261 stream.next(m.goal); 00262 } 00263 00264 ROS_DECLARE_ALLINONE_SERIALIZER; 00265 }; // struct TopicLoggerActionGoal_ 00266 } // namespace serialization 00267 } // namespace ros 00268 00269 namespace ros 00270 { 00271 namespace message_operations 00272 { 00273 00274 template<class ContainerAllocator> 00275 struct Printer< ::topic_logger::TopicLoggerActionGoal_<ContainerAllocator> > 00276 { 00277 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::topic_logger::TopicLoggerActionGoal_<ContainerAllocator> & v) 00278 { 00279 s << indent << "header: "; 00280 s << std::endl; 00281 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); 00282 s << indent << "goal_id: "; 00283 s << std::endl; 00284 Printer< ::actionlib_msgs::GoalID_<ContainerAllocator> >::stream(s, indent + " ", v.goal_id); 00285 s << indent << "goal: "; 00286 s << std::endl; 00287 Printer< ::topic_logger::TopicLoggerGoal_<ContainerAllocator> >::stream(s, indent + " ", v.goal); 00288 } 00289 }; 00290 00291 00292 } // namespace message_operations 00293 } // namespace ros 00294 00295 #endif // TOPIC_LOGGER_MESSAGE_TOPICLOGGERACTIONGOAL_H 00296