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


throttled_transport
Author(s): Cedric Pradalier
autogenerated on Sun Oct 5 2014 23:49:02