head_ctrl.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-rovio/doc_stacks/2013-12-28_17-37-10.301920/rovio/rovio_shared/srv/head_ctrl.srv */
00002 #ifndef ROVIO_SHARED_SERVICE_HEAD_CTRL_H
00003 #define ROVIO_SHARED_SERVICE_HEAD_CTRL_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 rovio_shared
00023 {
00024 template <class ContainerAllocator>
00025 struct head_ctrlRequest_ {
00026   typedef head_ctrlRequest_<ContainerAllocator> Type;
00027 
00028   head_ctrlRequest_()
00029   : head_pos(0)
00030   {
00031   }
00032 
00033   head_ctrlRequest_(const ContainerAllocator& _alloc)
00034   : head_pos(0)
00035   {
00036   }
00037 
00038   typedef int8_t _head_pos_type;
00039   int8_t head_pos;
00040 
00041   enum { HEAD_UP = 11 };
00042   enum { HEAD_DOWN = 12 };
00043   enum { HEAD_MIDDLE = 13 };
00044 
00045   typedef boost::shared_ptr< ::rovio_shared::head_ctrlRequest_<ContainerAllocator> > Ptr;
00046   typedef boost::shared_ptr< ::rovio_shared::head_ctrlRequest_<ContainerAllocator>  const> ConstPtr;
00047   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 }; // struct head_ctrlRequest
00049 typedef  ::rovio_shared::head_ctrlRequest_<std::allocator<void> > head_ctrlRequest;
00050 
00051 typedef boost::shared_ptr< ::rovio_shared::head_ctrlRequest> head_ctrlRequestPtr;
00052 typedef boost::shared_ptr< ::rovio_shared::head_ctrlRequest const> head_ctrlRequestConstPtr;
00053 
00054 
00055 template <class ContainerAllocator>
00056 struct head_ctrlResponse_ {
00057   typedef head_ctrlResponse_<ContainerAllocator> Type;
00058 
00059   head_ctrlResponse_()
00060   : response(0)
00061   {
00062   }
00063 
00064   head_ctrlResponse_(const ContainerAllocator& _alloc)
00065   : response(0)
00066   {
00067   }
00068 
00069   typedef int8_t _response_type;
00070   int8_t response;
00071 
00072   enum { SUCCESS = 0 };
00073   enum { FAILURE = 1 };
00074   enum { ROBOT_BUSY = 2 };
00075   enum { FEATURE_NOT_IMPLEMENTED = 3 };
00076   enum { UNKNOWN_CGI_ACTION = 4 };
00077   enum { NO_NS_SIGNAL = 5 };
00078   enum { NO_EMPTY_PATH_AVAILABLE = 6 };
00079   enum { FAILED_TO_READ_PATH = 7 };
00080   enum { PATH_BASEADDRESS_NOT_INITIALIZED = 8 };
00081   enum { PATH_NOT_FOUND = 9 };
00082   enum { PATH_NAME_NOT_SPECIFIED = 10 };
00083   enum { NOT_RECORDING_PATH = 11 };
00084   enum { FLASH_NOT_INITIALIZED = 12 };
00085   enum { FAILED_TO_DELETE_PATH = 13 };
00086   enum { FAILED_TO_READ_FROM_FLASH = 14 };
00087   enum { FAILED_TO_WRITE_TO_FLASH = 15 };
00088   enum { FLASH_NOT_READY = 16 };
00089   enum { NO_MEMORY_AVAILABLE = 17 };
00090   enum { NO_MCU_PORT_AVAILABLE = 18 };
00091   enum { NO_NS_PORT_AVAILABLE = 19 };
00092   enum { NS_PACKET_CHECKSUM_ERROR = 20 };
00093   enum { NS_UART_READ_ERROR = 21 };
00094   enum { PARAMETER_OUTOFRANGE = 22 };
00095   enum { NO_PARAMETER = 23 };
00096 
00097   typedef boost::shared_ptr< ::rovio_shared::head_ctrlResponse_<ContainerAllocator> > Ptr;
00098   typedef boost::shared_ptr< ::rovio_shared::head_ctrlResponse_<ContainerAllocator>  const> ConstPtr;
00099   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00100 }; // struct head_ctrlResponse
00101 typedef  ::rovio_shared::head_ctrlResponse_<std::allocator<void> > head_ctrlResponse;
00102 
00103 typedef boost::shared_ptr< ::rovio_shared::head_ctrlResponse> head_ctrlResponsePtr;
00104 typedef boost::shared_ptr< ::rovio_shared::head_ctrlResponse const> head_ctrlResponseConstPtr;
00105 
00106 struct head_ctrl
00107 {
00108 
00109 typedef head_ctrlRequest Request;
00110 typedef head_ctrlResponse Response;
00111 Request request;
00112 Response response;
00113 
00114 typedef Request RequestType;
00115 typedef Response ResponseType;
00116 }; // struct head_ctrl
00117 } // namespace rovio_shared
00118 
00119 namespace ros
00120 {
00121 namespace message_traits
00122 {
00123 template<class ContainerAllocator> struct IsMessage< ::rovio_shared::head_ctrlRequest_<ContainerAllocator> > : public TrueType {};
00124 template<class ContainerAllocator> struct IsMessage< ::rovio_shared::head_ctrlRequest_<ContainerAllocator>  const> : public TrueType {};
00125 template<class ContainerAllocator>
00126 struct MD5Sum< ::rovio_shared::head_ctrlRequest_<ContainerAllocator> > {
00127   static const char* value() 
00128   {
00129     return "522f8591c845ace5ac8c5c5852170802";
00130   }
00131 
00132   static const char* value(const  ::rovio_shared::head_ctrlRequest_<ContainerAllocator> &) { return value(); } 
00133   static const uint64_t static_value1 = 0x522f8591c845ace5ULL;
00134   static const uint64_t static_value2 = 0xac8c5c5852170802ULL;
00135 };
00136 
00137 template<class ContainerAllocator>
00138 struct DataType< ::rovio_shared::head_ctrlRequest_<ContainerAllocator> > {
00139   static const char* value() 
00140   {
00141     return "rovio_shared/head_ctrlRequest";
00142   }
00143 
00144   static const char* value(const  ::rovio_shared::head_ctrlRequest_<ContainerAllocator> &) { return value(); } 
00145 };
00146 
00147 template<class ContainerAllocator>
00148 struct Definition< ::rovio_shared::head_ctrlRequest_<ContainerAllocator> > {
00149   static const char* value() 
00150   {
00151     return "\n\
00152 int8 HEAD_UP=11\n\
00153 int8 HEAD_DOWN=12\n\
00154 int8 HEAD_MIDDLE=13\n\
00155 \n\
00156 int8 head_pos\n\
00157 \n\
00158 ";
00159   }
00160 
00161   static const char* value(const  ::rovio_shared::head_ctrlRequest_<ContainerAllocator> &) { return value(); } 
00162 };
00163 
00164 template<class ContainerAllocator> struct IsFixedSize< ::rovio_shared::head_ctrlRequest_<ContainerAllocator> > : public TrueType {};
00165 } // namespace message_traits
00166 } // namespace ros
00167 
00168 
00169 namespace ros
00170 {
00171 namespace message_traits
00172 {
00173 template<class ContainerAllocator> struct IsMessage< ::rovio_shared::head_ctrlResponse_<ContainerAllocator> > : public TrueType {};
00174 template<class ContainerAllocator> struct IsMessage< ::rovio_shared::head_ctrlResponse_<ContainerAllocator>  const> : public TrueType {};
00175 template<class ContainerAllocator>
00176 struct MD5Sum< ::rovio_shared::head_ctrlResponse_<ContainerAllocator> > {
00177   static const char* value() 
00178   {
00179     return "208ac5fdc497ef2f1bd168d28a2b5e05";
00180   }
00181 
00182   static const char* value(const  ::rovio_shared::head_ctrlResponse_<ContainerAllocator> &) { return value(); } 
00183   static const uint64_t static_value1 = 0x208ac5fdc497ef2fULL;
00184   static const uint64_t static_value2 = 0x1bd168d28a2b5e05ULL;
00185 };
00186 
00187 template<class ContainerAllocator>
00188 struct DataType< ::rovio_shared::head_ctrlResponse_<ContainerAllocator> > {
00189   static const char* value() 
00190   {
00191     return "rovio_shared/head_ctrlResponse";
00192   }
00193 
00194   static const char* value(const  ::rovio_shared::head_ctrlResponse_<ContainerAllocator> &) { return value(); } 
00195 };
00196 
00197 template<class ContainerAllocator>
00198 struct Definition< ::rovio_shared::head_ctrlResponse_<ContainerAllocator> > {
00199   static const char* value() 
00200   {
00201     return "\n\
00202 int8 SUCCESS=0\n\
00203 int8 FAILURE=1\n\
00204 int8 ROBOT_BUSY=2\n\
00205 int8 FEATURE_NOT_IMPLEMENTED=3\n\
00206 int8 UNKNOWN_CGI_ACTION=4\n\
00207 int8 NO_NS_SIGNAL=5\n\
00208 int8 NO_EMPTY_PATH_AVAILABLE=6\n\
00209 int8 FAILED_TO_READ_PATH=7\n\
00210 int8 PATH_BASEADDRESS_NOT_INITIALIZED=8\n\
00211 int8 PATH_NOT_FOUND=9\n\
00212 int8 PATH_NAME_NOT_SPECIFIED=10\n\
00213 int8 NOT_RECORDING_PATH=11\n\
00214 int8 FLASH_NOT_INITIALIZED=12\n\
00215 int8 FAILED_TO_DELETE_PATH=13\n\
00216 int8 FAILED_TO_READ_FROM_FLASH=14\n\
00217 int8 FAILED_TO_WRITE_TO_FLASH=15\n\
00218 int8 FLASH_NOT_READY=16\n\
00219 int8 NO_MEMORY_AVAILABLE=17\n\
00220 int8 NO_MCU_PORT_AVAILABLE=18\n\
00221 int8 NO_NS_PORT_AVAILABLE=19\n\
00222 int8 NS_PACKET_CHECKSUM_ERROR=20\n\
00223 int8 NS_UART_READ_ERROR=21\n\
00224 int8 PARAMETER_OUTOFRANGE=22\n\
00225 int8 NO_PARAMETER=23\n\
00226 \n\
00227 int8 response\n\
00228 \n\
00229 \n\
00230 ";
00231   }
00232 
00233   static const char* value(const  ::rovio_shared::head_ctrlResponse_<ContainerAllocator> &) { return value(); } 
00234 };
00235 
00236 template<class ContainerAllocator> struct IsFixedSize< ::rovio_shared::head_ctrlResponse_<ContainerAllocator> > : public TrueType {};
00237 } // namespace message_traits
00238 } // namespace ros
00239 
00240 namespace ros
00241 {
00242 namespace serialization
00243 {
00244 
00245 template<class ContainerAllocator> struct Serializer< ::rovio_shared::head_ctrlRequest_<ContainerAllocator> >
00246 {
00247   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00248   {
00249     stream.next(m.head_pos);
00250   }
00251 
00252   ROS_DECLARE_ALLINONE_SERIALIZER;
00253 }; // struct head_ctrlRequest_
00254 } // namespace serialization
00255 } // namespace ros
00256 
00257 
00258 namespace ros
00259 {
00260 namespace serialization
00261 {
00262 
00263 template<class ContainerAllocator> struct Serializer< ::rovio_shared::head_ctrlResponse_<ContainerAllocator> >
00264 {
00265   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00266   {
00267     stream.next(m.response);
00268   }
00269 
00270   ROS_DECLARE_ALLINONE_SERIALIZER;
00271 }; // struct head_ctrlResponse_
00272 } // namespace serialization
00273 } // namespace ros
00274 
00275 namespace ros
00276 {
00277 namespace service_traits
00278 {
00279 template<>
00280 struct MD5Sum<rovio_shared::head_ctrl> {
00281   static const char* value() 
00282   {
00283     return "8fc91ecf3dc7f4ab832a70ed14ec95b7";
00284   }
00285 
00286   static const char* value(const rovio_shared::head_ctrl&) { return value(); } 
00287 };
00288 
00289 template<>
00290 struct DataType<rovio_shared::head_ctrl> {
00291   static const char* value() 
00292   {
00293     return "rovio_shared/head_ctrl";
00294   }
00295 
00296   static const char* value(const rovio_shared::head_ctrl&) { return value(); } 
00297 };
00298 
00299 template<class ContainerAllocator>
00300 struct MD5Sum<rovio_shared::head_ctrlRequest_<ContainerAllocator> > {
00301   static const char* value() 
00302   {
00303     return "8fc91ecf3dc7f4ab832a70ed14ec95b7";
00304   }
00305 
00306   static const char* value(const rovio_shared::head_ctrlRequest_<ContainerAllocator> &) { return value(); } 
00307 };
00308 
00309 template<class ContainerAllocator>
00310 struct DataType<rovio_shared::head_ctrlRequest_<ContainerAllocator> > {
00311   static const char* value() 
00312   {
00313     return "rovio_shared/head_ctrl";
00314   }
00315 
00316   static const char* value(const rovio_shared::head_ctrlRequest_<ContainerAllocator> &) { return value(); } 
00317 };
00318 
00319 template<class ContainerAllocator>
00320 struct MD5Sum<rovio_shared::head_ctrlResponse_<ContainerAllocator> > {
00321   static const char* value() 
00322   {
00323     return "8fc91ecf3dc7f4ab832a70ed14ec95b7";
00324   }
00325 
00326   static const char* value(const rovio_shared::head_ctrlResponse_<ContainerAllocator> &) { return value(); } 
00327 };
00328 
00329 template<class ContainerAllocator>
00330 struct DataType<rovio_shared::head_ctrlResponse_<ContainerAllocator> > {
00331   static const char* value() 
00332   {
00333     return "rovio_shared/head_ctrl";
00334   }
00335 
00336   static const char* value(const rovio_shared::head_ctrlResponse_<ContainerAllocator> &) { return value(); } 
00337 };
00338 
00339 } // namespace service_traits
00340 } // namespace ros
00341 
00342 #endif // ROVIO_SHARED_SERVICE_HEAD_CTRL_H
00343 


rovio_shared
Author(s): Russell Toris
autogenerated on Sat Dec 28 2013 17:38:45