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