$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-alufr-humanoid_stacks/doc_stacks/2013-03-05_11-28-06.315559/nao_robot/nao_msgs/srv/GetInstalledBehaviors.srv */ 00002 #ifndef NAO_MSGS_SERVICE_GETINSTALLEDBEHAVIORS_H 00003 #define NAO_MSGS_SERVICE_GETINSTALLEDBEHAVIORS_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 nao_msgs 00023 { 00024 template <class ContainerAllocator> 00025 struct GetInstalledBehaviorsRequest_ { 00026 typedef GetInstalledBehaviorsRequest_<ContainerAllocator> Type; 00027 00028 GetInstalledBehaviorsRequest_() 00029 { 00030 } 00031 00032 GetInstalledBehaviorsRequest_(const ContainerAllocator& _alloc) 00033 { 00034 } 00035 00036 00037 private: 00038 static const char* __s_getDataType_() { return "nao_msgs/GetInstalledBehaviorsRequest"; } 00039 public: 00040 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00041 00042 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00043 00044 private: 00045 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; } 00046 public: 00047 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00048 00049 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00050 00051 private: 00052 static const char* __s_getServerMD5Sum_() { return "715783c8c6eb28fc2e1c05184add75ec"; } 00053 public: 00054 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00055 00056 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00057 00058 private: 00059 static const char* __s_getMessageDefinition_() { return "\n\ 00060 \n\ 00061 "; } 00062 public: 00063 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00064 00065 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00066 00067 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00068 { 00069 ros::serialization::OStream stream(write_ptr, 1000000000); 00070 return stream.getData(); 00071 } 00072 00073 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00074 { 00075 ros::serialization::IStream stream(read_ptr, 1000000000); 00076 return stream.getData(); 00077 } 00078 00079 ROS_DEPRECATED virtual uint32_t serializationLength() const 00080 { 00081 uint32_t size = 0; 00082 return size; 00083 } 00084 00085 typedef boost::shared_ptr< ::nao_msgs::GetInstalledBehaviorsRequest_<ContainerAllocator> > Ptr; 00086 typedef boost::shared_ptr< ::nao_msgs::GetInstalledBehaviorsRequest_<ContainerAllocator> const> ConstPtr; 00087 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00088 }; // struct GetInstalledBehaviorsRequest 00089 typedef ::nao_msgs::GetInstalledBehaviorsRequest_<std::allocator<void> > GetInstalledBehaviorsRequest; 00090 00091 typedef boost::shared_ptr< ::nao_msgs::GetInstalledBehaviorsRequest> GetInstalledBehaviorsRequestPtr; 00092 typedef boost::shared_ptr< ::nao_msgs::GetInstalledBehaviorsRequest const> GetInstalledBehaviorsRequestConstPtr; 00093 00094 00095 template <class ContainerAllocator> 00096 struct GetInstalledBehaviorsResponse_ { 00097 typedef GetInstalledBehaviorsResponse_<ContainerAllocator> Type; 00098 00099 GetInstalledBehaviorsResponse_() 00100 : behaviors() 00101 { 00102 } 00103 00104 GetInstalledBehaviorsResponse_(const ContainerAllocator& _alloc) 00105 : behaviors(_alloc) 00106 { 00107 } 00108 00109 typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _behaviors_type; 00110 std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > behaviors; 00111 00112 00113 ROS_DEPRECATED uint32_t get_behaviors_size() const { return (uint32_t)behaviors.size(); } 00114 ROS_DEPRECATED void set_behaviors_size(uint32_t size) { behaviors.resize((size_t)size); } 00115 ROS_DEPRECATED void get_behaviors_vec(std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > & vec) const { vec = this->behaviors; } 00116 ROS_DEPRECATED void set_behaviors_vec(const std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > & vec) { this->behaviors = vec; } 00117 private: 00118 static const char* __s_getDataType_() { return "nao_msgs/GetInstalledBehaviorsResponse"; } 00119 public: 00120 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00121 00122 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00123 00124 private: 00125 static const char* __s_getMD5Sum_() { return "715783c8c6eb28fc2e1c05184add75ec"; } 00126 public: 00127 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00128 00129 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00130 00131 private: 00132 static const char* __s_getServerMD5Sum_() { return "715783c8c6eb28fc2e1c05184add75ec"; } 00133 public: 00134 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00135 00136 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00137 00138 private: 00139 static const char* __s_getMessageDefinition_() { return "string[] behaviors\n\ 00140 \n\ 00141 \n\ 00142 "; } 00143 public: 00144 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00145 00146 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00147 00148 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00149 { 00150 ros::serialization::OStream stream(write_ptr, 1000000000); 00151 ros::serialization::serialize(stream, behaviors); 00152 return stream.getData(); 00153 } 00154 00155 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00156 { 00157 ros::serialization::IStream stream(read_ptr, 1000000000); 00158 ros::serialization::deserialize(stream, behaviors); 00159 return stream.getData(); 00160 } 00161 00162 ROS_DEPRECATED virtual uint32_t serializationLength() const 00163 { 00164 uint32_t size = 0; 00165 size += ros::serialization::serializationLength(behaviors); 00166 return size; 00167 } 00168 00169 typedef boost::shared_ptr< ::nao_msgs::GetInstalledBehaviorsResponse_<ContainerAllocator> > Ptr; 00170 typedef boost::shared_ptr< ::nao_msgs::GetInstalledBehaviorsResponse_<ContainerAllocator> const> ConstPtr; 00171 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00172 }; // struct GetInstalledBehaviorsResponse 00173 typedef ::nao_msgs::GetInstalledBehaviorsResponse_<std::allocator<void> > GetInstalledBehaviorsResponse; 00174 00175 typedef boost::shared_ptr< ::nao_msgs::GetInstalledBehaviorsResponse> GetInstalledBehaviorsResponsePtr; 00176 typedef boost::shared_ptr< ::nao_msgs::GetInstalledBehaviorsResponse const> GetInstalledBehaviorsResponseConstPtr; 00177 00178 struct GetInstalledBehaviors 00179 { 00180 00181 typedef GetInstalledBehaviorsRequest Request; 00182 typedef GetInstalledBehaviorsResponse Response; 00183 Request request; 00184 Response response; 00185 00186 typedef Request RequestType; 00187 typedef Response ResponseType; 00188 }; // struct GetInstalledBehaviors 00189 } // namespace nao_msgs 00190 00191 namespace ros 00192 { 00193 namespace message_traits 00194 { 00195 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::GetInstalledBehaviorsRequest_<ContainerAllocator> > : public TrueType {}; 00196 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::GetInstalledBehaviorsRequest_<ContainerAllocator> const> : public TrueType {}; 00197 template<class ContainerAllocator> 00198 struct MD5Sum< ::nao_msgs::GetInstalledBehaviorsRequest_<ContainerAllocator> > { 00199 static const char* value() 00200 { 00201 return "d41d8cd98f00b204e9800998ecf8427e"; 00202 } 00203 00204 static const char* value(const ::nao_msgs::GetInstalledBehaviorsRequest_<ContainerAllocator> &) { return value(); } 00205 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00206 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00207 }; 00208 00209 template<class ContainerAllocator> 00210 struct DataType< ::nao_msgs::GetInstalledBehaviorsRequest_<ContainerAllocator> > { 00211 static const char* value() 00212 { 00213 return "nao_msgs/GetInstalledBehaviorsRequest"; 00214 } 00215 00216 static const char* value(const ::nao_msgs::GetInstalledBehaviorsRequest_<ContainerAllocator> &) { return value(); } 00217 }; 00218 00219 template<class ContainerAllocator> 00220 struct Definition< ::nao_msgs::GetInstalledBehaviorsRequest_<ContainerAllocator> > { 00221 static const char* value() 00222 { 00223 return "\n\ 00224 \n\ 00225 "; 00226 } 00227 00228 static const char* value(const ::nao_msgs::GetInstalledBehaviorsRequest_<ContainerAllocator> &) { return value(); } 00229 }; 00230 00231 template<class ContainerAllocator> struct IsFixedSize< ::nao_msgs::GetInstalledBehaviorsRequest_<ContainerAllocator> > : public TrueType {}; 00232 } // namespace message_traits 00233 } // namespace ros 00234 00235 00236 namespace ros 00237 { 00238 namespace message_traits 00239 { 00240 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::GetInstalledBehaviorsResponse_<ContainerAllocator> > : public TrueType {}; 00241 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::GetInstalledBehaviorsResponse_<ContainerAllocator> const> : public TrueType {}; 00242 template<class ContainerAllocator> 00243 struct MD5Sum< ::nao_msgs::GetInstalledBehaviorsResponse_<ContainerAllocator> > { 00244 static const char* value() 00245 { 00246 return "715783c8c6eb28fc2e1c05184add75ec"; 00247 } 00248 00249 static const char* value(const ::nao_msgs::GetInstalledBehaviorsResponse_<ContainerAllocator> &) { return value(); } 00250 static const uint64_t static_value1 = 0x715783c8c6eb28fcULL; 00251 static const uint64_t static_value2 = 0x2e1c05184add75ecULL; 00252 }; 00253 00254 template<class ContainerAllocator> 00255 struct DataType< ::nao_msgs::GetInstalledBehaviorsResponse_<ContainerAllocator> > { 00256 static const char* value() 00257 { 00258 return "nao_msgs/GetInstalledBehaviorsResponse"; 00259 } 00260 00261 static const char* value(const ::nao_msgs::GetInstalledBehaviorsResponse_<ContainerAllocator> &) { return value(); } 00262 }; 00263 00264 template<class ContainerAllocator> 00265 struct Definition< ::nao_msgs::GetInstalledBehaviorsResponse_<ContainerAllocator> > { 00266 static const char* value() 00267 { 00268 return "string[] behaviors\n\ 00269 \n\ 00270 \n\ 00271 "; 00272 } 00273 00274 static const char* value(const ::nao_msgs::GetInstalledBehaviorsResponse_<ContainerAllocator> &) { return value(); } 00275 }; 00276 00277 } // namespace message_traits 00278 } // namespace ros 00279 00280 namespace ros 00281 { 00282 namespace serialization 00283 { 00284 00285 template<class ContainerAllocator> struct Serializer< ::nao_msgs::GetInstalledBehaviorsRequest_<ContainerAllocator> > 00286 { 00287 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00288 { 00289 } 00290 00291 ROS_DECLARE_ALLINONE_SERIALIZER; 00292 }; // struct GetInstalledBehaviorsRequest_ 00293 } // namespace serialization 00294 } // namespace ros 00295 00296 00297 namespace ros 00298 { 00299 namespace serialization 00300 { 00301 00302 template<class ContainerAllocator> struct Serializer< ::nao_msgs::GetInstalledBehaviorsResponse_<ContainerAllocator> > 00303 { 00304 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00305 { 00306 stream.next(m.behaviors); 00307 } 00308 00309 ROS_DECLARE_ALLINONE_SERIALIZER; 00310 }; // struct GetInstalledBehaviorsResponse_ 00311 } // namespace serialization 00312 } // namespace ros 00313 00314 namespace ros 00315 { 00316 namespace service_traits 00317 { 00318 template<> 00319 struct MD5Sum<nao_msgs::GetInstalledBehaviors> { 00320 static const char* value() 00321 { 00322 return "715783c8c6eb28fc2e1c05184add75ec"; 00323 } 00324 00325 static const char* value(const nao_msgs::GetInstalledBehaviors&) { return value(); } 00326 }; 00327 00328 template<> 00329 struct DataType<nao_msgs::GetInstalledBehaviors> { 00330 static const char* value() 00331 { 00332 return "nao_msgs/GetInstalledBehaviors"; 00333 } 00334 00335 static const char* value(const nao_msgs::GetInstalledBehaviors&) { return value(); } 00336 }; 00337 00338 template<class ContainerAllocator> 00339 struct MD5Sum<nao_msgs::GetInstalledBehaviorsRequest_<ContainerAllocator> > { 00340 static const char* value() 00341 { 00342 return "715783c8c6eb28fc2e1c05184add75ec"; 00343 } 00344 00345 static const char* value(const nao_msgs::GetInstalledBehaviorsRequest_<ContainerAllocator> &) { return value(); } 00346 }; 00347 00348 template<class ContainerAllocator> 00349 struct DataType<nao_msgs::GetInstalledBehaviorsRequest_<ContainerAllocator> > { 00350 static const char* value() 00351 { 00352 return "nao_msgs/GetInstalledBehaviors"; 00353 } 00354 00355 static const char* value(const nao_msgs::GetInstalledBehaviorsRequest_<ContainerAllocator> &) { return value(); } 00356 }; 00357 00358 template<class ContainerAllocator> 00359 struct MD5Sum<nao_msgs::GetInstalledBehaviorsResponse_<ContainerAllocator> > { 00360 static const char* value() 00361 { 00362 return "715783c8c6eb28fc2e1c05184add75ec"; 00363 } 00364 00365 static const char* value(const nao_msgs::GetInstalledBehaviorsResponse_<ContainerAllocator> &) { return value(); } 00366 }; 00367 00368 template<class ContainerAllocator> 00369 struct DataType<nao_msgs::GetInstalledBehaviorsResponse_<ContainerAllocator> > { 00370 static const char* value() 00371 { 00372 return "nao_msgs/GetInstalledBehaviors"; 00373 } 00374 00375 static const char* value(const nao_msgs::GetInstalledBehaviorsResponse_<ContainerAllocator> &) { return value(); } 00376 }; 00377 00378 } // namespace service_traits 00379 } // namespace ros 00380 00381 #endif // NAO_MSGS_SERVICE_GETINSTALLEDBEHAVIORS_H 00382