00001
00002 #ifndef NODELET_SERVICE_NODELETLOAD_H
00003 #define NODELET_SERVICE_NODELETLOAD_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 nodelet
00023 {
00024 template <class ContainerAllocator>
00025 struct NodeletLoadRequest_ {
00026 typedef NodeletLoadRequest_<ContainerAllocator> Type;
00027
00028 NodeletLoadRequest_()
00029 : name()
00030 , type()
00031 , remap_source_args()
00032 , remap_target_args()
00033 , my_argv()
00034 , bond_id()
00035 {
00036 }
00037
00038 NodeletLoadRequest_(const ContainerAllocator& _alloc)
00039 : name(_alloc)
00040 , type(_alloc)
00041 , remap_source_args(_alloc)
00042 , remap_target_args(_alloc)
00043 , my_argv(_alloc)
00044 , bond_id(_alloc)
00045 {
00046 }
00047
00048 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _name_type;
00049 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > name;
00050
00051 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _type_type;
00052 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > type;
00053
00054 typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _remap_source_args_type;
00055 std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > remap_source_args;
00056
00057 typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _remap_target_args_type;
00058 std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > remap_target_args;
00059
00060 typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _my_argv_type;
00061 std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > my_argv;
00062
00063 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _bond_id_type;
00064 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > bond_id;
00065
00066
00067 typedef boost::shared_ptr< ::nodelet::NodeletLoadRequest_<ContainerAllocator> > Ptr;
00068 typedef boost::shared_ptr< ::nodelet::NodeletLoadRequest_<ContainerAllocator> const> ConstPtr;
00069 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00070 };
00071 typedef ::nodelet::NodeletLoadRequest_<std::allocator<void> > NodeletLoadRequest;
00072
00073 typedef boost::shared_ptr< ::nodelet::NodeletLoadRequest> NodeletLoadRequestPtr;
00074 typedef boost::shared_ptr< ::nodelet::NodeletLoadRequest const> NodeletLoadRequestConstPtr;
00075
00076
00077 template <class ContainerAllocator>
00078 struct NodeletLoadResponse_ {
00079 typedef NodeletLoadResponse_<ContainerAllocator> Type;
00080
00081 NodeletLoadResponse_()
00082 : success(false)
00083 {
00084 }
00085
00086 NodeletLoadResponse_(const ContainerAllocator& _alloc)
00087 : success(false)
00088 {
00089 }
00090
00091 typedef uint8_t _success_type;
00092 uint8_t success;
00093
00094
00095 typedef boost::shared_ptr< ::nodelet::NodeletLoadResponse_<ContainerAllocator> > Ptr;
00096 typedef boost::shared_ptr< ::nodelet::NodeletLoadResponse_<ContainerAllocator> const> ConstPtr;
00097 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00098 };
00099 typedef ::nodelet::NodeletLoadResponse_<std::allocator<void> > NodeletLoadResponse;
00100
00101 typedef boost::shared_ptr< ::nodelet::NodeletLoadResponse> NodeletLoadResponsePtr;
00102 typedef boost::shared_ptr< ::nodelet::NodeletLoadResponse const> NodeletLoadResponseConstPtr;
00103
00104 struct NodeletLoad
00105 {
00106
00107 typedef NodeletLoadRequest Request;
00108 typedef NodeletLoadResponse Response;
00109 Request request;
00110 Response response;
00111
00112 typedef Request RequestType;
00113 typedef Response ResponseType;
00114 };
00115 }
00116
00117 namespace ros
00118 {
00119 namespace message_traits
00120 {
00121 template<class ContainerAllocator> struct IsMessage< ::nodelet::NodeletLoadRequest_<ContainerAllocator> > : public TrueType {};
00122 template<class ContainerAllocator> struct IsMessage< ::nodelet::NodeletLoadRequest_<ContainerAllocator> const> : public TrueType {};
00123 template<class ContainerAllocator>
00124 struct MD5Sum< ::nodelet::NodeletLoadRequest_<ContainerAllocator> > {
00125 static const char* value()
00126 {
00127 return "c6e28cc4d2e259249d96cfb50658fbec";
00128 }
00129
00130 static const char* value(const ::nodelet::NodeletLoadRequest_<ContainerAllocator> &) { return value(); }
00131 static const uint64_t static_value1 = 0xc6e28cc4d2e25924ULL;
00132 static const uint64_t static_value2 = 0x9d96cfb50658fbecULL;
00133 };
00134
00135 template<class ContainerAllocator>
00136 struct DataType< ::nodelet::NodeletLoadRequest_<ContainerAllocator> > {
00137 static const char* value()
00138 {
00139 return "nodelet/NodeletLoadRequest";
00140 }
00141
00142 static const char* value(const ::nodelet::NodeletLoadRequest_<ContainerAllocator> &) { return value(); }
00143 };
00144
00145 template<class ContainerAllocator>
00146 struct Definition< ::nodelet::NodeletLoadRequest_<ContainerAllocator> > {
00147 static const char* value()
00148 {
00149 return "string name\n\
00150 string type\n\
00151 string[] remap_source_args\n\
00152 string[] remap_target_args\n\
00153 string[] my_argv\n\
00154 \n\
00155 string bond_id\n\
00156 \n\
00157 ";
00158 }
00159
00160 static const char* value(const ::nodelet::NodeletLoadRequest_<ContainerAllocator> &) { return value(); }
00161 };
00162
00163 }
00164 }
00165
00166
00167 namespace ros
00168 {
00169 namespace message_traits
00170 {
00171 template<class ContainerAllocator> struct IsMessage< ::nodelet::NodeletLoadResponse_<ContainerAllocator> > : public TrueType {};
00172 template<class ContainerAllocator> struct IsMessage< ::nodelet::NodeletLoadResponse_<ContainerAllocator> const> : public TrueType {};
00173 template<class ContainerAllocator>
00174 struct MD5Sum< ::nodelet::NodeletLoadResponse_<ContainerAllocator> > {
00175 static const char* value()
00176 {
00177 return "358e233cde0c8a8bcfea4ce193f8fc15";
00178 }
00179
00180 static const char* value(const ::nodelet::NodeletLoadResponse_<ContainerAllocator> &) { return value(); }
00181 static const uint64_t static_value1 = 0x358e233cde0c8a8bULL;
00182 static const uint64_t static_value2 = 0xcfea4ce193f8fc15ULL;
00183 };
00184
00185 template<class ContainerAllocator>
00186 struct DataType< ::nodelet::NodeletLoadResponse_<ContainerAllocator> > {
00187 static const char* value()
00188 {
00189 return "nodelet/NodeletLoadResponse";
00190 }
00191
00192 static const char* value(const ::nodelet::NodeletLoadResponse_<ContainerAllocator> &) { return value(); }
00193 };
00194
00195 template<class ContainerAllocator>
00196 struct Definition< ::nodelet::NodeletLoadResponse_<ContainerAllocator> > {
00197 static const char* value()
00198 {
00199 return "bool success\n\
00200 \n\
00201 \n\
00202 ";
00203 }
00204
00205 static const char* value(const ::nodelet::NodeletLoadResponse_<ContainerAllocator> &) { return value(); }
00206 };
00207
00208 template<class ContainerAllocator> struct IsFixedSize< ::nodelet::NodeletLoadResponse_<ContainerAllocator> > : public TrueType {};
00209 }
00210 }
00211
00212 namespace ros
00213 {
00214 namespace serialization
00215 {
00216
00217 template<class ContainerAllocator> struct Serializer< ::nodelet::NodeletLoadRequest_<ContainerAllocator> >
00218 {
00219 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00220 {
00221 stream.next(m.name);
00222 stream.next(m.type);
00223 stream.next(m.remap_source_args);
00224 stream.next(m.remap_target_args);
00225 stream.next(m.my_argv);
00226 stream.next(m.bond_id);
00227 }
00228
00229 ROS_DECLARE_ALLINONE_SERIALIZER;
00230 };
00231 }
00232 }
00233
00234
00235 namespace ros
00236 {
00237 namespace serialization
00238 {
00239
00240 template<class ContainerAllocator> struct Serializer< ::nodelet::NodeletLoadResponse_<ContainerAllocator> >
00241 {
00242 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00243 {
00244 stream.next(m.success);
00245 }
00246
00247 ROS_DECLARE_ALLINONE_SERIALIZER;
00248 };
00249 }
00250 }
00251
00252 namespace ros
00253 {
00254 namespace service_traits
00255 {
00256 template<>
00257 struct MD5Sum<nodelet::NodeletLoad> {
00258 static const char* value()
00259 {
00260 return "8cfbf33bf3fbd4c54a833f6e2b105331";
00261 }
00262
00263 static const char* value(const nodelet::NodeletLoad&) { return value(); }
00264 };
00265
00266 template<>
00267 struct DataType<nodelet::NodeletLoad> {
00268 static const char* value()
00269 {
00270 return "nodelet/NodeletLoad";
00271 }
00272
00273 static const char* value(const nodelet::NodeletLoad&) { return value(); }
00274 };
00275
00276 template<class ContainerAllocator>
00277 struct MD5Sum<nodelet::NodeletLoadRequest_<ContainerAllocator> > {
00278 static const char* value()
00279 {
00280 return "8cfbf33bf3fbd4c54a833f6e2b105331";
00281 }
00282
00283 static const char* value(const nodelet::NodeletLoadRequest_<ContainerAllocator> &) { return value(); }
00284 };
00285
00286 template<class ContainerAllocator>
00287 struct DataType<nodelet::NodeletLoadRequest_<ContainerAllocator> > {
00288 static const char* value()
00289 {
00290 return "nodelet/NodeletLoad";
00291 }
00292
00293 static const char* value(const nodelet::NodeletLoadRequest_<ContainerAllocator> &) { return value(); }
00294 };
00295
00296 template<class ContainerAllocator>
00297 struct MD5Sum<nodelet::NodeletLoadResponse_<ContainerAllocator> > {
00298 static const char* value()
00299 {
00300 return "8cfbf33bf3fbd4c54a833f6e2b105331";
00301 }
00302
00303 static const char* value(const nodelet::NodeletLoadResponse_<ContainerAllocator> &) { return value(); }
00304 };
00305
00306 template<class ContainerAllocator>
00307 struct DataType<nodelet::NodeletLoadResponse_<ContainerAllocator> > {
00308 static const char* value()
00309 {
00310 return "nodelet/NodeletLoad";
00311 }
00312
00313 static const char* value(const nodelet::NodeletLoadResponse_<ContainerAllocator> &) { return value(); }
00314 };
00315
00316 }
00317 }
00318
00319 #endif // NODELET_SERVICE_NODELETLOAD_H
00320