TestBond.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-bond_core/doc_stacks/2013-08-15_10-09-12.487376/bond_core/test_bond/srv/TestBond.srv */
00002 #ifndef TEST_BOND_SERVICE_TESTBOND_H
00003 #define TEST_BOND_SERVICE_TESTBOND_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 test_bond
00023 {
00024 template <class ContainerAllocator>
00025 struct TestBondRequest_ {
00026   typedef TestBondRequest_<ContainerAllocator> Type;
00027 
00028   TestBondRequest_()
00029   : topic()
00030   , id()
00031   , delay_connect()
00032   , delay_death()
00033   , inhibit_death(false)
00034   , inhibit_death_message(false)
00035   {
00036   }
00037 
00038   TestBondRequest_(const ContainerAllocator& _alloc)
00039   : topic(_alloc)
00040   , id(_alloc)
00041   , delay_connect()
00042   , delay_death()
00043   , inhibit_death(false)
00044   , inhibit_death_message(false)
00045   {
00046   }
00047 
00048   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _topic_type;
00049   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  topic;
00050 
00051   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _id_type;
00052   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  id;
00053 
00054   typedef ros::Duration _delay_connect_type;
00055   ros::Duration delay_connect;
00056 
00057   typedef ros::Duration _delay_death_type;
00058   ros::Duration delay_death;
00059 
00060   typedef uint8_t _inhibit_death_type;
00061   uint8_t inhibit_death;
00062 
00063   typedef uint8_t _inhibit_death_message_type;
00064   uint8_t inhibit_death_message;
00065 
00066 
00067   typedef boost::shared_ptr< ::test_bond::TestBondRequest_<ContainerAllocator> > Ptr;
00068   typedef boost::shared_ptr< ::test_bond::TestBondRequest_<ContainerAllocator>  const> ConstPtr;
00069   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00070 }; // struct TestBondRequest
00071 typedef  ::test_bond::TestBondRequest_<std::allocator<void> > TestBondRequest;
00072 
00073 typedef boost::shared_ptr< ::test_bond::TestBondRequest> TestBondRequestPtr;
00074 typedef boost::shared_ptr< ::test_bond::TestBondRequest const> TestBondRequestConstPtr;
00075 
00076 
00077 template <class ContainerAllocator>
00078 struct TestBondResponse_ {
00079   typedef TestBondResponse_<ContainerAllocator> Type;
00080 
00081   TestBondResponse_()
00082   {
00083   }
00084 
00085   TestBondResponse_(const ContainerAllocator& _alloc)
00086   {
00087   }
00088 
00089 
00090   typedef boost::shared_ptr< ::test_bond::TestBondResponse_<ContainerAllocator> > Ptr;
00091   typedef boost::shared_ptr< ::test_bond::TestBondResponse_<ContainerAllocator>  const> ConstPtr;
00092   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00093 }; // struct TestBondResponse
00094 typedef  ::test_bond::TestBondResponse_<std::allocator<void> > TestBondResponse;
00095 
00096 typedef boost::shared_ptr< ::test_bond::TestBondResponse> TestBondResponsePtr;
00097 typedef boost::shared_ptr< ::test_bond::TestBondResponse const> TestBondResponseConstPtr;
00098 
00099 struct TestBond
00100 {
00101 
00102 typedef TestBondRequest Request;
00103 typedef TestBondResponse Response;
00104 Request request;
00105 Response response;
00106 
00107 typedef Request RequestType;
00108 typedef Response ResponseType;
00109 }; // struct TestBond
00110 } // namespace test_bond
00111 
00112 namespace ros
00113 {
00114 namespace message_traits
00115 {
00116 template<class ContainerAllocator> struct IsMessage< ::test_bond::TestBondRequest_<ContainerAllocator> > : public TrueType {};
00117 template<class ContainerAllocator> struct IsMessage< ::test_bond::TestBondRequest_<ContainerAllocator>  const> : public TrueType {};
00118 template<class ContainerAllocator>
00119 struct MD5Sum< ::test_bond::TestBondRequest_<ContainerAllocator> > {
00120   static const char* value() 
00121   {
00122     return "1c7d43df2e371719140975f9c404a8bb";
00123   }
00124 
00125   static const char* value(const  ::test_bond::TestBondRequest_<ContainerAllocator> &) { return value(); } 
00126   static const uint64_t static_value1 = 0x1c7d43df2e371719ULL;
00127   static const uint64_t static_value2 = 0x140975f9c404a8bbULL;
00128 };
00129 
00130 template<class ContainerAllocator>
00131 struct DataType< ::test_bond::TestBondRequest_<ContainerAllocator> > {
00132   static const char* value() 
00133   {
00134     return "test_bond/TestBondRequest";
00135   }
00136 
00137   static const char* value(const  ::test_bond::TestBondRequest_<ContainerAllocator> &) { return value(); } 
00138 };
00139 
00140 template<class ContainerAllocator>
00141 struct Definition< ::test_bond::TestBondRequest_<ContainerAllocator> > {
00142   static const char* value() 
00143   {
00144     return "string topic\n\
00145 string id\n\
00146 duration delay_connect\n\
00147 duration delay_death\n\
00148 bool inhibit_death\n\
00149 bool inhibit_death_message\n\
00150 \n\
00151 ";
00152   }
00153 
00154   static const char* value(const  ::test_bond::TestBondRequest_<ContainerAllocator> &) { return value(); } 
00155 };
00156 
00157 } // namespace message_traits
00158 } // namespace ros
00159 
00160 
00161 namespace ros
00162 {
00163 namespace message_traits
00164 {
00165 template<class ContainerAllocator> struct IsMessage< ::test_bond::TestBondResponse_<ContainerAllocator> > : public TrueType {};
00166 template<class ContainerAllocator> struct IsMessage< ::test_bond::TestBondResponse_<ContainerAllocator>  const> : public TrueType {};
00167 template<class ContainerAllocator>
00168 struct MD5Sum< ::test_bond::TestBondResponse_<ContainerAllocator> > {
00169   static const char* value() 
00170   {
00171     return "d41d8cd98f00b204e9800998ecf8427e";
00172   }
00173 
00174   static const char* value(const  ::test_bond::TestBondResponse_<ContainerAllocator> &) { return value(); } 
00175   static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00176   static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00177 };
00178 
00179 template<class ContainerAllocator>
00180 struct DataType< ::test_bond::TestBondResponse_<ContainerAllocator> > {
00181   static const char* value() 
00182   {
00183     return "test_bond/TestBondResponse";
00184   }
00185 
00186   static const char* value(const  ::test_bond::TestBondResponse_<ContainerAllocator> &) { return value(); } 
00187 };
00188 
00189 template<class ContainerAllocator>
00190 struct Definition< ::test_bond::TestBondResponse_<ContainerAllocator> > {
00191   static const char* value() 
00192   {
00193     return "\n\
00194 \n\
00195 ";
00196   }
00197 
00198   static const char* value(const  ::test_bond::TestBondResponse_<ContainerAllocator> &) { return value(); } 
00199 };
00200 
00201 template<class ContainerAllocator> struct IsFixedSize< ::test_bond::TestBondResponse_<ContainerAllocator> > : public TrueType {};
00202 } // namespace message_traits
00203 } // namespace ros
00204 
00205 namespace ros
00206 {
00207 namespace serialization
00208 {
00209 
00210 template<class ContainerAllocator> struct Serializer< ::test_bond::TestBondRequest_<ContainerAllocator> >
00211 {
00212   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00213   {
00214     stream.next(m.topic);
00215     stream.next(m.id);
00216     stream.next(m.delay_connect);
00217     stream.next(m.delay_death);
00218     stream.next(m.inhibit_death);
00219     stream.next(m.inhibit_death_message);
00220   }
00221 
00222   ROS_DECLARE_ALLINONE_SERIALIZER;
00223 }; // struct TestBondRequest_
00224 } // namespace serialization
00225 } // namespace ros
00226 
00227 
00228 namespace ros
00229 {
00230 namespace serialization
00231 {
00232 
00233 template<class ContainerAllocator> struct Serializer< ::test_bond::TestBondResponse_<ContainerAllocator> >
00234 {
00235   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00236   {
00237   }
00238 
00239   ROS_DECLARE_ALLINONE_SERIALIZER;
00240 }; // struct TestBondResponse_
00241 } // namespace serialization
00242 } // namespace ros
00243 
00244 namespace ros
00245 {
00246 namespace service_traits
00247 {
00248 template<>
00249 struct MD5Sum<test_bond::TestBond> {
00250   static const char* value() 
00251   {
00252     return "1c7d43df2e371719140975f9c404a8bb";
00253   }
00254 
00255   static const char* value(const test_bond::TestBond&) { return value(); } 
00256 };
00257 
00258 template<>
00259 struct DataType<test_bond::TestBond> {
00260   static const char* value() 
00261   {
00262     return "test_bond/TestBond";
00263   }
00264 
00265   static const char* value(const test_bond::TestBond&) { return value(); } 
00266 };
00267 
00268 template<class ContainerAllocator>
00269 struct MD5Sum<test_bond::TestBondRequest_<ContainerAllocator> > {
00270   static const char* value() 
00271   {
00272     return "1c7d43df2e371719140975f9c404a8bb";
00273   }
00274 
00275   static const char* value(const test_bond::TestBondRequest_<ContainerAllocator> &) { return value(); } 
00276 };
00277 
00278 template<class ContainerAllocator>
00279 struct DataType<test_bond::TestBondRequest_<ContainerAllocator> > {
00280   static const char* value() 
00281   {
00282     return "test_bond/TestBond";
00283   }
00284 
00285   static const char* value(const test_bond::TestBondRequest_<ContainerAllocator> &) { return value(); } 
00286 };
00287 
00288 template<class ContainerAllocator>
00289 struct MD5Sum<test_bond::TestBondResponse_<ContainerAllocator> > {
00290   static const char* value() 
00291   {
00292     return "1c7d43df2e371719140975f9c404a8bb";
00293   }
00294 
00295   static const char* value(const test_bond::TestBondResponse_<ContainerAllocator> &) { return value(); } 
00296 };
00297 
00298 template<class ContainerAllocator>
00299 struct DataType<test_bond::TestBondResponse_<ContainerAllocator> > {
00300   static const char* value() 
00301   {
00302     return "test_bond/TestBond";
00303   }
00304 
00305   static const char* value(const test_bond::TestBondResponse_<ContainerAllocator> &) { return value(); } 
00306 };
00307 
00308 } // namespace service_traits
00309 } // namespace ros
00310 
00311 #endif // TEST_BOND_SERVICE_TESTBOND_H
00312 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


test_bond
Author(s): Stuart Glaser
autogenerated on Thu Aug 15 2013 10:10:43