RemoteAll.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-rocon_msgs/doc_stacks/2012-11-21_14-56-14.893510/rocon_msgs/gateway_comms/srv/RemoteAll.srv */
00002 #ifndef GATEWAY_COMMS_SERVICE_REMOTEALL_H
00003 #define GATEWAY_COMMS_SERVICE_REMOTEALL_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 #include "gateway_comms/Rule.h"
00020 
00021 
00022 
00023 namespace gateway_comms
00024 {
00025 template <class ContainerAllocator>
00026 struct RemoteAllRequest_ {
00027   typedef RemoteAllRequest_<ContainerAllocator> Type;
00028 
00029   RemoteAllRequest_()
00030   : gateway()
00031   , blacklist()
00032   , cancel(false)
00033   {
00034   }
00035 
00036   RemoteAllRequest_(const ContainerAllocator& _alloc)
00037   : gateway(_alloc)
00038   , blacklist(_alloc)
00039   , cancel(false)
00040   {
00041   }
00042 
00043   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _gateway_type;
00044   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  gateway;
00045 
00046   typedef std::vector< ::gateway_comms::Rule_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::gateway_comms::Rule_<ContainerAllocator> >::other >  _blacklist_type;
00047   std::vector< ::gateway_comms::Rule_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::gateway_comms::Rule_<ContainerAllocator> >::other >  blacklist;
00048 
00049   typedef uint8_t _cancel_type;
00050   uint8_t cancel;
00051 
00052 
00053   typedef boost::shared_ptr< ::gateway_comms::RemoteAllRequest_<ContainerAllocator> > Ptr;
00054   typedef boost::shared_ptr< ::gateway_comms::RemoteAllRequest_<ContainerAllocator>  const> ConstPtr;
00055   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00056 }; // struct RemoteAllRequest
00057 typedef  ::gateway_comms::RemoteAllRequest_<std::allocator<void> > RemoteAllRequest;
00058 
00059 typedef boost::shared_ptr< ::gateway_comms::RemoteAllRequest> RemoteAllRequestPtr;
00060 typedef boost::shared_ptr< ::gateway_comms::RemoteAllRequest const> RemoteAllRequestConstPtr;
00061 
00062 
00063 template <class ContainerAllocator>
00064 struct RemoteAllResponse_ {
00065   typedef RemoteAllResponse_<ContainerAllocator> Type;
00066 
00067   RemoteAllResponse_()
00068   : result(0)
00069   , error_message()
00070   {
00071   }
00072 
00073   RemoteAllResponse_(const ContainerAllocator& _alloc)
00074   : result(0)
00075   , error_message(_alloc)
00076   {
00077   }
00078 
00079   typedef int8_t _result_type;
00080   int8_t result;
00081 
00082   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _error_message_type;
00083   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  error_message;
00084 
00085 
00086   typedef boost::shared_ptr< ::gateway_comms::RemoteAllResponse_<ContainerAllocator> > Ptr;
00087   typedef boost::shared_ptr< ::gateway_comms::RemoteAllResponse_<ContainerAllocator>  const> ConstPtr;
00088   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00089 }; // struct RemoteAllResponse
00090 typedef  ::gateway_comms::RemoteAllResponse_<std::allocator<void> > RemoteAllResponse;
00091 
00092 typedef boost::shared_ptr< ::gateway_comms::RemoteAllResponse> RemoteAllResponsePtr;
00093 typedef boost::shared_ptr< ::gateway_comms::RemoteAllResponse const> RemoteAllResponseConstPtr;
00094 
00095 struct RemoteAll
00096 {
00097 
00098 typedef RemoteAllRequest Request;
00099 typedef RemoteAllResponse Response;
00100 Request request;
00101 Response response;
00102 
00103 typedef Request RequestType;
00104 typedef Response ResponseType;
00105 }; // struct RemoteAll
00106 } // namespace gateway_comms
00107 
00108 namespace ros
00109 {
00110 namespace message_traits
00111 {
00112 template<class ContainerAllocator> struct IsMessage< ::gateway_comms::RemoteAllRequest_<ContainerAllocator> > : public TrueType {};
00113 template<class ContainerAllocator> struct IsMessage< ::gateway_comms::RemoteAllRequest_<ContainerAllocator>  const> : public TrueType {};
00114 template<class ContainerAllocator>
00115 struct MD5Sum< ::gateway_comms::RemoteAllRequest_<ContainerAllocator> > {
00116   static const char* value() 
00117   {
00118     return "036fdb1a9946cb6fec17ef2d907450d9";
00119   }
00120 
00121   static const char* value(const  ::gateway_comms::RemoteAllRequest_<ContainerAllocator> &) { return value(); } 
00122   static const uint64_t static_value1 = 0x036fdb1a9946cb6fULL;
00123   static const uint64_t static_value2 = 0xec17ef2d907450d9ULL;
00124 };
00125 
00126 template<class ContainerAllocator>
00127 struct DataType< ::gateway_comms::RemoteAllRequest_<ContainerAllocator> > {
00128   static const char* value() 
00129   {
00130     return "gateway_comms/RemoteAllRequest";
00131   }
00132 
00133   static const char* value(const  ::gateway_comms::RemoteAllRequest_<ContainerAllocator> &) { return value(); } 
00134 };
00135 
00136 template<class ContainerAllocator>
00137 struct Definition< ::gateway_comms::RemoteAllRequest_<ContainerAllocator> > {
00138   static const char* value() 
00139   {
00140     return "\n\
00141 \n\
00142 \n\
00143 string gateway\n\
00144 \n\
00145 \n\
00146 Rule[] blacklist\n\
00147 \n\
00148 \n\
00149 bool cancel\n\
00150 \n\
00151 \n\
00152 ================================================================================\n\
00153 MSG: gateway_comms/Rule\n\
00154 # Standard gateway connection rule\n\
00155 \n\
00156 # type of connection (from gateway_comms.msg.Connection)\n\
00157 string type\n\
00158 \n\
00159 # this is the topic/service name or the action base name (a regex is supported)\n\
00160 string name \n\
00161 \n\
00162 # (optional) an optional node name can be provided. if node name is not provided\n\
00163 # then all nodes are matched (also supports regex)\n\
00164 string node\n\
00165 \n\
00166 ";
00167   }
00168 
00169   static const char* value(const  ::gateway_comms::RemoteAllRequest_<ContainerAllocator> &) { return value(); } 
00170 };
00171 
00172 } // namespace message_traits
00173 } // namespace ros
00174 
00175 
00176 namespace ros
00177 {
00178 namespace message_traits
00179 {
00180 template<class ContainerAllocator> struct IsMessage< ::gateway_comms::RemoteAllResponse_<ContainerAllocator> > : public TrueType {};
00181 template<class ContainerAllocator> struct IsMessage< ::gateway_comms::RemoteAllResponse_<ContainerAllocator>  const> : public TrueType {};
00182 template<class ContainerAllocator>
00183 struct MD5Sum< ::gateway_comms::RemoteAllResponse_<ContainerAllocator> > {
00184   static const char* value() 
00185   {
00186     return "cb1e85ae0c5f4b1c31221493724cc5aa";
00187   }
00188 
00189   static const char* value(const  ::gateway_comms::RemoteAllResponse_<ContainerAllocator> &) { return value(); } 
00190   static const uint64_t static_value1 = 0xcb1e85ae0c5f4b1cULL;
00191   static const uint64_t static_value2 = 0x31221493724cc5aaULL;
00192 };
00193 
00194 template<class ContainerAllocator>
00195 struct DataType< ::gateway_comms::RemoteAllResponse_<ContainerAllocator> > {
00196   static const char* value() 
00197   {
00198     return "gateway_comms/RemoteAllResponse";
00199   }
00200 
00201   static const char* value(const  ::gateway_comms::RemoteAllResponse_<ContainerAllocator> &) { return value(); } 
00202 };
00203 
00204 template<class ContainerAllocator>
00205 struct Definition< ::gateway_comms::RemoteAllResponse_<ContainerAllocator> > {
00206   static const char* value() 
00207   {
00208     return "\n\
00209 \n\
00210 \n\
00211 int8 result\n\
00212 string error_message\n\
00213 \n\
00214 \n\
00215 \n\
00216 ";
00217   }
00218 
00219   static const char* value(const  ::gateway_comms::RemoteAllResponse_<ContainerAllocator> &) { return value(); } 
00220 };
00221 
00222 } // namespace message_traits
00223 } // namespace ros
00224 
00225 namespace ros
00226 {
00227 namespace serialization
00228 {
00229 
00230 template<class ContainerAllocator> struct Serializer< ::gateway_comms::RemoteAllRequest_<ContainerAllocator> >
00231 {
00232   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00233   {
00234     stream.next(m.gateway);
00235     stream.next(m.blacklist);
00236     stream.next(m.cancel);
00237   }
00238 
00239   ROS_DECLARE_ALLINONE_SERIALIZER;
00240 }; // struct RemoteAllRequest_
00241 } // namespace serialization
00242 } // namespace ros
00243 
00244 
00245 namespace ros
00246 {
00247 namespace serialization
00248 {
00249 
00250 template<class ContainerAllocator> struct Serializer< ::gateway_comms::RemoteAllResponse_<ContainerAllocator> >
00251 {
00252   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00253   {
00254     stream.next(m.result);
00255     stream.next(m.error_message);
00256   }
00257 
00258   ROS_DECLARE_ALLINONE_SERIALIZER;
00259 }; // struct RemoteAllResponse_
00260 } // namespace serialization
00261 } // namespace ros
00262 
00263 namespace ros
00264 {
00265 namespace service_traits
00266 {
00267 template<>
00268 struct MD5Sum<gateway_comms::RemoteAll> {
00269   static const char* value() 
00270   {
00271     return "dae39b2540424f9672db2c4f37b6394a";
00272   }
00273 
00274   static const char* value(const gateway_comms::RemoteAll&) { return value(); } 
00275 };
00276 
00277 template<>
00278 struct DataType<gateway_comms::RemoteAll> {
00279   static const char* value() 
00280   {
00281     return "gateway_comms/RemoteAll";
00282   }
00283 
00284   static const char* value(const gateway_comms::RemoteAll&) { return value(); } 
00285 };
00286 
00287 template<class ContainerAllocator>
00288 struct MD5Sum<gateway_comms::RemoteAllRequest_<ContainerAllocator> > {
00289   static const char* value() 
00290   {
00291     return "dae39b2540424f9672db2c4f37b6394a";
00292   }
00293 
00294   static const char* value(const gateway_comms::RemoteAllRequest_<ContainerAllocator> &) { return value(); } 
00295 };
00296 
00297 template<class ContainerAllocator>
00298 struct DataType<gateway_comms::RemoteAllRequest_<ContainerAllocator> > {
00299   static const char* value() 
00300   {
00301     return "gateway_comms/RemoteAll";
00302   }
00303 
00304   static const char* value(const gateway_comms::RemoteAllRequest_<ContainerAllocator> &) { return value(); } 
00305 };
00306 
00307 template<class ContainerAllocator>
00308 struct MD5Sum<gateway_comms::RemoteAllResponse_<ContainerAllocator> > {
00309   static const char* value() 
00310   {
00311     return "dae39b2540424f9672db2c4f37b6394a";
00312   }
00313 
00314   static const char* value(const gateway_comms::RemoteAllResponse_<ContainerAllocator> &) { return value(); } 
00315 };
00316 
00317 template<class ContainerAllocator>
00318 struct DataType<gateway_comms::RemoteAllResponse_<ContainerAllocator> > {
00319   static const char* value() 
00320   {
00321     return "gateway_comms/RemoteAll";
00322   }
00323 
00324   static const char* value(const gateway_comms::RemoteAllResponse_<ContainerAllocator> &) { return value(); } 
00325 };
00326 
00327 } // namespace service_traits
00328 } // namespace ros
00329 
00330 #endif // GATEWAY_COMMS_SERVICE_REMOTEALL_H
00331 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends


gateway_comms
Author(s): Jihoon
autogenerated on Wed Nov 21 2012 15:02:06