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


asebaros
Author(s): Stéphane Magnenat
autogenerated on Thu Jan 2 2014 11:17:35