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


rosapi
Author(s): Jon
autogenerated on Thu Jan 2 2014 11:53:39