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