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


asebaros
Author(s): Stéphane Magnenat
autogenerated on Sun Oct 5 2014 23:47:01