Project: engagement_srvs License: BSD Dependencies:
Used by: |
engagement_srvs/srv_gen/cpp/include/engagement_srvs/RobotMutualFacialGaze.hGo to the documentation of this file.00001 /* Auto-generated by genmsg_cpp for file /home/mel/workspace/ros_stacks/engagement/engagement_srvs/srv/RobotMutualFacialGaze.srv */ 00002 #ifndef ENGAGEMENT_SRVS_SERVICE_ROBOTMUTUALFACIALGAZE_H 00003 #define ENGAGEMENT_SRVS_SERVICE_ROBOTMUTUALFACIALGAZE_H 00004 #include <string> 00005 #include <vector> 00006 #include <ostream> 00007 #include "ros/serialization.h" 00008 #include "ros/builtin_message_traits.h" 00009 #include "ros/message_operations.h" 00010 #include "ros/message.h" 00011 #include "ros/time.h" 00012 00013 #include "ros/service_traits.h" 00014 00015 #include "engagement_msgs/ActorID.h" 00016 00017 00018 #include "bml_msgs/Flag.h" 00019 00020 namespace engagement_srvs 00021 { 00022 template <class ContainerAllocator> 00023 struct RobotMutualFacialGazeRequest_ : public ros::Message 00024 { 00025 typedef RobotMutualFacialGazeRequest_<ContainerAllocator> Type; 00026 00027 RobotMutualFacialGazeRequest_() 00028 : actor() 00029 { 00030 } 00031 00032 RobotMutualFacialGazeRequest_(const ContainerAllocator& _alloc) 00033 : actor(_alloc) 00034 { 00035 } 00036 00037 typedef ::engagement_msgs::ActorID_<ContainerAllocator> _actor_type; 00038 ::engagement_msgs::ActorID_<ContainerAllocator> actor; 00039 00040 00041 private: 00042 static const char* __s_getDataType_() { return "engagement_srvs/RobotMutualFacialGazeRequest"; } 00043 public: 00044 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00045 00046 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00047 00048 private: 00049 static const char* __s_getMD5Sum_() { return "b4e383113a12f607c76653c5e3d26ce7"; } 00050 public: 00051 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00052 00053 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00054 00055 private: 00056 static const char* __s_getServerMD5Sum_() { return "5a075e0b28412d0fdcd147745539d9d6"; } 00057 public: 00058 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00059 00060 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00061 00062 private: 00063 static const char* __s_getMessageDefinition_() { return "\n\ 00064 engagement_msgs/ActorID actor\n\ 00065 \n\ 00066 ================================================================================\n\ 00067 MSG: engagement_msgs/ActorID\n\ 00068 # Unique string identifier for the actor\n\ 00069 string id\n\ 00070 \n\ 00071 # Constant to identify the Robot as the actor\n\ 00072 string ROBOT=ROBOT\n\ 00073 "; } 00074 public: 00075 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00076 00077 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00078 00079 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00080 { 00081 ros::serialization::OStream stream(write_ptr, 1000000000); 00082 ros::serialization::serialize(stream, actor); 00083 return stream.getData(); 00084 } 00085 00086 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00087 { 00088 ros::serialization::IStream stream(read_ptr, 1000000000); 00089 ros::serialization::deserialize(stream, actor); 00090 return stream.getData(); 00091 } 00092 00093 ROS_DEPRECATED virtual uint32_t serializationLength() const 00094 { 00095 uint32_t size = 0; 00096 size += ros::serialization::serializationLength(actor); 00097 return size; 00098 } 00099 00100 typedef boost::shared_ptr< ::engagement_srvs::RobotMutualFacialGazeRequest_<ContainerAllocator> > Ptr; 00101 typedef boost::shared_ptr< ::engagement_srvs::RobotMutualFacialGazeRequest_<ContainerAllocator> const> ConstPtr; 00102 }; // struct RobotMutualFacialGazeRequest 00103 typedef ::engagement_srvs::RobotMutualFacialGazeRequest_<std::allocator<void> > RobotMutualFacialGazeRequest; 00104 00105 typedef boost::shared_ptr< ::engagement_srvs::RobotMutualFacialGazeRequest> RobotMutualFacialGazeRequestPtr; 00106 typedef boost::shared_ptr< ::engagement_srvs::RobotMutualFacialGazeRequest const> RobotMutualFacialGazeRequestConstPtr; 00107 00108 00109 template <class ContainerAllocator> 00110 struct RobotMutualFacialGazeResponse_ : public ros::Message 00111 { 00112 typedef RobotMutualFacialGazeResponse_<ContainerAllocator> Type; 00113 00114 RobotMutualFacialGazeResponse_() 00115 : result() 00116 { 00117 } 00118 00119 RobotMutualFacialGazeResponse_(const ContainerAllocator& _alloc) 00120 : result(_alloc) 00121 { 00122 } 00123 00124 typedef ::bml_msgs::Flag_<ContainerAllocator> _result_type; 00125 ::bml_msgs::Flag_<ContainerAllocator> result; 00126 00127 00128 private: 00129 static const char* __s_getDataType_() { return "engagement_srvs/RobotMutualFacialGazeResponse"; } 00130 public: 00131 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00132 00133 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00134 00135 private: 00136 static const char* __s_getMD5Sum_() { return "5116f0488e7c1f6fcb4e31d94a2b9cfb"; } 00137 public: 00138 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00139 00140 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00141 00142 private: 00143 static const char* __s_getServerMD5Sum_() { return "5a075e0b28412d0fdcd147745539d9d6"; } 00144 public: 00145 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00146 00147 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00148 00149 private: 00150 static const char* __s_getMessageDefinition_() { return "\n\ 00151 bml_msgs/Flag result\n\ 00152 \n\ 00153 ================================================================================\n\ 00154 MSG: bml_msgs/Flag\n\ 00155 # A flag which determines between TRUE and FALSE\n\ 00156 int8 value\n\ 00157 \n\ 00158 # Constant for an invalid value\n\ 00159 int8 INVALID=-1\n\ 00160 \n\ 00161 # Constants which define the values for true\n\ 00162 int8 TRUE=1\n\ 00163 int8 START=1\n\ 00164 int8 BEGIN=1\n\ 00165 int8 SUCCESS=1\n\ 00166 int8 DONE=1\n\ 00167 \n\ 00168 # Constants which define the values for false\n\ 00169 int8 FALSE=0\n\ 00170 int8 STOP=0\n\ 00171 int8 END=0\n\ 00172 int8 FAILURE=0\n\ 00173 int8 NOT_DONE=0\n\ 00174 \n\ 00175 # Constants for response types\n\ 00176 int8 OPTIONAL_RESPONSE=0\n\ 00177 int8 IS_A_RESPONSE=1\n\ 00178 int8 REQUIRES_RESPONSE=2\n\ 00179 int8 BACKCHANNEL=3\n\ 00180 \n\ 00181 # Constants which define the values for the side to use\n\ 00182 int8 NEITHER=0\n\ 00183 int8 LEFT=1\n\ 00184 int8 RIGHT=2\n\ 00185 int8 EITHER=3\n\ 00186 \n\ 00187 "; } 00188 public: 00189 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00190 00191 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00192 00193 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00194 { 00195 ros::serialization::OStream stream(write_ptr, 1000000000); 00196 ros::serialization::serialize(stream, result); 00197 return stream.getData(); 00198 } 00199 00200 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00201 { 00202 ros::serialization::IStream stream(read_ptr, 1000000000); 00203 ros::serialization::deserialize(stream, result); 00204 return stream.getData(); 00205 } 00206 00207 ROS_DEPRECATED virtual uint32_t serializationLength() const 00208 { 00209 uint32_t size = 0; 00210 size += ros::serialization::serializationLength(result); 00211 return size; 00212 } 00213 00214 typedef boost::shared_ptr< ::engagement_srvs::RobotMutualFacialGazeResponse_<ContainerAllocator> > Ptr; 00215 typedef boost::shared_ptr< ::engagement_srvs::RobotMutualFacialGazeResponse_<ContainerAllocator> const> ConstPtr; 00216 }; // struct RobotMutualFacialGazeResponse 00217 typedef ::engagement_srvs::RobotMutualFacialGazeResponse_<std::allocator<void> > RobotMutualFacialGazeResponse; 00218 00219 typedef boost::shared_ptr< ::engagement_srvs::RobotMutualFacialGazeResponse> RobotMutualFacialGazeResponsePtr; 00220 typedef boost::shared_ptr< ::engagement_srvs::RobotMutualFacialGazeResponse const> RobotMutualFacialGazeResponseConstPtr; 00221 00222 struct RobotMutualFacialGaze 00223 { 00224 00225 typedef RobotMutualFacialGazeRequest Request; 00226 typedef RobotMutualFacialGazeResponse Response; 00227 Request request; 00228 Response response; 00229 00230 typedef Request RequestType; 00231 typedef Response ResponseType; 00232 }; // struct RobotMutualFacialGaze 00233 } // namespace engagement_srvs 00234 00235 namespace ros 00236 { 00237 namespace message_traits 00238 { 00239 template<class ContainerAllocator> 00240 struct MD5Sum< ::engagement_srvs::RobotMutualFacialGazeRequest_<ContainerAllocator> > { 00241 static const char* value() 00242 { 00243 return "b4e383113a12f607c76653c5e3d26ce7"; 00244 } 00245 00246 static const char* value(const ::engagement_srvs::RobotMutualFacialGazeRequest_<ContainerAllocator> &) { return value(); } 00247 static const uint64_t static_value1 = 0xb4e383113a12f607ULL; 00248 static const uint64_t static_value2 = 0xc76653c5e3d26ce7ULL; 00249 }; 00250 00251 template<class ContainerAllocator> 00252 struct DataType< ::engagement_srvs::RobotMutualFacialGazeRequest_<ContainerAllocator> > { 00253 static const char* value() 00254 { 00255 return "engagement_srvs/RobotMutualFacialGazeRequest"; 00256 } 00257 00258 static const char* value(const ::engagement_srvs::RobotMutualFacialGazeRequest_<ContainerAllocator> &) { return value(); } 00259 }; 00260 00261 template<class ContainerAllocator> 00262 struct Definition< ::engagement_srvs::RobotMutualFacialGazeRequest_<ContainerAllocator> > { 00263 static const char* value() 00264 { 00265 return "\n\ 00266 engagement_msgs/ActorID actor\n\ 00267 \n\ 00268 ================================================================================\n\ 00269 MSG: engagement_msgs/ActorID\n\ 00270 # Unique string identifier for the actor\n\ 00271 string id\n\ 00272 \n\ 00273 # Constant to identify the Robot as the actor\n\ 00274 string ROBOT=ROBOT\n\ 00275 "; 00276 } 00277 00278 static const char* value(const ::engagement_srvs::RobotMutualFacialGazeRequest_<ContainerAllocator> &) { return value(); } 00279 }; 00280 00281 } // namespace message_traits 00282 } // namespace ros 00283 00284 00285 namespace ros 00286 { 00287 namespace message_traits 00288 { 00289 template<class ContainerAllocator> 00290 struct MD5Sum< ::engagement_srvs::RobotMutualFacialGazeResponse_<ContainerAllocator> > { 00291 static const char* value() 00292 { 00293 return "5116f0488e7c1f6fcb4e31d94a2b9cfb"; 00294 } 00295 00296 static const char* value(const ::engagement_srvs::RobotMutualFacialGazeResponse_<ContainerAllocator> &) { return value(); } 00297 static const uint64_t static_value1 = 0x5116f0488e7c1f6fULL; 00298 static const uint64_t static_value2 = 0xcb4e31d94a2b9cfbULL; 00299 }; 00300 00301 template<class ContainerAllocator> 00302 struct DataType< ::engagement_srvs::RobotMutualFacialGazeResponse_<ContainerAllocator> > { 00303 static const char* value() 00304 { 00305 return "engagement_srvs/RobotMutualFacialGazeResponse"; 00306 } 00307 00308 static const char* value(const ::engagement_srvs::RobotMutualFacialGazeResponse_<ContainerAllocator> &) { return value(); } 00309 }; 00310 00311 template<class ContainerAllocator> 00312 struct Definition< ::engagement_srvs::RobotMutualFacialGazeResponse_<ContainerAllocator> > { 00313 static const char* value() 00314 { 00315 return "\n\ 00316 bml_msgs/Flag result\n\ 00317 \n\ 00318 ================================================================================\n\ 00319 MSG: bml_msgs/Flag\n\ 00320 # A flag which determines between TRUE and FALSE\n\ 00321 int8 value\n\ 00322 \n\ 00323 # Constant for an invalid value\n\ 00324 int8 INVALID=-1\n\ 00325 \n\ 00326 # Constants which define the values for true\n\ 00327 int8 TRUE=1\n\ 00328 int8 START=1\n\ 00329 int8 BEGIN=1\n\ 00330 int8 SUCCESS=1\n\ 00331 int8 DONE=1\n\ 00332 \n\ 00333 # Constants which define the values for false\n\ 00334 int8 FALSE=0\n\ 00335 int8 STOP=0\n\ 00336 int8 END=0\n\ 00337 int8 FAILURE=0\n\ 00338 int8 NOT_DONE=0\n\ 00339 \n\ 00340 # Constants for response types\n\ 00341 int8 OPTIONAL_RESPONSE=0\n\ 00342 int8 IS_A_RESPONSE=1\n\ 00343 int8 REQUIRES_RESPONSE=2\n\ 00344 int8 BACKCHANNEL=3\n\ 00345 \n\ 00346 # Constants which define the values for the side to use\n\ 00347 int8 NEITHER=0\n\ 00348 int8 LEFT=1\n\ 00349 int8 RIGHT=2\n\ 00350 int8 EITHER=3\n\ 00351 \n\ 00352 "; 00353 } 00354 00355 static const char* value(const ::engagement_srvs::RobotMutualFacialGazeResponse_<ContainerAllocator> &) { return value(); } 00356 }; 00357 00358 template<class ContainerAllocator> struct IsFixedSize< ::engagement_srvs::RobotMutualFacialGazeResponse_<ContainerAllocator> > : public TrueType {}; 00359 } // namespace message_traits 00360 } // namespace ros 00361 00362 namespace ros 00363 { 00364 namespace serialization 00365 { 00366 00367 template<class ContainerAllocator> struct Serializer< ::engagement_srvs::RobotMutualFacialGazeRequest_<ContainerAllocator> > 00368 { 00369 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00370 { 00371 stream.next(m.actor); 00372 } 00373 00374 ROS_DECLARE_ALLINONE_SERIALIZER; 00375 }; // struct RobotMutualFacialGazeRequest_ 00376 } // namespace serialization 00377 } // namespace ros 00378 00379 00380 namespace ros 00381 { 00382 namespace serialization 00383 { 00384 00385 template<class ContainerAllocator> struct Serializer< ::engagement_srvs::RobotMutualFacialGazeResponse_<ContainerAllocator> > 00386 { 00387 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00388 { 00389 stream.next(m.result); 00390 } 00391 00392 ROS_DECLARE_ALLINONE_SERIALIZER; 00393 }; // struct RobotMutualFacialGazeResponse_ 00394 } // namespace serialization 00395 } // namespace ros 00396 00397 namespace ros 00398 { 00399 namespace service_traits 00400 { 00401 template<> 00402 struct MD5Sum<engagement_srvs::RobotMutualFacialGaze> { 00403 static const char* value() 00404 { 00405 return "5a075e0b28412d0fdcd147745539d9d6"; 00406 } 00407 00408 static const char* value(const engagement_srvs::RobotMutualFacialGaze&) { return value(); } 00409 }; 00410 00411 template<> 00412 struct DataType<engagement_srvs::RobotMutualFacialGaze> { 00413 static const char* value() 00414 { 00415 return "engagement_srvs/RobotMutualFacialGaze"; 00416 } 00417 00418 static const char* value(const engagement_srvs::RobotMutualFacialGaze&) { return value(); } 00419 }; 00420 00421 template<class ContainerAllocator> 00422 struct MD5Sum<engagement_srvs::RobotMutualFacialGazeRequest_<ContainerAllocator> > { 00423 static const char* value() 00424 { 00425 return "5a075e0b28412d0fdcd147745539d9d6"; 00426 } 00427 00428 static const char* value(const engagement_srvs::RobotMutualFacialGazeRequest_<ContainerAllocator> &) { return value(); } 00429 }; 00430 00431 template<class ContainerAllocator> 00432 struct DataType<engagement_srvs::RobotMutualFacialGazeRequest_<ContainerAllocator> > { 00433 static const char* value() 00434 { 00435 return "engagement_srvs/RobotMutualFacialGaze"; 00436 } 00437 00438 static const char* value(const engagement_srvs::RobotMutualFacialGazeRequest_<ContainerAllocator> &) { return value(); } 00439 }; 00440 00441 template<class ContainerAllocator> 00442 struct MD5Sum<engagement_srvs::RobotMutualFacialGazeResponse_<ContainerAllocator> > { 00443 static const char* value() 00444 { 00445 return "5a075e0b28412d0fdcd147745539d9d6"; 00446 } 00447 00448 static const char* value(const engagement_srvs::RobotMutualFacialGazeResponse_<ContainerAllocator> &) { return value(); } 00449 }; 00450 00451 template<class ContainerAllocator> 00452 struct DataType<engagement_srvs::RobotMutualFacialGazeResponse_<ContainerAllocator> > { 00453 static const char* value() 00454 { 00455 return "engagement_srvs/RobotMutualFacialGaze"; 00456 } 00457 00458 static const char* value(const engagement_srvs::RobotMutualFacialGazeResponse_<ContainerAllocator> &) { return value(); } 00459 }; 00460 00461 } // namespace service_traits 00462 } // namespace ros 00463 00464 #endif // ENGAGEMENT_SRVS_SERVICE_ROBOTMUTUALFACIALGAZE_H 00465 |