$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/TopicLoggerResult.msg */ 00002 #ifndef TOPIC_LOGGER_MESSAGE_TOPICLOGGERRESULT_H 00003 #define TOPIC_LOGGER_MESSAGE_TOPICLOGGERRESULT_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 topic_logger 00019 { 00020 template <class ContainerAllocator> 00021 struct TopicLoggerResult_ { 00022 typedef TopicLoggerResult_<ContainerAllocator> Type; 00023 00024 TopicLoggerResult_() 00025 : downloadURL() 00026 , target_filename() 00027 { 00028 } 00029 00030 TopicLoggerResult_(const ContainerAllocator& _alloc) 00031 : downloadURL(_alloc) 00032 , target_filename(_alloc) 00033 { 00034 } 00035 00036 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _downloadURL_type; 00037 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > downloadURL; 00038 00039 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _target_filename_type; 00040 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > target_filename; 00041 00042 00043 private: 00044 static const char* __s_getDataType_() { return "topic_logger/TopicLoggerResult"; } 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 "d8f288c73d2dfcebb5e4fb8a1eb85278"; } 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 #result definition\n\ 00060 string downloadURL\n\ 00061 string target_filename\n\ 00062 \n\ 00063 "; } 00064 public: 00065 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00066 00067 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00068 00069 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00070 { 00071 ros::serialization::OStream stream(write_ptr, 1000000000); 00072 ros::serialization::serialize(stream, downloadURL); 00073 ros::serialization::serialize(stream, target_filename); 00074 return stream.getData(); 00075 } 00076 00077 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00078 { 00079 ros::serialization::IStream stream(read_ptr, 1000000000); 00080 ros::serialization::deserialize(stream, downloadURL); 00081 ros::serialization::deserialize(stream, target_filename); 00082 return stream.getData(); 00083 } 00084 00085 ROS_DEPRECATED virtual uint32_t serializationLength() const 00086 { 00087 uint32_t size = 0; 00088 size += ros::serialization::serializationLength(downloadURL); 00089 size += ros::serialization::serializationLength(target_filename); 00090 return size; 00091 } 00092 00093 typedef boost::shared_ptr< ::topic_logger::TopicLoggerResult_<ContainerAllocator> > Ptr; 00094 typedef boost::shared_ptr< ::topic_logger::TopicLoggerResult_<ContainerAllocator> const> ConstPtr; 00095 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00096 }; // struct TopicLoggerResult 00097 typedef ::topic_logger::TopicLoggerResult_<std::allocator<void> > TopicLoggerResult; 00098 00099 typedef boost::shared_ptr< ::topic_logger::TopicLoggerResult> TopicLoggerResultPtr; 00100 typedef boost::shared_ptr< ::topic_logger::TopicLoggerResult const> TopicLoggerResultConstPtr; 00101 00102 00103 template<typename ContainerAllocator> 00104 std::ostream& operator<<(std::ostream& s, const ::topic_logger::TopicLoggerResult_<ContainerAllocator> & v) 00105 { 00106 ros::message_operations::Printer< ::topic_logger::TopicLoggerResult_<ContainerAllocator> >::stream(s, "", v); 00107 return s;} 00108 00109 } // namespace topic_logger 00110 00111 namespace ros 00112 { 00113 namespace message_traits 00114 { 00115 template<class ContainerAllocator> struct IsMessage< ::topic_logger::TopicLoggerResult_<ContainerAllocator> > : public TrueType {}; 00116 template<class ContainerAllocator> struct IsMessage< ::topic_logger::TopicLoggerResult_<ContainerAllocator> const> : public TrueType {}; 00117 template<class ContainerAllocator> 00118 struct MD5Sum< ::topic_logger::TopicLoggerResult_<ContainerAllocator> > { 00119 static const char* value() 00120 { 00121 return "d8f288c73d2dfcebb5e4fb8a1eb85278"; 00122 } 00123 00124 static const char* value(const ::topic_logger::TopicLoggerResult_<ContainerAllocator> &) { return value(); } 00125 static const uint64_t static_value1 = 0xd8f288c73d2dfcebULL; 00126 static const uint64_t static_value2 = 0xb5e4fb8a1eb85278ULL; 00127 }; 00128 00129 template<class ContainerAllocator> 00130 struct DataType< ::topic_logger::TopicLoggerResult_<ContainerAllocator> > { 00131 static const char* value() 00132 { 00133 return "topic_logger/TopicLoggerResult"; 00134 } 00135 00136 static const char* value(const ::topic_logger::TopicLoggerResult_<ContainerAllocator> &) { return value(); } 00137 }; 00138 00139 template<class ContainerAllocator> 00140 struct Definition< ::topic_logger::TopicLoggerResult_<ContainerAllocator> > { 00141 static const char* value() 00142 { 00143 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00144 #result definition\n\ 00145 string downloadURL\n\ 00146 string target_filename\n\ 00147 \n\ 00148 "; 00149 } 00150 00151 static const char* value(const ::topic_logger::TopicLoggerResult_<ContainerAllocator> &) { return value(); } 00152 }; 00153 00154 } // namespace message_traits 00155 } // namespace ros 00156 00157 namespace ros 00158 { 00159 namespace serialization 00160 { 00161 00162 template<class ContainerAllocator> struct Serializer< ::topic_logger::TopicLoggerResult_<ContainerAllocator> > 00163 { 00164 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00165 { 00166 stream.next(m.downloadURL); 00167 stream.next(m.target_filename); 00168 } 00169 00170 ROS_DECLARE_ALLINONE_SERIALIZER; 00171 }; // struct TopicLoggerResult_ 00172 } // namespace serialization 00173 } // namespace ros 00174 00175 namespace ros 00176 { 00177 namespace message_operations 00178 { 00179 00180 template<class ContainerAllocator> 00181 struct Printer< ::topic_logger::TopicLoggerResult_<ContainerAllocator> > 00182 { 00183 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::topic_logger::TopicLoggerResult_<ContainerAllocator> & v) 00184 { 00185 s << indent << "downloadURL: "; 00186 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.downloadURL); 00187 s << indent << "target_filename: "; 00188 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.target_filename); 00189 } 00190 }; 00191 00192 00193 } // namespace message_operations 00194 } // namespace ros 00195 00196 #endif // TOPIC_LOGGER_MESSAGE_TOPICLOGGERRESULT_H 00197