cop_call.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-ias_common/doc_stacks/2014-01-02_11-18-36.813960/ias_common/vision_srvs/srv/cop_call.srv */
00002 #ifndef VISION_SRVS_SERVICE_COP_CALL_H
00003 #define VISION_SRVS_SERVICE_COP_CALL_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 #include "vision_msgs/apriori_position.h"
00020 
00021 
00022 
00023 namespace vision_srvs
00024 {
00025 template <class ContainerAllocator>
00026 struct cop_callRequest_ {
00027   typedef cop_callRequest_<ContainerAllocator> Type;
00028 
00029   cop_callRequest_()
00030   : outputtopic()
00031   , object_classes()
00032   , object_ids()
00033   , action_type(0)
00034   , number_of_objects(0)
00035   , list_of_poses()
00036   {
00037   }
00038 
00039   cop_callRequest_(const ContainerAllocator& _alloc)
00040   : outputtopic(_alloc)
00041   , object_classes(_alloc)
00042   , object_ids(_alloc)
00043   , action_type(0)
00044   , number_of_objects(0)
00045   , list_of_poses(_alloc)
00046   {
00047   }
00048 
00049   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _outputtopic_type;
00050   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  outputtopic;
00051 
00052   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 >  _object_classes_type;
00053   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 >  object_classes;
00054 
00055   typedef std::vector<uint64_t, typename ContainerAllocator::template rebind<uint64_t>::other >  _object_ids_type;
00056   std::vector<uint64_t, typename ContainerAllocator::template rebind<uint64_t>::other >  object_ids;
00057 
00058   typedef uint64_t _action_type_type;
00059   uint64_t action_type;
00060 
00061   typedef uint64_t _number_of_objects_type;
00062   uint64_t number_of_objects;
00063 
00064   typedef std::vector< ::vision_msgs::apriori_position_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::vision_msgs::apriori_position_<ContainerAllocator> >::other >  _list_of_poses_type;
00065   std::vector< ::vision_msgs::apriori_position_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::vision_msgs::apriori_position_<ContainerAllocator> >::other >  list_of_poses;
00066 
00067   enum { LOCATE = 0 };
00068   enum { TRACK = 16 };
00069   enum { REFINE = 256 };
00070   enum { STOPTRACK = 2048 };
00071   enum { STARTATTENT = 4096 };
00072   enum { STOPATTENT = 8192 };
00073   enum { LOOKUP = 25600 };
00074   enum { LOOKUPALL = 25601 };
00075 
00076   typedef boost::shared_ptr< ::vision_srvs::cop_callRequest_<ContainerAllocator> > Ptr;
00077   typedef boost::shared_ptr< ::vision_srvs::cop_callRequest_<ContainerAllocator>  const> ConstPtr;
00078   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00079 }; // struct cop_callRequest
00080 typedef  ::vision_srvs::cop_callRequest_<std::allocator<void> > cop_callRequest;
00081 
00082 typedef boost::shared_ptr< ::vision_srvs::cop_callRequest> cop_callRequestPtr;
00083 typedef boost::shared_ptr< ::vision_srvs::cop_callRequest const> cop_callRequestConstPtr;
00084 
00085 
00086 template <class ContainerAllocator>
00087 struct cop_callResponse_ {
00088   typedef cop_callResponse_<ContainerAllocator> Type;
00089 
00090   cop_callResponse_()
00091   : perception_primitive(0)
00092   {
00093   }
00094 
00095   cop_callResponse_(const ContainerAllocator& _alloc)
00096   : perception_primitive(0)
00097   {
00098   }
00099 
00100   typedef uint64_t _perception_primitive_type;
00101   uint64_t perception_primitive;
00102 
00103 
00104   typedef boost::shared_ptr< ::vision_srvs::cop_callResponse_<ContainerAllocator> > Ptr;
00105   typedef boost::shared_ptr< ::vision_srvs::cop_callResponse_<ContainerAllocator>  const> ConstPtr;
00106   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00107 }; // struct cop_callResponse
00108 typedef  ::vision_srvs::cop_callResponse_<std::allocator<void> > cop_callResponse;
00109 
00110 typedef boost::shared_ptr< ::vision_srvs::cop_callResponse> cop_callResponsePtr;
00111 typedef boost::shared_ptr< ::vision_srvs::cop_callResponse const> cop_callResponseConstPtr;
00112 
00113 struct cop_call
00114 {
00115 
00116 typedef cop_callRequest Request;
00117 typedef cop_callResponse Response;
00118 Request request;
00119 Response response;
00120 
00121 typedef Request RequestType;
00122 typedef Response ResponseType;
00123 }; // struct cop_call
00124 } // namespace vision_srvs
00125 
00126 namespace ros
00127 {
00128 namespace message_traits
00129 {
00130 template<class ContainerAllocator> struct IsMessage< ::vision_srvs::cop_callRequest_<ContainerAllocator> > : public TrueType {};
00131 template<class ContainerAllocator> struct IsMessage< ::vision_srvs::cop_callRequest_<ContainerAllocator>  const> : public TrueType {};
00132 template<class ContainerAllocator>
00133 struct MD5Sum< ::vision_srvs::cop_callRequest_<ContainerAllocator> > {
00134   static const char* value() 
00135   {
00136     return "8159879f6a0c16d501638a9c44ad2860";
00137   }
00138 
00139   static const char* value(const  ::vision_srvs::cop_callRequest_<ContainerAllocator> &) { return value(); } 
00140   static const uint64_t static_value1 = 0x8159879f6a0c16d5ULL;
00141   static const uint64_t static_value2 = 0x01638a9c44ad2860ULL;
00142 };
00143 
00144 template<class ContainerAllocator>
00145 struct DataType< ::vision_srvs::cop_callRequest_<ContainerAllocator> > {
00146   static const char* value() 
00147   {
00148     return "vision_srvs/cop_callRequest";
00149   }
00150 
00151   static const char* value(const  ::vision_srvs::cop_callRequest_<ContainerAllocator> &) { return value(); } 
00152 };
00153 
00154 template<class ContainerAllocator>
00155 struct Definition< ::vision_srvs::cop_callRequest_<ContainerAllocator> > {
00156   static const char* value() 
00157   {
00158     return "\n\
00159 \n\
00160 uint64 LOCATE = 0\n\
00161 uint64 TRACK  = 16\n\
00162 uint64 REFINE  = 256\n\
00163 uint64 STOPTRACK = 2048\n\
00164 uint64 STARTATTENT = 4096\n\
00165 uint64 STOPATTENT = 8192\n\
00166 uint64 LOOKUP = 25600\n\
00167 uint64 LOOKUPALL = 25601\n\
00168 \n\
00169 string outputtopic\n\
00170 string[] object_classes\n\
00171 uint64[] object_ids\n\
00172 uint64 action_type\n\
00173 uint64 number_of_objects\n\
00174 vision_msgs/apriori_position[] list_of_poses\n\
00175 \n\
00176 ================================================================================\n\
00177 MSG: vision_msgs/apriori_position\n\
00178 #Tuple for cop call\n\
00179 float64 probability # apriori probability of the position\n\
00180 uint64 positionId  # lo id of an position\n\
00181 \n\
00182 ";
00183   }
00184 
00185   static const char* value(const  ::vision_srvs::cop_callRequest_<ContainerAllocator> &) { return value(); } 
00186 };
00187 
00188 } // namespace message_traits
00189 } // namespace ros
00190 
00191 
00192 namespace ros
00193 {
00194 namespace message_traits
00195 {
00196 template<class ContainerAllocator> struct IsMessage< ::vision_srvs::cop_callResponse_<ContainerAllocator> > : public TrueType {};
00197 template<class ContainerAllocator> struct IsMessage< ::vision_srvs::cop_callResponse_<ContainerAllocator>  const> : public TrueType {};
00198 template<class ContainerAllocator>
00199 struct MD5Sum< ::vision_srvs::cop_callResponse_<ContainerAllocator> > {
00200   static const char* value() 
00201   {
00202     return "44338ff3890880904a6cc02046a2df09";
00203   }
00204 
00205   static const char* value(const  ::vision_srvs::cop_callResponse_<ContainerAllocator> &) { return value(); } 
00206   static const uint64_t static_value1 = 0x44338ff389088090ULL;
00207   static const uint64_t static_value2 = 0x4a6cc02046a2df09ULL;
00208 };
00209 
00210 template<class ContainerAllocator>
00211 struct DataType< ::vision_srvs::cop_callResponse_<ContainerAllocator> > {
00212   static const char* value() 
00213   {
00214     return "vision_srvs/cop_callResponse";
00215   }
00216 
00217   static const char* value(const  ::vision_srvs::cop_callResponse_<ContainerAllocator> &) { return value(); } 
00218 };
00219 
00220 template<class ContainerAllocator>
00221 struct Definition< ::vision_srvs::cop_callResponse_<ContainerAllocator> > {
00222   static const char* value() 
00223   {
00224     return "uint64 perception_primitive\n\
00225 \n\
00226 ";
00227   }
00228 
00229   static const char* value(const  ::vision_srvs::cop_callResponse_<ContainerAllocator> &) { return value(); } 
00230 };
00231 
00232 template<class ContainerAllocator> struct IsFixedSize< ::vision_srvs::cop_callResponse_<ContainerAllocator> > : public TrueType {};
00233 } // namespace message_traits
00234 } // namespace ros
00235 
00236 namespace ros
00237 {
00238 namespace serialization
00239 {
00240 
00241 template<class ContainerAllocator> struct Serializer< ::vision_srvs::cop_callRequest_<ContainerAllocator> >
00242 {
00243   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00244   {
00245     stream.next(m.outputtopic);
00246     stream.next(m.object_classes);
00247     stream.next(m.object_ids);
00248     stream.next(m.action_type);
00249     stream.next(m.number_of_objects);
00250     stream.next(m.list_of_poses);
00251   }
00252 
00253   ROS_DECLARE_ALLINONE_SERIALIZER;
00254 }; // struct cop_callRequest_
00255 } // namespace serialization
00256 } // namespace ros
00257 
00258 
00259 namespace ros
00260 {
00261 namespace serialization
00262 {
00263 
00264 template<class ContainerAllocator> struct Serializer< ::vision_srvs::cop_callResponse_<ContainerAllocator> >
00265 {
00266   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00267   {
00268     stream.next(m.perception_primitive);
00269   }
00270 
00271   ROS_DECLARE_ALLINONE_SERIALIZER;
00272 }; // struct cop_callResponse_
00273 } // namespace serialization
00274 } // namespace ros
00275 
00276 namespace ros
00277 {
00278 namespace service_traits
00279 {
00280 template<>
00281 struct MD5Sum<vision_srvs::cop_call> {
00282   static const char* value() 
00283   {
00284     return "df853a883b53431ef52c184e4ff2b0b3";
00285   }
00286 
00287   static const char* value(const vision_srvs::cop_call&) { return value(); } 
00288 };
00289 
00290 template<>
00291 struct DataType<vision_srvs::cop_call> {
00292   static const char* value() 
00293   {
00294     return "vision_srvs/cop_call";
00295   }
00296 
00297   static const char* value(const vision_srvs::cop_call&) { return value(); } 
00298 };
00299 
00300 template<class ContainerAllocator>
00301 struct MD5Sum<vision_srvs::cop_callRequest_<ContainerAllocator> > {
00302   static const char* value() 
00303   {
00304     return "df853a883b53431ef52c184e4ff2b0b3";
00305   }
00306 
00307   static const char* value(const vision_srvs::cop_callRequest_<ContainerAllocator> &) { return value(); } 
00308 };
00309 
00310 template<class ContainerAllocator>
00311 struct DataType<vision_srvs::cop_callRequest_<ContainerAllocator> > {
00312   static const char* value() 
00313   {
00314     return "vision_srvs/cop_call";
00315   }
00316 
00317   static const char* value(const vision_srvs::cop_callRequest_<ContainerAllocator> &) { return value(); } 
00318 };
00319 
00320 template<class ContainerAllocator>
00321 struct MD5Sum<vision_srvs::cop_callResponse_<ContainerAllocator> > {
00322   static const char* value() 
00323   {
00324     return "df853a883b53431ef52c184e4ff2b0b3";
00325   }
00326 
00327   static const char* value(const vision_srvs::cop_callResponse_<ContainerAllocator> &) { return value(); } 
00328 };
00329 
00330 template<class ContainerAllocator>
00331 struct DataType<vision_srvs::cop_callResponse_<ContainerAllocator> > {
00332   static const char* value() 
00333   {
00334     return "vision_srvs/cop_call";
00335   }
00336 
00337   static const char* value(const vision_srvs::cop_callResponse_<ContainerAllocator> &) { return value(); } 
00338 };
00339 
00340 } // namespace service_traits
00341 } // namespace ros
00342 
00343 #endif // VISION_SRVS_SERVICE_COP_CALL_H
00344 


vision_srvs
Author(s): Ulrich F Klank
autogenerated on Thu Jan 2 2014 11:22:38