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


srs_knowledge
Author(s): Ze Ji
autogenerated on Sun Jan 5 2014 12:03:28