DoorCmd.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-pr2_doors/doc_stacks/2013-12-11_14-13-17.791847/pr2_doors/door_msgs/msg/DoorCmd.msg */
00002 #ifndef DOOR_MSGS_MESSAGE_DOORCMD_H
00003 #define DOOR_MSGS_MESSAGE_DOORCMD_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 "door_msgs/Door.h"
00018 
00019 namespace door_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct DoorCmd_ {
00023   typedef DoorCmd_<ContainerAllocator> Type;
00024 
00025   DoorCmd_()
00026   : door()
00027   , side(0)
00028   {
00029   }
00030 
00031   DoorCmd_(const ContainerAllocator& _alloc)
00032   : door(_alloc)
00033   , side(0)
00034   {
00035   }
00036 
00037   typedef  ::door_msgs::Door_<ContainerAllocator>  _door_type;
00038    ::door_msgs::Door_<ContainerAllocator>  door;
00039 
00040   typedef int32_t _side_type;
00041   int32_t side;
00042 
00043   enum { PULL = 0 };
00044   enum { PUSH = 1 };
00045 
00046   typedef boost::shared_ptr< ::door_msgs::DoorCmd_<ContainerAllocator> > Ptr;
00047   typedef boost::shared_ptr< ::door_msgs::DoorCmd_<ContainerAllocator>  const> ConstPtr;
00048   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00049 }; // struct DoorCmd
00050 typedef  ::door_msgs::DoorCmd_<std::allocator<void> > DoorCmd;
00051 
00052 typedef boost::shared_ptr< ::door_msgs::DoorCmd> DoorCmdPtr;
00053 typedef boost::shared_ptr< ::door_msgs::DoorCmd const> DoorCmdConstPtr;
00054 
00055 
00056 template<typename ContainerAllocator>
00057 std::ostream& operator<<(std::ostream& s, const  ::door_msgs::DoorCmd_<ContainerAllocator> & v)
00058 {
00059   ros::message_operations::Printer< ::door_msgs::DoorCmd_<ContainerAllocator> >::stream(s, "", v);
00060   return s;}
00061 
00062 } // namespace door_msgs
00063 
00064 namespace ros
00065 {
00066 namespace message_traits
00067 {
00068 template<class ContainerAllocator> struct IsMessage< ::door_msgs::DoorCmd_<ContainerAllocator> > : public TrueType {};
00069 template<class ContainerAllocator> struct IsMessage< ::door_msgs::DoorCmd_<ContainerAllocator>  const> : public TrueType {};
00070 template<class ContainerAllocator>
00071 struct MD5Sum< ::door_msgs::DoorCmd_<ContainerAllocator> > {
00072   static const char* value() 
00073   {
00074     return "5cc30e56a9970953e15b3f2cd05f9d0c";
00075   }
00076 
00077   static const char* value(const  ::door_msgs::DoorCmd_<ContainerAllocator> &) { return value(); } 
00078   static const uint64_t static_value1 = 0x5cc30e56a9970953ULL;
00079   static const uint64_t static_value2 = 0xe15b3f2cd05f9d0cULL;
00080 };
00081 
00082 template<class ContainerAllocator>
00083 struct DataType< ::door_msgs::DoorCmd_<ContainerAllocator> > {
00084   static const char* value() 
00085   {
00086     return "door_msgs/DoorCmd";
00087   }
00088 
00089   static const char* value(const  ::door_msgs::DoorCmd_<ContainerAllocator> &) { return value(); } 
00090 };
00091 
00092 template<class ContainerAllocator>
00093 struct Definition< ::door_msgs::DoorCmd_<ContainerAllocator> > {
00094   static const char* value() 
00095   {
00096     return "door_msgs/Door door\n\
00097 int32 side\n\
00098 int32 PULL=0\n\
00099 int32 PUSH=1\n\
00100 ================================================================================\n\
00101 MSG: door_msgs/Door\n\
00102 Header header\n\
00103 geometry_msgs/Point32 frame_p1  ## position of the door frame\n\
00104 geometry_msgs/Point32 frame_p2  ## position of the door frame\n\
00105 geometry_msgs/Point32 door_p1   ## Ground plane projection of a point on the plane of the door \n\
00106 geometry_msgs/Point32 door_p2   ## Ground plane projection of a point on the plane of the door\n\
00107 geometry_msgs/Point32 handle    ## Position of the door handle\n\
00108 float32 height               ## Height of the door\n\
00109 \n\
00110 int32 UNKNOWN=0\n\
00111 \n\
00112 int32 HINGE_P1=1\n\
00113 int32 HINGE_P2=2\n\
00114 int32 hinge                  \n\
00115 \n\
00116 int32 ROT_DIR_CLOCKWISE=1\n\
00117 int32 ROT_DIR_COUNTERCLOCKWISE=2\n\
00118 int32 rot_dir                \n\
00119 \n\
00120 int32 LOCKED=1\n\
00121 int32 LATCHED=2\n\
00122 int32 UNLATCHED=3\n\
00123 int32 latch_state            \n\
00124 \n\
00125 geometry_msgs/Vector3 travel_dir           ## vector pointing in the direction the robot is going to travel through the door\n\
00126 float32 weight               ## @Sachin: what do we use this for?\n\
00127 \n\
00128 \n\
00129 \n\
00130 ================================================================================\n\
00131 MSG: std_msgs/Header\n\
00132 # Standard metadata for higher-level stamped data types.\n\
00133 # This is generally used to communicate timestamped data \n\
00134 # in a particular coordinate frame.\n\
00135 # \n\
00136 # sequence ID: consecutively increasing ID \n\
00137 uint32 seq\n\
00138 #Two-integer timestamp that is expressed as:\n\
00139 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00140 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00141 # time-handling sugar is provided by the client library\n\
00142 time stamp\n\
00143 #Frame this data is associated with\n\
00144 # 0: no frame\n\
00145 # 1: global frame\n\
00146 string frame_id\n\
00147 \n\
00148 ================================================================================\n\
00149 MSG: geometry_msgs/Point32\n\
00150 # This contains the position of a point in free space(with 32 bits of precision).\n\
00151 # It is recommeded to use Point wherever possible instead of Point32.  \n\
00152 # \n\
00153 # This recommendation is to promote interoperability.  \n\
00154 #\n\
00155 # This message is designed to take up less space when sending\n\
00156 # lots of points at once, as in the case of a PointCloud.  \n\
00157 \n\
00158 float32 x\n\
00159 float32 y\n\
00160 float32 z\n\
00161 ================================================================================\n\
00162 MSG: geometry_msgs/Vector3\n\
00163 # This represents a vector in free space. \n\
00164 \n\
00165 float64 x\n\
00166 float64 y\n\
00167 float64 z\n\
00168 ";
00169   }
00170 
00171   static const char* value(const  ::door_msgs::DoorCmd_<ContainerAllocator> &) { return value(); } 
00172 };
00173 
00174 } // namespace message_traits
00175 } // namespace ros
00176 
00177 namespace ros
00178 {
00179 namespace serialization
00180 {
00181 
00182 template<class ContainerAllocator> struct Serializer< ::door_msgs::DoorCmd_<ContainerAllocator> >
00183 {
00184   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00185   {
00186     stream.next(m.door);
00187     stream.next(m.side);
00188   }
00189 
00190   ROS_DECLARE_ALLINONE_SERIALIZER;
00191 }; // struct DoorCmd_
00192 } // namespace serialization
00193 } // namespace ros
00194 
00195 namespace ros
00196 {
00197 namespace message_operations
00198 {
00199 
00200 template<class ContainerAllocator>
00201 struct Printer< ::door_msgs::DoorCmd_<ContainerAllocator> >
00202 {
00203   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::door_msgs::DoorCmd_<ContainerAllocator> & v) 
00204   {
00205     s << indent << "door: ";
00206 s << std::endl;
00207     Printer< ::door_msgs::Door_<ContainerAllocator> >::stream(s, indent + "  ", v.door);
00208     s << indent << "side: ";
00209     Printer<int32_t>::stream(s, indent + "  ", v.side);
00210   }
00211 };
00212 
00213 
00214 } // namespace message_operations
00215 } // namespace ros
00216 
00217 #endif // DOOR_MSGS_MESSAGE_DOORCMD_H
00218 


door_msgs
Author(s): Wim Meeussen
autogenerated on Wed Dec 11 2013 14:16:35