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


cob_srvs
Author(s): Florian Weisshardt
autogenerated on Sun Oct 5 2014 22:58:03