GetModelDescription.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-object_manipulation/doc_stacks/2013-01-25_14-23-21.619693/object_manipulation/household_objects_database_msgs/srv/GetModelDescription.srv */
00002 #ifndef HOUSEHOLD_OBJECTS_DATABASE_MSGS_SERVICE_GETMODELDESCRIPTION_H
00003 #define HOUSEHOLD_OBJECTS_DATABASE_MSGS_SERVICE_GETMODELDESCRIPTION_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 #include "household_objects_database_msgs/DatabaseReturnCode.h"
00022 
00023 namespace household_objects_database_msgs
00024 {
00025 template <class ContainerAllocator>
00026 struct GetModelDescriptionRequest_ {
00027   typedef GetModelDescriptionRequest_<ContainerAllocator> Type;
00028 
00029   GetModelDescriptionRequest_()
00030   : model_id(0)
00031   {
00032   }
00033 
00034   GetModelDescriptionRequest_(const ContainerAllocator& _alloc)
00035   : model_id(0)
00036   {
00037   }
00038 
00039   typedef int32_t _model_id_type;
00040   int32_t model_id;
00041 
00042 
00043   typedef boost::shared_ptr< ::household_objects_database_msgs::GetModelDescriptionRequest_<ContainerAllocator> > Ptr;
00044   typedef boost::shared_ptr< ::household_objects_database_msgs::GetModelDescriptionRequest_<ContainerAllocator>  const> ConstPtr;
00045   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 }; // struct GetModelDescriptionRequest
00047 typedef  ::household_objects_database_msgs::GetModelDescriptionRequest_<std::allocator<void> > GetModelDescriptionRequest;
00048 
00049 typedef boost::shared_ptr< ::household_objects_database_msgs::GetModelDescriptionRequest> GetModelDescriptionRequestPtr;
00050 typedef boost::shared_ptr< ::household_objects_database_msgs::GetModelDescriptionRequest const> GetModelDescriptionRequestConstPtr;
00051 
00052 
00053 template <class ContainerAllocator>
00054 struct GetModelDescriptionResponse_ {
00055   typedef GetModelDescriptionResponse_<ContainerAllocator> Type;
00056 
00057   GetModelDescriptionResponse_()
00058   : return_code()
00059   , tags()
00060   , name()
00061   , maker()
00062   {
00063   }
00064 
00065   GetModelDescriptionResponse_(const ContainerAllocator& _alloc)
00066   : return_code(_alloc)
00067   , tags(_alloc)
00068   , name(_alloc)
00069   , maker(_alloc)
00070   {
00071   }
00072 
00073   typedef  ::household_objects_database_msgs::DatabaseReturnCode_<ContainerAllocator>  _return_code_type;
00074    ::household_objects_database_msgs::DatabaseReturnCode_<ContainerAllocator>  return_code;
00075 
00076   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 >  _tags_type;
00077   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 >  tags;
00078 
00079   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _name_type;
00080   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  name;
00081 
00082   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _maker_type;
00083   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  maker;
00084 
00085 
00086   typedef boost::shared_ptr< ::household_objects_database_msgs::GetModelDescriptionResponse_<ContainerAllocator> > Ptr;
00087   typedef boost::shared_ptr< ::household_objects_database_msgs::GetModelDescriptionResponse_<ContainerAllocator>  const> ConstPtr;
00088   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00089 }; // struct GetModelDescriptionResponse
00090 typedef  ::household_objects_database_msgs::GetModelDescriptionResponse_<std::allocator<void> > GetModelDescriptionResponse;
00091 
00092 typedef boost::shared_ptr< ::household_objects_database_msgs::GetModelDescriptionResponse> GetModelDescriptionResponsePtr;
00093 typedef boost::shared_ptr< ::household_objects_database_msgs::GetModelDescriptionResponse const> GetModelDescriptionResponseConstPtr;
00094 
00095 struct GetModelDescription
00096 {
00097 
00098 typedef GetModelDescriptionRequest Request;
00099 typedef GetModelDescriptionResponse Response;
00100 Request request;
00101 Response response;
00102 
00103 typedef Request RequestType;
00104 typedef Response ResponseType;
00105 }; // struct GetModelDescription
00106 } // namespace household_objects_database_msgs
00107 
00108 namespace ros
00109 {
00110 namespace message_traits
00111 {
00112 template<class ContainerAllocator> struct IsMessage< ::household_objects_database_msgs::GetModelDescriptionRequest_<ContainerAllocator> > : public TrueType {};
00113 template<class ContainerAllocator> struct IsMessage< ::household_objects_database_msgs::GetModelDescriptionRequest_<ContainerAllocator>  const> : public TrueType {};
00114 template<class ContainerAllocator>
00115 struct MD5Sum< ::household_objects_database_msgs::GetModelDescriptionRequest_<ContainerAllocator> > {
00116   static const char* value() 
00117   {
00118     return "28cb0598daf3b969068a38cd07aaa9f6";
00119   }
00120 
00121   static const char* value(const  ::household_objects_database_msgs::GetModelDescriptionRequest_<ContainerAllocator> &) { return value(); } 
00122   static const uint64_t static_value1 = 0x28cb0598daf3b969ULL;
00123   static const uint64_t static_value2 = 0x068a38cd07aaa9f6ULL;
00124 };
00125 
00126 template<class ContainerAllocator>
00127 struct DataType< ::household_objects_database_msgs::GetModelDescriptionRequest_<ContainerAllocator> > {
00128   static const char* value() 
00129   {
00130     return "household_objects_database_msgs/GetModelDescriptionRequest";
00131   }
00132 
00133   static const char* value(const  ::household_objects_database_msgs::GetModelDescriptionRequest_<ContainerAllocator> &) { return value(); } 
00134 };
00135 
00136 template<class ContainerAllocator>
00137 struct Definition< ::household_objects_database_msgs::GetModelDescriptionRequest_<ContainerAllocator> > {
00138   static const char* value() 
00139   {
00140     return "\n\
00141 \n\
00142 \n\
00143 int32 model_id\n\
00144 \n\
00145 \n\
00146 ";
00147   }
00148 
00149   static const char* value(const  ::household_objects_database_msgs::GetModelDescriptionRequest_<ContainerAllocator> &) { return value(); } 
00150 };
00151 
00152 template<class ContainerAllocator> struct IsFixedSize< ::household_objects_database_msgs::GetModelDescriptionRequest_<ContainerAllocator> > : public TrueType {};
00153 } // namespace message_traits
00154 } // namespace ros
00155 
00156 
00157 namespace ros
00158 {
00159 namespace message_traits
00160 {
00161 template<class ContainerAllocator> struct IsMessage< ::household_objects_database_msgs::GetModelDescriptionResponse_<ContainerAllocator> > : public TrueType {};
00162 template<class ContainerAllocator> struct IsMessage< ::household_objects_database_msgs::GetModelDescriptionResponse_<ContainerAllocator>  const> : public TrueType {};
00163 template<class ContainerAllocator>
00164 struct MD5Sum< ::household_objects_database_msgs::GetModelDescriptionResponse_<ContainerAllocator> > {
00165   static const char* value() 
00166   {
00167     return "e6c55e34b143695104d37ad9b33c72c0";
00168   }
00169 
00170   static const char* value(const  ::household_objects_database_msgs::GetModelDescriptionResponse_<ContainerAllocator> &) { return value(); } 
00171   static const uint64_t static_value1 = 0xe6c55e34b1436951ULL;
00172   static const uint64_t static_value2 = 0x04d37ad9b33c72c0ULL;
00173 };
00174 
00175 template<class ContainerAllocator>
00176 struct DataType< ::household_objects_database_msgs::GetModelDescriptionResponse_<ContainerAllocator> > {
00177   static const char* value() 
00178   {
00179     return "household_objects_database_msgs/GetModelDescriptionResponse";
00180   }
00181 
00182   static const char* value(const  ::household_objects_database_msgs::GetModelDescriptionResponse_<ContainerAllocator> &) { return value(); } 
00183 };
00184 
00185 template<class ContainerAllocator>
00186 struct Definition< ::household_objects_database_msgs::GetModelDescriptionResponse_<ContainerAllocator> > {
00187   static const char* value() 
00188   {
00189     return "\n\
00190 \n\
00191 DatabaseReturnCode return_code\n\
00192 \n\
00193 \n\
00194 string[] tags\n\
00195 \n\
00196 \n\
00197 string name\n\
00198 \n\
00199 \n\
00200 string maker\n\
00201 \n\
00202 \n\
00203 \n\
00204 ================================================================================\n\
00205 MSG: household_objects_database_msgs/DatabaseReturnCode\n\
00206 # return codes for database-related services\n\
00207 \n\
00208 int32 UNKNOWN_ERROR = 1\n\
00209 int32 DATABASE_NOT_CONNECTED = 2\n\
00210 int32 DATABASE_QUERY_ERROR = 3\n\
00211 int32 SUCCESS = -1\n\
00212 \n\
00213 int32 code\n\
00214 ";
00215   }
00216 
00217   static const char* value(const  ::household_objects_database_msgs::GetModelDescriptionResponse_<ContainerAllocator> &) { return value(); } 
00218 };
00219 
00220 } // namespace message_traits
00221 } // namespace ros
00222 
00223 namespace ros
00224 {
00225 namespace serialization
00226 {
00227 
00228 template<class ContainerAllocator> struct Serializer< ::household_objects_database_msgs::GetModelDescriptionRequest_<ContainerAllocator> >
00229 {
00230   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00231   {
00232     stream.next(m.model_id);
00233   }
00234 
00235   ROS_DECLARE_ALLINONE_SERIALIZER;
00236 }; // struct GetModelDescriptionRequest_
00237 } // namespace serialization
00238 } // namespace ros
00239 
00240 
00241 namespace ros
00242 {
00243 namespace serialization
00244 {
00245 
00246 template<class ContainerAllocator> struct Serializer< ::household_objects_database_msgs::GetModelDescriptionResponse_<ContainerAllocator> >
00247 {
00248   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00249   {
00250     stream.next(m.return_code);
00251     stream.next(m.tags);
00252     stream.next(m.name);
00253     stream.next(m.maker);
00254   }
00255 
00256   ROS_DECLARE_ALLINONE_SERIALIZER;
00257 }; // struct GetModelDescriptionResponse_
00258 } // namespace serialization
00259 } // namespace ros
00260 
00261 namespace ros
00262 {
00263 namespace service_traits
00264 {
00265 template<>
00266 struct MD5Sum<household_objects_database_msgs::GetModelDescription> {
00267   static const char* value() 
00268   {
00269     return "1fee77e674730723af04cd39a4e3e0b1";
00270   }
00271 
00272   static const char* value(const household_objects_database_msgs::GetModelDescription&) { return value(); } 
00273 };
00274 
00275 template<>
00276 struct DataType<household_objects_database_msgs::GetModelDescription> {
00277   static const char* value() 
00278   {
00279     return "household_objects_database_msgs/GetModelDescription";
00280   }
00281 
00282   static const char* value(const household_objects_database_msgs::GetModelDescription&) { return value(); } 
00283 };
00284 
00285 template<class ContainerAllocator>
00286 struct MD5Sum<household_objects_database_msgs::GetModelDescriptionRequest_<ContainerAllocator> > {
00287   static const char* value() 
00288   {
00289     return "1fee77e674730723af04cd39a4e3e0b1";
00290   }
00291 
00292   static const char* value(const household_objects_database_msgs::GetModelDescriptionRequest_<ContainerAllocator> &) { return value(); } 
00293 };
00294 
00295 template<class ContainerAllocator>
00296 struct DataType<household_objects_database_msgs::GetModelDescriptionRequest_<ContainerAllocator> > {
00297   static const char* value() 
00298   {
00299     return "household_objects_database_msgs/GetModelDescription";
00300   }
00301 
00302   static const char* value(const household_objects_database_msgs::GetModelDescriptionRequest_<ContainerAllocator> &) { return value(); } 
00303 };
00304 
00305 template<class ContainerAllocator>
00306 struct MD5Sum<household_objects_database_msgs::GetModelDescriptionResponse_<ContainerAllocator> > {
00307   static const char* value() 
00308   {
00309     return "1fee77e674730723af04cd39a4e3e0b1";
00310   }
00311 
00312   static const char* value(const household_objects_database_msgs::GetModelDescriptionResponse_<ContainerAllocator> &) { return value(); } 
00313 };
00314 
00315 template<class ContainerAllocator>
00316 struct DataType<household_objects_database_msgs::GetModelDescriptionResponse_<ContainerAllocator> > {
00317   static const char* value() 
00318   {
00319     return "household_objects_database_msgs/GetModelDescription";
00320   }
00321 
00322   static const char* value(const household_objects_database_msgs::GetModelDescriptionResponse_<ContainerAllocator> &) { return value(); } 
00323 };
00324 
00325 } // namespace service_traits
00326 } // namespace ros
00327 
00328 #endif // HOUSEHOLD_OBJECTS_DATABASE_MSGS_SERVICE_GETMODELDESCRIPTION_H
00329 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


household_objects_database_msgs
Author(s): Matei Ciocarlie
autogenerated on Fri Jan 25 2013 14:57:21