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


app_manager
Author(s): Jeremy Leibs, Ken Conley
autogenerated on Mon Dec 2 2013 11:36:52