SetObjectState.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-hector_worldmodel/doc_stacks/2014-10-06_00-33-41.120387/hector_worldmodel/hector_worldmodel_msgs/srv/SetObjectState.srv */
00002 #ifndef HECTOR_WORLDMODEL_MSGS_SERVICE_SETOBJECTSTATE_H
00003 #define HECTOR_WORLDMODEL_MSGS_SERVICE_SETOBJECTSTATE_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 "hector_worldmodel_msgs/ObjectState.h"
00020 
00021 
00022 
00023 namespace hector_worldmodel_msgs
00024 {
00025 template <class ContainerAllocator>
00026 struct SetObjectStateRequest_ {
00027   typedef SetObjectStateRequest_<ContainerAllocator> Type;
00028 
00029   SetObjectStateRequest_()
00030   : object_id()
00031   , new_state()
00032   {
00033   }
00034 
00035   SetObjectStateRequest_(const ContainerAllocator& _alloc)
00036   : object_id(_alloc)
00037   , new_state(_alloc)
00038   {
00039   }
00040 
00041   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _object_id_type;
00042   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  object_id;
00043 
00044   typedef  ::hector_worldmodel_msgs::ObjectState_<ContainerAllocator>  _new_state_type;
00045    ::hector_worldmodel_msgs::ObjectState_<ContainerAllocator>  new_state;
00046 
00047 
00048   typedef boost::shared_ptr< ::hector_worldmodel_msgs::SetObjectStateRequest_<ContainerAllocator> > Ptr;
00049   typedef boost::shared_ptr< ::hector_worldmodel_msgs::SetObjectStateRequest_<ContainerAllocator>  const> ConstPtr;
00050   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 }; // struct SetObjectStateRequest
00052 typedef  ::hector_worldmodel_msgs::SetObjectStateRequest_<std::allocator<void> > SetObjectStateRequest;
00053 
00054 typedef boost::shared_ptr< ::hector_worldmodel_msgs::SetObjectStateRequest> SetObjectStateRequestPtr;
00055 typedef boost::shared_ptr< ::hector_worldmodel_msgs::SetObjectStateRequest const> SetObjectStateRequestConstPtr;
00056 
00057 
00058 
00059 template <class ContainerAllocator>
00060 struct SetObjectStateResponse_ {
00061   typedef SetObjectStateResponse_<ContainerAllocator> Type;
00062 
00063   SetObjectStateResponse_()
00064   {
00065   }
00066 
00067   SetObjectStateResponse_(const ContainerAllocator& _alloc)
00068   {
00069   }
00070 
00071 
00072   typedef boost::shared_ptr< ::hector_worldmodel_msgs::SetObjectStateResponse_<ContainerAllocator> > Ptr;
00073   typedef boost::shared_ptr< ::hector_worldmodel_msgs::SetObjectStateResponse_<ContainerAllocator>  const> ConstPtr;
00074   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00075 }; // struct SetObjectStateResponse
00076 typedef  ::hector_worldmodel_msgs::SetObjectStateResponse_<std::allocator<void> > SetObjectStateResponse;
00077 
00078 typedef boost::shared_ptr< ::hector_worldmodel_msgs::SetObjectStateResponse> SetObjectStateResponsePtr;
00079 typedef boost::shared_ptr< ::hector_worldmodel_msgs::SetObjectStateResponse const> SetObjectStateResponseConstPtr;
00080 
00081 
00082 struct SetObjectState
00083 {
00084 
00085 typedef SetObjectStateRequest Request;
00086 typedef SetObjectStateResponse Response;
00087 Request request;
00088 Response response;
00089 
00090 typedef Request RequestType;
00091 typedef Response ResponseType;
00092 }; // struct SetObjectState
00093 } // namespace hector_worldmodel_msgs
00094 
00095 namespace ros
00096 {
00097 namespace message_traits
00098 {
00099 template<class ContainerAllocator> struct IsMessage< ::hector_worldmodel_msgs::SetObjectStateRequest_<ContainerAllocator> > : public TrueType {};
00100 template<class ContainerAllocator> struct IsMessage< ::hector_worldmodel_msgs::SetObjectStateRequest_<ContainerAllocator>  const> : public TrueType {};
00101 template<class ContainerAllocator>
00102 struct MD5Sum< ::hector_worldmodel_msgs::SetObjectStateRequest_<ContainerAllocator> > {
00103   static const char* value() 
00104   {
00105     return "f1ca4bb9d91ddc88e48d16dceb6ab0e5";
00106   }
00107 
00108   static const char* value(const  ::hector_worldmodel_msgs::SetObjectStateRequest_<ContainerAllocator> &) { return value(); } 
00109   static const uint64_t static_value1 = 0xf1ca4bb9d91ddc88ULL;
00110   static const uint64_t static_value2 = 0xe48d16dceb6ab0e5ULL;
00111 };
00112 
00113 template<class ContainerAllocator>
00114 struct DataType< ::hector_worldmodel_msgs::SetObjectStateRequest_<ContainerAllocator> > {
00115   static const char* value() 
00116   {
00117     return "hector_worldmodel_msgs/SetObjectStateRequest";
00118   }
00119 
00120   static const char* value(const  ::hector_worldmodel_msgs::SetObjectStateRequest_<ContainerAllocator> &) { return value(); } 
00121 };
00122 
00123 template<class ContainerAllocator>
00124 struct Definition< ::hector_worldmodel_msgs::SetObjectStateRequest_<ContainerAllocator> > {
00125   static const char* value() 
00126   {
00127     return "\n\
00128 \n\
00129 string object_id\n\
00130 ObjectState new_state\n\
00131 \n\
00132 ================================================================================\n\
00133 MSG: hector_worldmodel_msgs/ObjectState\n\
00134 # The state of an object estimate used to track\n\
00135 # states smaller than 0 disable all updates\n\
00136 \n\
00137 # Predefined states. Use states smaller than 0 or bigger than 63 for user defined states.\n\
00138 int8 UNKNOWN = 0\n\
00139 int8 PENDING = 1\n\
00140 int8 ACTIVE  = 2\n\
00141 int8 INACTIVE = 3\n\
00142 int8 CONFIRMED = -1\n\
00143 int8 DISCARDED = -2\n\
00144 int8 APPROACHING = -3\n\
00145 \n\
00146 int8 state\n\
00147 \n\
00148 ";
00149   }
00150 
00151   static const char* value(const  ::hector_worldmodel_msgs::SetObjectStateRequest_<ContainerAllocator> &) { return value(); } 
00152 };
00153 
00154 } // namespace message_traits
00155 } // namespace ros
00156 
00157 
00158 namespace ros
00159 {
00160 namespace message_traits
00161 {
00162 template<class ContainerAllocator> struct IsMessage< ::hector_worldmodel_msgs::SetObjectStateResponse_<ContainerAllocator> > : public TrueType {};
00163 template<class ContainerAllocator> struct IsMessage< ::hector_worldmodel_msgs::SetObjectStateResponse_<ContainerAllocator>  const> : public TrueType {};
00164 template<class ContainerAllocator>
00165 struct MD5Sum< ::hector_worldmodel_msgs::SetObjectStateResponse_<ContainerAllocator> > {
00166   static const char* value() 
00167   {
00168     return "d41d8cd98f00b204e9800998ecf8427e";
00169   }
00170 
00171   static const char* value(const  ::hector_worldmodel_msgs::SetObjectStateResponse_<ContainerAllocator> &) { return value(); } 
00172   static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00173   static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00174 };
00175 
00176 template<class ContainerAllocator>
00177 struct DataType< ::hector_worldmodel_msgs::SetObjectStateResponse_<ContainerAllocator> > {
00178   static const char* value() 
00179   {
00180     return "hector_worldmodel_msgs/SetObjectStateResponse";
00181   }
00182 
00183   static const char* value(const  ::hector_worldmodel_msgs::SetObjectStateResponse_<ContainerAllocator> &) { return value(); } 
00184 };
00185 
00186 template<class ContainerAllocator>
00187 struct Definition< ::hector_worldmodel_msgs::SetObjectStateResponse_<ContainerAllocator> > {
00188   static const char* value() 
00189   {
00190     return "\n\
00191 \n\
00192 ";
00193   }
00194 
00195   static const char* value(const  ::hector_worldmodel_msgs::SetObjectStateResponse_<ContainerAllocator> &) { return value(); } 
00196 };
00197 
00198 template<class ContainerAllocator> struct IsFixedSize< ::hector_worldmodel_msgs::SetObjectStateResponse_<ContainerAllocator> > : public TrueType {};
00199 } // namespace message_traits
00200 } // namespace ros
00201 
00202 namespace ros
00203 {
00204 namespace serialization
00205 {
00206 
00207 template<class ContainerAllocator> struct Serializer< ::hector_worldmodel_msgs::SetObjectStateRequest_<ContainerAllocator> >
00208 {
00209   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00210   {
00211     stream.next(m.object_id);
00212     stream.next(m.new_state);
00213   }
00214 
00215   ROS_DECLARE_ALLINONE_SERIALIZER;
00216 }; // struct SetObjectStateRequest_
00217 } // namespace serialization
00218 } // namespace ros
00219 
00220 
00221 namespace ros
00222 {
00223 namespace serialization
00224 {
00225 
00226 template<class ContainerAllocator> struct Serializer< ::hector_worldmodel_msgs::SetObjectStateResponse_<ContainerAllocator> >
00227 {
00228   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00229   {
00230   }
00231 
00232   ROS_DECLARE_ALLINONE_SERIALIZER;
00233 }; // struct SetObjectStateResponse_
00234 } // namespace serialization
00235 } // namespace ros
00236 
00237 namespace ros
00238 {
00239 namespace service_traits
00240 {
00241 template<>
00242 struct MD5Sum<hector_worldmodel_msgs::SetObjectState> {
00243   static const char* value() 
00244   {
00245     return "f1ca4bb9d91ddc88e48d16dceb6ab0e5";
00246   }
00247 
00248   static const char* value(const hector_worldmodel_msgs::SetObjectState&) { return value(); } 
00249 };
00250 
00251 template<>
00252 struct DataType<hector_worldmodel_msgs::SetObjectState> {
00253   static const char* value() 
00254   {
00255     return "hector_worldmodel_msgs/SetObjectState";
00256   }
00257 
00258   static const char* value(const hector_worldmodel_msgs::SetObjectState&) { return value(); } 
00259 };
00260 
00261 template<class ContainerAllocator>
00262 struct MD5Sum<hector_worldmodel_msgs::SetObjectStateRequest_<ContainerAllocator> > {
00263   static const char* value() 
00264   {
00265     return "f1ca4bb9d91ddc88e48d16dceb6ab0e5";
00266   }
00267 
00268   static const char* value(const hector_worldmodel_msgs::SetObjectStateRequest_<ContainerAllocator> &) { return value(); } 
00269 };
00270 
00271 template<class ContainerAllocator>
00272 struct DataType<hector_worldmodel_msgs::SetObjectStateRequest_<ContainerAllocator> > {
00273   static const char* value() 
00274   {
00275     return "hector_worldmodel_msgs/SetObjectState";
00276   }
00277 
00278   static const char* value(const hector_worldmodel_msgs::SetObjectStateRequest_<ContainerAllocator> &) { return value(); } 
00279 };
00280 
00281 template<class ContainerAllocator>
00282 struct MD5Sum<hector_worldmodel_msgs::SetObjectStateResponse_<ContainerAllocator> > {
00283   static const char* value() 
00284   {
00285     return "f1ca4bb9d91ddc88e48d16dceb6ab0e5";
00286   }
00287 
00288   static const char* value(const hector_worldmodel_msgs::SetObjectStateResponse_<ContainerAllocator> &) { return value(); } 
00289 };
00290 
00291 template<class ContainerAllocator>
00292 struct DataType<hector_worldmodel_msgs::SetObjectStateResponse_<ContainerAllocator> > {
00293   static const char* value() 
00294   {
00295     return "hector_worldmodel_msgs/SetObjectState";
00296   }
00297 
00298   static const char* value(const hector_worldmodel_msgs::SetObjectStateResponse_<ContainerAllocator> &) { return value(); } 
00299 };
00300 
00301 } // namespace service_traits
00302 } // namespace ros
00303 
00304 #endif // HECTOR_WORLDMODEL_MSGS_SERVICE_SETOBJECTSTATE_H
00305 


hector_worldmodel_msgs
Author(s): Johannes Meyer
autogenerated on Mon Oct 6 2014 00:36:27