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


cob_phidgets
Author(s): Florian Weisshardt, Benjamin Maidel
autogenerated on Sun Oct 5 2014 23:10:20