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