Go to the documentation of this file.00001
00002 #ifndef LAUNCHMAN_SERVICE_STATUSUPDATE_H
00003 #define LAUNCHMAN_SERVICE_STATUSUPDATE_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
00022 namespace launchman
00023 {
00024 template <class ContainerAllocator>
00025 struct StatusUpdateRequest_ {
00026 typedef StatusUpdateRequest_<ContainerAllocator> Type;
00027
00028 StatusUpdateRequest_()
00029 {
00030 }
00031
00032 StatusUpdateRequest_(const ContainerAllocator& _alloc)
00033 {
00034 }
00035
00036
00037 typedef boost::shared_ptr< ::launchman::StatusUpdateRequest_<ContainerAllocator> > Ptr;
00038 typedef boost::shared_ptr< ::launchman::StatusUpdateRequest_<ContainerAllocator> const> ConstPtr;
00039 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00040 };
00041 typedef ::launchman::StatusUpdateRequest_<std::allocator<void> > StatusUpdateRequest;
00042
00043 typedef boost::shared_ptr< ::launchman::StatusUpdateRequest> StatusUpdateRequestPtr;
00044 typedef boost::shared_ptr< ::launchman::StatusUpdateRequest const> StatusUpdateRequestConstPtr;
00045
00046
00047
00048 template <class ContainerAllocator>
00049 struct StatusUpdateResponse_ {
00050 typedef StatusUpdateResponse_<ContainerAllocator> Type;
00051
00052 StatusUpdateResponse_()
00053 : status()
00054 {
00055 }
00056
00057 StatusUpdateResponse_(const ContainerAllocator& _alloc)
00058 : status(_alloc)
00059 {
00060 }
00061
00062 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _status_type;
00063 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > status;
00064
00065
00066 typedef boost::shared_ptr< ::launchman::StatusUpdateResponse_<ContainerAllocator> > Ptr;
00067 typedef boost::shared_ptr< ::launchman::StatusUpdateResponse_<ContainerAllocator> const> ConstPtr;
00068 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00069 };
00070 typedef ::launchman::StatusUpdateResponse_<std::allocator<void> > StatusUpdateResponse;
00071
00072 typedef boost::shared_ptr< ::launchman::StatusUpdateResponse> StatusUpdateResponsePtr;
00073 typedef boost::shared_ptr< ::launchman::StatusUpdateResponse const> StatusUpdateResponseConstPtr;
00074
00075
00076 struct StatusUpdate
00077 {
00078
00079 typedef StatusUpdateRequest Request;
00080 typedef StatusUpdateResponse Response;
00081 Request request;
00082 Response response;
00083
00084 typedef Request RequestType;
00085 typedef Response ResponseType;
00086 };
00087 }
00088
00089 namespace ros
00090 {
00091 namespace message_traits
00092 {
00093 template<class ContainerAllocator> struct IsMessage< ::launchman::StatusUpdateRequest_<ContainerAllocator> > : public TrueType {};
00094 template<class ContainerAllocator> struct IsMessage< ::launchman::StatusUpdateRequest_<ContainerAllocator> const> : public TrueType {};
00095 template<class ContainerAllocator>
00096 struct MD5Sum< ::launchman::StatusUpdateRequest_<ContainerAllocator> > {
00097 static const char* value()
00098 {
00099 return "d41d8cd98f00b204e9800998ecf8427e";
00100 }
00101
00102 static const char* value(const ::launchman::StatusUpdateRequest_<ContainerAllocator> &) { return value(); }
00103 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00104 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00105 };
00106
00107 template<class ContainerAllocator>
00108 struct DataType< ::launchman::StatusUpdateRequest_<ContainerAllocator> > {
00109 static const char* value()
00110 {
00111 return "launchman/StatusUpdateRequest";
00112 }
00113
00114 static const char* value(const ::launchman::StatusUpdateRequest_<ContainerAllocator> &) { return value(); }
00115 };
00116
00117 template<class ContainerAllocator>
00118 struct Definition< ::launchman::StatusUpdateRequest_<ContainerAllocator> > {
00119 static const char* value()
00120 {
00121 return "\n\
00122 ";
00123 }
00124
00125 static const char* value(const ::launchman::StatusUpdateRequest_<ContainerAllocator> &) { return value(); }
00126 };
00127
00128 template<class ContainerAllocator> struct IsFixedSize< ::launchman::StatusUpdateRequest_<ContainerAllocator> > : public TrueType {};
00129 }
00130 }
00131
00132
00133 namespace ros
00134 {
00135 namespace message_traits
00136 {
00137 template<class ContainerAllocator> struct IsMessage< ::launchman::StatusUpdateResponse_<ContainerAllocator> > : public TrueType {};
00138 template<class ContainerAllocator> struct IsMessage< ::launchman::StatusUpdateResponse_<ContainerAllocator> const> : public TrueType {};
00139 template<class ContainerAllocator>
00140 struct MD5Sum< ::launchman::StatusUpdateResponse_<ContainerAllocator> > {
00141 static const char* value()
00142 {
00143 return "4fe5af303955c287688e7347e9b00278";
00144 }
00145
00146 static const char* value(const ::launchman::StatusUpdateResponse_<ContainerAllocator> &) { return value(); }
00147 static const uint64_t static_value1 = 0x4fe5af303955c287ULL;
00148 static const uint64_t static_value2 = 0x688e7347e9b00278ULL;
00149 };
00150
00151 template<class ContainerAllocator>
00152 struct DataType< ::launchman::StatusUpdateResponse_<ContainerAllocator> > {
00153 static const char* value()
00154 {
00155 return "launchman/StatusUpdateResponse";
00156 }
00157
00158 static const char* value(const ::launchman::StatusUpdateResponse_<ContainerAllocator> &) { return value(); }
00159 };
00160
00161 template<class ContainerAllocator>
00162 struct Definition< ::launchman::StatusUpdateResponse_<ContainerAllocator> > {
00163 static const char* value()
00164 {
00165 return "string status\n\
00166 \n\
00167 ";
00168 }
00169
00170 static const char* value(const ::launchman::StatusUpdateResponse_<ContainerAllocator> &) { return value(); }
00171 };
00172
00173 }
00174 }
00175
00176 namespace ros
00177 {
00178 namespace serialization
00179 {
00180
00181 template<class ContainerAllocator> struct Serializer< ::launchman::StatusUpdateRequest_<ContainerAllocator> >
00182 {
00183 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00184 {
00185 }
00186
00187 ROS_DECLARE_ALLINONE_SERIALIZER;
00188 };
00189 }
00190 }
00191
00192
00193 namespace ros
00194 {
00195 namespace serialization
00196 {
00197
00198 template<class ContainerAllocator> struct Serializer< ::launchman::StatusUpdateResponse_<ContainerAllocator> >
00199 {
00200 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00201 {
00202 stream.next(m.status);
00203 }
00204
00205 ROS_DECLARE_ALLINONE_SERIALIZER;
00206 };
00207 }
00208 }
00209
00210 namespace ros
00211 {
00212 namespace service_traits
00213 {
00214 template<>
00215 struct MD5Sum<launchman::StatusUpdate> {
00216 static const char* value()
00217 {
00218 return "4fe5af303955c287688e7347e9b00278";
00219 }
00220
00221 static const char* value(const launchman::StatusUpdate&) { return value(); }
00222 };
00223
00224 template<>
00225 struct DataType<launchman::StatusUpdate> {
00226 static const char* value()
00227 {
00228 return "launchman/StatusUpdate";
00229 }
00230
00231 static const char* value(const launchman::StatusUpdate&) { return value(); }
00232 };
00233
00234 template<class ContainerAllocator>
00235 struct MD5Sum<launchman::StatusUpdateRequest_<ContainerAllocator> > {
00236 static const char* value()
00237 {
00238 return "4fe5af303955c287688e7347e9b00278";
00239 }
00240
00241 static const char* value(const launchman::StatusUpdateRequest_<ContainerAllocator> &) { return value(); }
00242 };
00243
00244 template<class ContainerAllocator>
00245 struct DataType<launchman::StatusUpdateRequest_<ContainerAllocator> > {
00246 static const char* value()
00247 {
00248 return "launchman/StatusUpdate";
00249 }
00250
00251 static const char* value(const launchman::StatusUpdateRequest_<ContainerAllocator> &) { return value(); }
00252 };
00253
00254 template<class ContainerAllocator>
00255 struct MD5Sum<launchman::StatusUpdateResponse_<ContainerAllocator> > {
00256 static const char* value()
00257 {
00258 return "4fe5af303955c287688e7347e9b00278";
00259 }
00260
00261 static const char* value(const launchman::StatusUpdateResponse_<ContainerAllocator> &) { return value(); }
00262 };
00263
00264 template<class ContainerAllocator>
00265 struct DataType<launchman::StatusUpdateResponse_<ContainerAllocator> > {
00266 static const char* value()
00267 {
00268 return "launchman/StatusUpdate";
00269 }
00270
00271 static const char* value(const launchman::StatusUpdateResponse_<ContainerAllocator> &) { return value(); }
00272 };
00273
00274 }
00275 }
00276
00277 #endif // LAUNCHMAN_SERVICE_STATUSUPDATE_H
00278