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


throttled_transport
Author(s): Cedric Pradalier
autogenerated on Sat Dec 28 2013 16:57:08