00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-rocon_msgs/doc_stacks/2013-01-15_17-40-23.156253/rocon_msgs/concert_msgs/srv/GetPlatformInfo.srv */ 00002 #ifndef CONCERT_MSGS_SERVICE_GETPLATFORMINFO_H 00003 #define CONCERT_MSGS_SERVICE_GETPLATFORMINFO_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 "ros/service_traits.h" 00018 00019 00020 00021 #include "concert_msgs/PlatformInfo.h" 00022 00023 namespace concert_msgs 00024 { 00025 template <class ContainerAllocator> 00026 struct GetPlatformInfoRequest_ { 00027 typedef GetPlatformInfoRequest_<ContainerAllocator> Type; 00028 00029 GetPlatformInfoRequest_() 00030 { 00031 } 00032 00033 GetPlatformInfoRequest_(const ContainerAllocator& _alloc) 00034 { 00035 } 00036 00037 00038 typedef boost::shared_ptr< ::concert_msgs::GetPlatformInfoRequest_<ContainerAllocator> > Ptr; 00039 typedef boost::shared_ptr< ::concert_msgs::GetPlatformInfoRequest_<ContainerAllocator> const> ConstPtr; 00040 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00041 }; // struct GetPlatformInfoRequest 00042 typedef ::concert_msgs::GetPlatformInfoRequest_<std::allocator<void> > GetPlatformInfoRequest; 00043 00044 typedef boost::shared_ptr< ::concert_msgs::GetPlatformInfoRequest> GetPlatformInfoRequestPtr; 00045 typedef boost::shared_ptr< ::concert_msgs::GetPlatformInfoRequest const> GetPlatformInfoRequestConstPtr; 00046 00047 00048 template <class ContainerAllocator> 00049 struct GetPlatformInfoResponse_ { 00050 typedef GetPlatformInfoResponse_<ContainerAllocator> Type; 00051 00052 GetPlatformInfoResponse_() 00053 : platform_info() 00054 { 00055 } 00056 00057 GetPlatformInfoResponse_(const ContainerAllocator& _alloc) 00058 : platform_info(_alloc) 00059 { 00060 } 00061 00062 typedef ::concert_msgs::PlatformInfo_<ContainerAllocator> _platform_info_type; 00063 ::concert_msgs::PlatformInfo_<ContainerAllocator> platform_info; 00064 00065 00066 typedef boost::shared_ptr< ::concert_msgs::GetPlatformInfoResponse_<ContainerAllocator> > Ptr; 00067 typedef boost::shared_ptr< ::concert_msgs::GetPlatformInfoResponse_<ContainerAllocator> const> ConstPtr; 00068 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00069 }; // struct GetPlatformInfoResponse 00070 typedef ::concert_msgs::GetPlatformInfoResponse_<std::allocator<void> > GetPlatformInfoResponse; 00071 00072 typedef boost::shared_ptr< ::concert_msgs::GetPlatformInfoResponse> GetPlatformInfoResponsePtr; 00073 typedef boost::shared_ptr< ::concert_msgs::GetPlatformInfoResponse const> GetPlatformInfoResponseConstPtr; 00074 00075 struct GetPlatformInfo 00076 { 00077 00078 typedef GetPlatformInfoRequest Request; 00079 typedef GetPlatformInfoResponse Response; 00080 Request request; 00081 Response response; 00082 00083 typedef Request RequestType; 00084 typedef Response ResponseType; 00085 }; // struct GetPlatformInfo 00086 } // namespace concert_msgs 00087 00088 namespace ros 00089 { 00090 namespace message_traits 00091 { 00092 template<class ContainerAllocator> struct IsMessage< ::concert_msgs::GetPlatformInfoRequest_<ContainerAllocator> > : public TrueType {}; 00093 template<class ContainerAllocator> struct IsMessage< ::concert_msgs::GetPlatformInfoRequest_<ContainerAllocator> const> : public TrueType {}; 00094 template<class ContainerAllocator> 00095 struct MD5Sum< ::concert_msgs::GetPlatformInfoRequest_<ContainerAllocator> > { 00096 static const char* value() 00097 { 00098 return "d41d8cd98f00b204e9800998ecf8427e"; 00099 } 00100 00101 static const char* value(const ::concert_msgs::GetPlatformInfoRequest_<ContainerAllocator> &) { return value(); } 00102 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00103 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00104 }; 00105 00106 template<class ContainerAllocator> 00107 struct DataType< ::concert_msgs::GetPlatformInfoRequest_<ContainerAllocator> > { 00108 static const char* value() 00109 { 00110 return "concert_msgs/GetPlatformInfoRequest"; 00111 } 00112 00113 static const char* value(const ::concert_msgs::GetPlatformInfoRequest_<ContainerAllocator> &) { return value(); } 00114 }; 00115 00116 template<class ContainerAllocator> 00117 struct Definition< ::concert_msgs::GetPlatformInfoRequest_<ContainerAllocator> > { 00118 static const char* value() 00119 { 00120 return "\n\ 00121 "; 00122 } 00123 00124 static const char* value(const ::concert_msgs::GetPlatformInfoRequest_<ContainerAllocator> &) { return value(); } 00125 }; 00126 00127 template<class ContainerAllocator> struct IsFixedSize< ::concert_msgs::GetPlatformInfoRequest_<ContainerAllocator> > : public TrueType {}; 00128 } // namespace message_traits 00129 } // namespace ros 00130 00131 00132 namespace ros 00133 { 00134 namespace message_traits 00135 { 00136 template<class ContainerAllocator> struct IsMessage< ::concert_msgs::GetPlatformInfoResponse_<ContainerAllocator> > : public TrueType {}; 00137 template<class ContainerAllocator> struct IsMessage< ::concert_msgs::GetPlatformInfoResponse_<ContainerAllocator> const> : public TrueType {}; 00138 template<class ContainerAllocator> 00139 struct MD5Sum< ::concert_msgs::GetPlatformInfoResponse_<ContainerAllocator> > { 00140 static const char* value() 00141 { 00142 return "4e4108807b12e9772fcea0da6edb68f1"; 00143 } 00144 00145 static const char* value(const ::concert_msgs::GetPlatformInfoResponse_<ContainerAllocator> &) { return value(); } 00146 static const uint64_t static_value1 = 0x4e4108807b12e977ULL; 00147 static const uint64_t static_value2 = 0x2fcea0da6edb68f1ULL; 00148 }; 00149 00150 template<class ContainerAllocator> 00151 struct DataType< ::concert_msgs::GetPlatformInfoResponse_<ContainerAllocator> > { 00152 static const char* value() 00153 { 00154 return "concert_msgs/GetPlatformInfoResponse"; 00155 } 00156 00157 static const char* value(const ::concert_msgs::GetPlatformInfoResponse_<ContainerAllocator> &) { return value(); } 00158 }; 00159 00160 template<class ContainerAllocator> 00161 struct Definition< ::concert_msgs::GetPlatformInfoResponse_<ContainerAllocator> > { 00162 static const char* value() 00163 { 00164 return "PlatformInfo platform_info\n\ 00165 \n\ 00166 \n\ 00167 ================================================================================\n\ 00168 MSG: concert_msgs/PlatformInfo\n\ 00169 # Provides platform details from the app manager.\n\ 00170 #\n\ 00171 # Valid string constants are provided by concert_msgs/Constants.msg\n\ 00172 \n\ 00173 string platform\n\ 00174 string system\n\ 00175 string robot\n\ 00176 string name\n\ 00177 \n\ 00178 "; 00179 } 00180 00181 static const char* value(const ::concert_msgs::GetPlatformInfoResponse_<ContainerAllocator> &) { return value(); } 00182 }; 00183 00184 } // namespace message_traits 00185 } // namespace ros 00186 00187 namespace ros 00188 { 00189 namespace serialization 00190 { 00191 00192 template<class ContainerAllocator> struct Serializer< ::concert_msgs::GetPlatformInfoRequest_<ContainerAllocator> > 00193 { 00194 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00195 { 00196 } 00197 00198 ROS_DECLARE_ALLINONE_SERIALIZER; 00199 }; // struct GetPlatformInfoRequest_ 00200 } // namespace serialization 00201 } // namespace ros 00202 00203 00204 namespace ros 00205 { 00206 namespace serialization 00207 { 00208 00209 template<class ContainerAllocator> struct Serializer< ::concert_msgs::GetPlatformInfoResponse_<ContainerAllocator> > 00210 { 00211 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00212 { 00213 stream.next(m.platform_info); 00214 } 00215 00216 ROS_DECLARE_ALLINONE_SERIALIZER; 00217 }; // struct GetPlatformInfoResponse_ 00218 } // namespace serialization 00219 } // namespace ros 00220 00221 namespace ros 00222 { 00223 namespace service_traits 00224 { 00225 template<> 00226 struct MD5Sum<concert_msgs::GetPlatformInfo> { 00227 static const char* value() 00228 { 00229 return "4e4108807b12e9772fcea0da6edb68f1"; 00230 } 00231 00232 static const char* value(const concert_msgs::GetPlatformInfo&) { return value(); } 00233 }; 00234 00235 template<> 00236 struct DataType<concert_msgs::GetPlatformInfo> { 00237 static const char* value() 00238 { 00239 return "concert_msgs/GetPlatformInfo"; 00240 } 00241 00242 static const char* value(const concert_msgs::GetPlatformInfo&) { return value(); } 00243 }; 00244 00245 template<class ContainerAllocator> 00246 struct MD5Sum<concert_msgs::GetPlatformInfoRequest_<ContainerAllocator> > { 00247 static const char* value() 00248 { 00249 return "4e4108807b12e9772fcea0da6edb68f1"; 00250 } 00251 00252 static const char* value(const concert_msgs::GetPlatformInfoRequest_<ContainerAllocator> &) { return value(); } 00253 }; 00254 00255 template<class ContainerAllocator> 00256 struct DataType<concert_msgs::GetPlatformInfoRequest_<ContainerAllocator> > { 00257 static const char* value() 00258 { 00259 return "concert_msgs/GetPlatformInfo"; 00260 } 00261 00262 static const char* value(const concert_msgs::GetPlatformInfoRequest_<ContainerAllocator> &) { return value(); } 00263 }; 00264 00265 template<class ContainerAllocator> 00266 struct MD5Sum<concert_msgs::GetPlatformInfoResponse_<ContainerAllocator> > { 00267 static const char* value() 00268 { 00269 return "4e4108807b12e9772fcea0da6edb68f1"; 00270 } 00271 00272 static const char* value(const concert_msgs::GetPlatformInfoResponse_<ContainerAllocator> &) { return value(); } 00273 }; 00274 00275 template<class ContainerAllocator> 00276 struct DataType<concert_msgs::GetPlatformInfoResponse_<ContainerAllocator> > { 00277 static const char* value() 00278 { 00279 return "concert_msgs/GetPlatformInfo"; 00280 } 00281 00282 static const char* value(const concert_msgs::GetPlatformInfoResponse_<ContainerAllocator> &) { return value(); } 00283 }; 00284 00285 } // namespace service_traits 00286 } // namespace ros 00287 00288 #endif // CONCERT_MSGS_SERVICE_GETPLATFORMINFO_H 00289