Go to the documentation of this file.00001
00002 #ifndef SRS_KNOWLEDGE_SERVICE_GETOBJECTSONWORKSPACE_H
00003 #define SRS_KNOWLEDGE_SERVICE_GETOBJECTSONWORKSPACE_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 GetObjectsOnWorkspaceRequest_ {
00026 typedef GetObjectsOnWorkspaceRequest_<ContainerAllocator> Type;
00027
00028 GetObjectsOnWorkspaceRequest_()
00029 : objectID(0)
00030 , period()
00031 {
00032 }
00033
00034 GetObjectsOnWorkspaceRequest_(const ContainerAllocator& _alloc)
00035 : objectID(0)
00036 , period()
00037 {
00038 }
00039
00040 typedef uint32_t _objectID_type;
00041 uint32_t objectID;
00042
00043 typedef ros::Duration _period_type;
00044 ros::Duration period;
00045
00046
00047 typedef boost::shared_ptr< ::srs_knowledge::GetObjectsOnWorkspaceRequest_<ContainerAllocator> > Ptr;
00048 typedef boost::shared_ptr< ::srs_knowledge::GetObjectsOnWorkspaceRequest_<ContainerAllocator> const> ConstPtr;
00049 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00050 };
00051 typedef ::srs_knowledge::GetObjectsOnWorkspaceRequest_<std::allocator<void> > GetObjectsOnWorkspaceRequest;
00052
00053 typedef boost::shared_ptr< ::srs_knowledge::GetObjectsOnWorkspaceRequest> GetObjectsOnWorkspaceRequestPtr;
00054 typedef boost::shared_ptr< ::srs_knowledge::GetObjectsOnWorkspaceRequest const> GetObjectsOnWorkspaceRequestConstPtr;
00055
00056
00057 template <class ContainerAllocator>
00058 struct GetObjectsOnWorkspaceResponse_ {
00059 typedef GetObjectsOnWorkspaceResponse_<ContainerAllocator> Type;
00060
00061 GetObjectsOnWorkspaceResponse_()
00062 : objectID()
00063 , classID()
00064 {
00065 }
00066
00067 GetObjectsOnWorkspaceResponse_(const ContainerAllocator& _alloc)
00068 : objectID(_alloc)
00069 , classID(_alloc)
00070 {
00071 }
00072
00073 typedef std::vector<uint32_t, typename ContainerAllocator::template rebind<uint32_t>::other > _objectID_type;
00074 std::vector<uint32_t, typename ContainerAllocator::template rebind<uint32_t>::other > objectID;
00075
00076 typedef std::vector<uint32_t, typename ContainerAllocator::template rebind<uint32_t>::other > _classID_type;
00077 std::vector<uint32_t, typename ContainerAllocator::template rebind<uint32_t>::other > classID;
00078
00079
00080 typedef boost::shared_ptr< ::srs_knowledge::GetObjectsOnWorkspaceResponse_<ContainerAllocator> > Ptr;
00081 typedef boost::shared_ptr< ::srs_knowledge::GetObjectsOnWorkspaceResponse_<ContainerAllocator> const> ConstPtr;
00082 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00083 };
00084 typedef ::srs_knowledge::GetObjectsOnWorkspaceResponse_<std::allocator<void> > GetObjectsOnWorkspaceResponse;
00085
00086 typedef boost::shared_ptr< ::srs_knowledge::GetObjectsOnWorkspaceResponse> GetObjectsOnWorkspaceResponsePtr;
00087 typedef boost::shared_ptr< ::srs_knowledge::GetObjectsOnWorkspaceResponse const> GetObjectsOnWorkspaceResponseConstPtr;
00088
00089 struct GetObjectsOnWorkspace
00090 {
00091
00092 typedef GetObjectsOnWorkspaceRequest Request;
00093 typedef GetObjectsOnWorkspaceResponse Response;
00094 Request request;
00095 Response response;
00096
00097 typedef Request RequestType;
00098 typedef Response ResponseType;
00099 };
00100 }
00101
00102 namespace ros
00103 {
00104 namespace message_traits
00105 {
00106 template<class ContainerAllocator> struct IsMessage< ::srs_knowledge::GetObjectsOnWorkspaceRequest_<ContainerAllocator> > : public TrueType {};
00107 template<class ContainerAllocator> struct IsMessage< ::srs_knowledge::GetObjectsOnWorkspaceRequest_<ContainerAllocator> const> : public TrueType {};
00108 template<class ContainerAllocator>
00109 struct MD5Sum< ::srs_knowledge::GetObjectsOnWorkspaceRequest_<ContainerAllocator> > {
00110 static const char* value()
00111 {
00112 return "9af7080b172b4e34bc59169cf8be84e0";
00113 }
00114
00115 static const char* value(const ::srs_knowledge::GetObjectsOnWorkspaceRequest_<ContainerAllocator> &) { return value(); }
00116 static const uint64_t static_value1 = 0x9af7080b172b4e34ULL;
00117 static const uint64_t static_value2 = 0xbc59169cf8be84e0ULL;
00118 };
00119
00120 template<class ContainerAllocator>
00121 struct DataType< ::srs_knowledge::GetObjectsOnWorkspaceRequest_<ContainerAllocator> > {
00122 static const char* value()
00123 {
00124 return "srs_knowledge/GetObjectsOnWorkspaceRequest";
00125 }
00126
00127 static const char* value(const ::srs_knowledge::GetObjectsOnWorkspaceRequest_<ContainerAllocator> &) { return value(); }
00128 };
00129
00130 template<class ContainerAllocator>
00131 struct Definition< ::srs_knowledge::GetObjectsOnWorkspaceRequest_<ContainerAllocator> > {
00132 static const char* value()
00133 {
00134 return "\n\
00135 \n\
00136 uint32 objectID\n\
00137 \n\
00138 duration period\n\
00139 \n\
00140 ";
00141 }
00142
00143 static const char* value(const ::srs_knowledge::GetObjectsOnWorkspaceRequest_<ContainerAllocator> &) { return value(); }
00144 };
00145
00146 template<class ContainerAllocator> struct IsFixedSize< ::srs_knowledge::GetObjectsOnWorkspaceRequest_<ContainerAllocator> > : public TrueType {};
00147 }
00148 }
00149
00150
00151 namespace ros
00152 {
00153 namespace message_traits
00154 {
00155 template<class ContainerAllocator> struct IsMessage< ::srs_knowledge::GetObjectsOnWorkspaceResponse_<ContainerAllocator> > : public TrueType {};
00156 template<class ContainerAllocator> struct IsMessage< ::srs_knowledge::GetObjectsOnWorkspaceResponse_<ContainerAllocator> const> : public TrueType {};
00157 template<class ContainerAllocator>
00158 struct MD5Sum< ::srs_knowledge::GetObjectsOnWorkspaceResponse_<ContainerAllocator> > {
00159 static const char* value()
00160 {
00161 return "684a0f5cb6a10c10450acfcddc117976";
00162 }
00163
00164 static const char* value(const ::srs_knowledge::GetObjectsOnWorkspaceResponse_<ContainerAllocator> &) { return value(); }
00165 static const uint64_t static_value1 = 0x684a0f5cb6a10c10ULL;
00166 static const uint64_t static_value2 = 0x450acfcddc117976ULL;
00167 };
00168
00169 template<class ContainerAllocator>
00170 struct DataType< ::srs_knowledge::GetObjectsOnWorkspaceResponse_<ContainerAllocator> > {
00171 static const char* value()
00172 {
00173 return "srs_knowledge/GetObjectsOnWorkspaceResponse";
00174 }
00175
00176 static const char* value(const ::srs_knowledge::GetObjectsOnWorkspaceResponse_<ContainerAllocator> &) { return value(); }
00177 };
00178
00179 template<class ContainerAllocator>
00180 struct Definition< ::srs_knowledge::GetObjectsOnWorkspaceResponse_<ContainerAllocator> > {
00181 static const char* value()
00182 {
00183 return "\n\
00184 uint32[] objectID\n\
00185 \n\
00186 uint32[] classID\n\
00187 \n\
00188 ";
00189 }
00190
00191 static const char* value(const ::srs_knowledge::GetObjectsOnWorkspaceResponse_<ContainerAllocator> &) { return value(); }
00192 };
00193
00194 }
00195 }
00196
00197 namespace ros
00198 {
00199 namespace serialization
00200 {
00201
00202 template<class ContainerAllocator> struct Serializer< ::srs_knowledge::GetObjectsOnWorkspaceRequest_<ContainerAllocator> >
00203 {
00204 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00205 {
00206 stream.next(m.objectID);
00207 stream.next(m.period);
00208 }
00209
00210 ROS_DECLARE_ALLINONE_SERIALIZER;
00211 };
00212 }
00213 }
00214
00215
00216 namespace ros
00217 {
00218 namespace serialization
00219 {
00220
00221 template<class ContainerAllocator> struct Serializer< ::srs_knowledge::GetObjectsOnWorkspaceResponse_<ContainerAllocator> >
00222 {
00223 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00224 {
00225 stream.next(m.objectID);
00226 stream.next(m.classID);
00227 }
00228
00229 ROS_DECLARE_ALLINONE_SERIALIZER;
00230 };
00231 }
00232 }
00233
00234 namespace ros
00235 {
00236 namespace service_traits
00237 {
00238 template<>
00239 struct MD5Sum<srs_knowledge::GetObjectsOnWorkspace> {
00240 static const char* value()
00241 {
00242 return "5e500ec108cddc2dd57cc12861677d26";
00243 }
00244
00245 static const char* value(const srs_knowledge::GetObjectsOnWorkspace&) { return value(); }
00246 };
00247
00248 template<>
00249 struct DataType<srs_knowledge::GetObjectsOnWorkspace> {
00250 static const char* value()
00251 {
00252 return "srs_knowledge/GetObjectsOnWorkspace";
00253 }
00254
00255 static const char* value(const srs_knowledge::GetObjectsOnWorkspace&) { return value(); }
00256 };
00257
00258 template<class ContainerAllocator>
00259 struct MD5Sum<srs_knowledge::GetObjectsOnWorkspaceRequest_<ContainerAllocator> > {
00260 static const char* value()
00261 {
00262 return "5e500ec108cddc2dd57cc12861677d26";
00263 }
00264
00265 static const char* value(const srs_knowledge::GetObjectsOnWorkspaceRequest_<ContainerAllocator> &) { return value(); }
00266 };
00267
00268 template<class ContainerAllocator>
00269 struct DataType<srs_knowledge::GetObjectsOnWorkspaceRequest_<ContainerAllocator> > {
00270 static const char* value()
00271 {
00272 return "srs_knowledge/GetObjectsOnWorkspace";
00273 }
00274
00275 static const char* value(const srs_knowledge::GetObjectsOnWorkspaceRequest_<ContainerAllocator> &) { return value(); }
00276 };
00277
00278 template<class ContainerAllocator>
00279 struct MD5Sum<srs_knowledge::GetObjectsOnWorkspaceResponse_<ContainerAllocator> > {
00280 static const char* value()
00281 {
00282 return "5e500ec108cddc2dd57cc12861677d26";
00283 }
00284
00285 static const char* value(const srs_knowledge::GetObjectsOnWorkspaceResponse_<ContainerAllocator> &) { return value(); }
00286 };
00287
00288 template<class ContainerAllocator>
00289 struct DataType<srs_knowledge::GetObjectsOnWorkspaceResponse_<ContainerAllocator> > {
00290 static const char* value()
00291 {
00292 return "srs_knowledge/GetObjectsOnWorkspace";
00293 }
00294
00295 static const char* value(const srs_knowledge::GetObjectsOnWorkspaceResponse_<ContainerAllocator> &) { return value(); }
00296 };
00297
00298 }
00299 }
00300
00301 #endif // SRS_KNOWLEDGE_SERVICE_GETOBJECTSONWORKSPACE_H
00302