StopApp.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-rocon_msgs/doc_stacks/2012-11-21_12-49-18.494478/rocon_msgs/appmanager_comms/srv/StopApp.srv */
00002 #ifndef APPMANAGER_COMMS_SERVICE_STOPAPP_H
00003 #define APPMANAGER_COMMS_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 appmanager_comms
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< ::appmanager_comms::StopAppRequest_<ContainerAllocator> > Ptr;
00043   typedef boost::shared_ptr< ::appmanager_comms::StopAppRequest_<ContainerAllocator>  const> ConstPtr;
00044   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00045 }; // struct StopAppRequest
00046 typedef  ::appmanager_comms::StopAppRequest_<std::allocator<void> > StopAppRequest;
00047 
00048 typedef boost::shared_ptr< ::appmanager_comms::StopAppRequest> StopAppRequestPtr;
00049 typedef boost::shared_ptr< ::appmanager_comms::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< ::appmanager_comms::StopAppResponse_<ContainerAllocator> > Ptr;
00081   typedef boost::shared_ptr< ::appmanager_comms::StopAppResponse_<ContainerAllocator>  const> ConstPtr;
00082   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00083 }; // struct StopAppResponse
00084 typedef  ::appmanager_comms::StopAppResponse_<std::allocator<void> > StopAppResponse;
00085 
00086 typedef boost::shared_ptr< ::appmanager_comms::StopAppResponse> StopAppResponsePtr;
00087 typedef boost::shared_ptr< ::appmanager_comms::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 appmanager_comms
00101 
00102 namespace ros
00103 {
00104 namespace message_traits
00105 {
00106 template<class ContainerAllocator> struct IsMessage< ::appmanager_comms::StopAppRequest_<ContainerAllocator> > : public TrueType {};
00107 template<class ContainerAllocator> struct IsMessage< ::appmanager_comms::StopAppRequest_<ContainerAllocator>  const> : public TrueType {};
00108 template<class ContainerAllocator>
00109 struct MD5Sum< ::appmanager_comms::StopAppRequest_<ContainerAllocator> > {
00110   static const char* value() 
00111   {
00112     return "c1f3d28f1b044c871e6eff2e9fc3c667";
00113   }
00114 
00115   static const char* value(const  ::appmanager_comms::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< ::appmanager_comms::StopAppRequest_<ContainerAllocator> > {
00122   static const char* value() 
00123   {
00124     return "appmanager_comms/StopAppRequest";
00125   }
00126 
00127   static const char* value(const  ::appmanager_comms::StopAppRequest_<ContainerAllocator> &) { return value(); } 
00128 };
00129 
00130 template<class ContainerAllocator>
00131 struct Definition< ::appmanager_comms::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  ::appmanager_comms::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< ::appmanager_comms::StopAppResponse_<ContainerAllocator> > : public TrueType {};
00152 template<class ContainerAllocator> struct IsMessage< ::appmanager_comms::StopAppResponse_<ContainerAllocator>  const> : public TrueType {};
00153 template<class ContainerAllocator>
00154 struct MD5Sum< ::appmanager_comms::StopAppResponse_<ContainerAllocator> > {
00155   static const char* value() 
00156   {
00157     return "1f94f0ff0fc0fde186f728634f98a3cb";
00158   }
00159 
00160   static const char* value(const  ::appmanager_comms::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< ::appmanager_comms::StopAppResponse_<ContainerAllocator> > {
00167   static const char* value() 
00168   {
00169     return "appmanager_comms/StopAppResponse";
00170   }
00171 
00172   static const char* value(const  ::appmanager_comms::StopAppResponse_<ContainerAllocator> &) { return value(); } 
00173 };
00174 
00175 template<class ContainerAllocator>
00176 struct Definition< ::appmanager_comms::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 \n\
00188 ";
00189   }
00190 
00191   static const char* value(const  ::appmanager_comms::StopAppResponse_<ContainerAllocator> &) { return value(); } 
00192 };
00193 
00194 } // namespace message_traits
00195 } // namespace ros
00196 
00197 namespace ros
00198 {
00199 namespace serialization
00200 {
00201 
00202 template<class ContainerAllocator> struct Serializer< ::appmanager_comms::StopAppRequest_<ContainerAllocator> >
00203 {
00204   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00205   {
00206     stream.next(m.name);
00207   }
00208 
00209   ROS_DECLARE_ALLINONE_SERIALIZER;
00210 }; // struct StopAppRequest_
00211 } // namespace serialization
00212 } // namespace ros
00213 
00214 
00215 namespace ros
00216 {
00217 namespace serialization
00218 {
00219 
00220 template<class ContainerAllocator> struct Serializer< ::appmanager_comms::StopAppResponse_<ContainerAllocator> >
00221 {
00222   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00223   {
00224     stream.next(m.stopped);
00225     stream.next(m.error_code);
00226     stream.next(m.message);
00227   }
00228 
00229   ROS_DECLARE_ALLINONE_SERIALIZER;
00230 }; // struct StopAppResponse_
00231 } // namespace serialization
00232 } // namespace ros
00233 
00234 namespace ros
00235 {
00236 namespace service_traits
00237 {
00238 template<>
00239 struct MD5Sum<appmanager_comms::StopApp> {
00240   static const char* value() 
00241   {
00242     return "57711838d4a1faddc5043a742845018b";
00243   }
00244 
00245   static const char* value(const appmanager_comms::StopApp&) { return value(); } 
00246 };
00247 
00248 template<>
00249 struct DataType<appmanager_comms::StopApp> {
00250   static const char* value() 
00251   {
00252     return "appmanager_comms/StopApp";
00253   }
00254 
00255   static const char* value(const appmanager_comms::StopApp&) { return value(); } 
00256 };
00257 
00258 template<class ContainerAllocator>
00259 struct MD5Sum<appmanager_comms::StopAppRequest_<ContainerAllocator> > {
00260   static const char* value() 
00261   {
00262     return "57711838d4a1faddc5043a742845018b";
00263   }
00264 
00265   static const char* value(const appmanager_comms::StopAppRequest_<ContainerAllocator> &) { return value(); } 
00266 };
00267 
00268 template<class ContainerAllocator>
00269 struct DataType<appmanager_comms::StopAppRequest_<ContainerAllocator> > {
00270   static const char* value() 
00271   {
00272     return "appmanager_comms/StopApp";
00273   }
00274 
00275   static const char* value(const appmanager_comms::StopAppRequest_<ContainerAllocator> &) { return value(); } 
00276 };
00277 
00278 template<class ContainerAllocator>
00279 struct MD5Sum<appmanager_comms::StopAppResponse_<ContainerAllocator> > {
00280   static const char* value() 
00281   {
00282     return "57711838d4a1faddc5043a742845018b";
00283   }
00284 
00285   static const char* value(const appmanager_comms::StopAppResponse_<ContainerAllocator> &) { return value(); } 
00286 };
00287 
00288 template<class ContainerAllocator>
00289 struct DataType<appmanager_comms::StopAppResponse_<ContainerAllocator> > {
00290   static const char* value() 
00291   {
00292     return "appmanager_comms/StopApp";
00293   }
00294 
00295   static const char* value(const appmanager_comms::StopAppResponse_<ContainerAllocator> &) { return value(); } 
00296 };
00297 
00298 } // namespace service_traits
00299 } // namespace ros
00300 
00301 #endif // APPMANAGER_COMMS_SERVICE_STOPAPP_H
00302 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


appmanager_comms
Author(s): Jihoon
autogenerated on Wed Nov 21 2012 12:51:08