Go to the documentation of this file.00001
00002 #ifndef TELEKYB_MSGS_MESSAGE_TKSTATE_H
00003 #define TELEKYB_MSGS_MESSAGE_TKSTATE_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 "std_msgs/Header.h"
00018 #include "geometry_msgs/Pose.h"
00019 #include "geometry_msgs/Twist.h"
00020
00021 namespace telekyb_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct TKState_ {
00025 typedef TKState_<ContainerAllocator> Type;
00026
00027 TKState_()
00028 : header()
00029 , pose()
00030 , twist()
00031 {
00032 }
00033
00034 TKState_(const ContainerAllocator& _alloc)
00035 : header(_alloc)
00036 , pose(_alloc)
00037 , twist(_alloc)
00038 {
00039 }
00040
00041 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00042 ::std_msgs::Header_<ContainerAllocator> header;
00043
00044 typedef ::geometry_msgs::Pose_<ContainerAllocator> _pose_type;
00045 ::geometry_msgs::Pose_<ContainerAllocator> pose;
00046
00047 typedef ::geometry_msgs::Twist_<ContainerAllocator> _twist_type;
00048 ::geometry_msgs::Twist_<ContainerAllocator> twist;
00049
00050
00051 typedef boost::shared_ptr< ::telekyb_msgs::TKState_<ContainerAllocator> > Ptr;
00052 typedef boost::shared_ptr< ::telekyb_msgs::TKState_<ContainerAllocator> const> ConstPtr;
00053 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 };
00055 typedef ::telekyb_msgs::TKState_<std::allocator<void> > TKState;
00056
00057 typedef boost::shared_ptr< ::telekyb_msgs::TKState> TKStatePtr;
00058 typedef boost::shared_ptr< ::telekyb_msgs::TKState const> TKStateConstPtr;
00059
00060
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const ::telekyb_msgs::TKState_<ContainerAllocator> & v)
00063 {
00064 ros::message_operations::Printer< ::telekyb_msgs::TKState_<ContainerAllocator> >::stream(s, "", v);
00065 return s;}
00066
00067 }
00068
00069 namespace ros
00070 {
00071 namespace message_traits
00072 {
00073 template<class ContainerAllocator> struct IsMessage< ::telekyb_msgs::TKState_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::telekyb_msgs::TKState_<ContainerAllocator> const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::telekyb_msgs::TKState_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "a296da29623d3a182b44fee95e8415a4";
00080 }
00081
00082 static const char* value(const ::telekyb_msgs::TKState_<ContainerAllocator> &) { return value(); }
00083 static const uint64_t static_value1 = 0xa296da29623d3a18ULL;
00084 static const uint64_t static_value2 = 0x2b44fee95e8415a4ULL;
00085 };
00086
00087 template<class ContainerAllocator>
00088 struct DataType< ::telekyb_msgs::TKState_<ContainerAllocator> > {
00089 static const char* value()
00090 {
00091 return "telekyb_msgs/TKState";
00092 }
00093
00094 static const char* value(const ::telekyb_msgs::TKState_<ContainerAllocator> &) { return value(); }
00095 };
00096
00097 template<class ContainerAllocator>
00098 struct Definition< ::telekyb_msgs::TKState_<ContainerAllocator> > {
00099 static const char* value()
00100 {
00101 return "#\n\
00102 # Copyright 2011 Antonio Franchi and Martin Riedel \n\
00103 #\n\
00104 # This file is part of TeleKyb.\n\
00105 #\n\
00106 # TeleKyb is free software: you can redistribute it and/or modify\n\
00107 # it under the terms of the GNU General Public License as published by\n\
00108 # the Free Software Foundation, either version 3 of the License, or\n\
00109 # (at your option) any later version.\n\
00110 #\n\
00111 # TeleKyb is distributed in the hope that it will be useful,\n\
00112 # but WITHOUT ANY WARRANTY; without even the implied warranty of\n\
00113 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n\
00114 # GNU General Public License for more details.\n\
00115 #\n\
00116 # You should have received a copy of the GNU General Public License\n\
00117 # along with TeleKyb. If not, see <http://www.gnu.org/licenses/>.\n\
00118 \n\
00119 Header header\n\
00120 \n\
00121 # Pose\n\
00122 geometry_msgs/Pose pose\n\
00123 \n\
00124 # Twist\n\
00125 geometry_msgs/Twist twist\n\
00126 \n\
00127 \n\
00128 ================================================================================\n\
00129 MSG: std_msgs/Header\n\
00130 # Standard metadata for higher-level stamped data types.\n\
00131 # This is generally used to communicate timestamped data \n\
00132 # in a particular coordinate frame.\n\
00133 # \n\
00134 # sequence ID: consecutively increasing ID \n\
00135 uint32 seq\n\
00136 #Two-integer timestamp that is expressed as:\n\
00137 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00138 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00139 # time-handling sugar is provided by the client library\n\
00140 time stamp\n\
00141 #Frame this data is associated with\n\
00142 # 0: no frame\n\
00143 # 1: global frame\n\
00144 string frame_id\n\
00145 \n\
00146 ================================================================================\n\
00147 MSG: geometry_msgs/Pose\n\
00148 # A representation of pose in free space, composed of postion and orientation. \n\
00149 Point position\n\
00150 Quaternion orientation\n\
00151 \n\
00152 ================================================================================\n\
00153 MSG: geometry_msgs/Point\n\
00154 # This contains the position of a point in free space\n\
00155 float64 x\n\
00156 float64 y\n\
00157 float64 z\n\
00158 \n\
00159 ================================================================================\n\
00160 MSG: geometry_msgs/Quaternion\n\
00161 # This represents an orientation in free space in quaternion form.\n\
00162 \n\
00163 float64 x\n\
00164 float64 y\n\
00165 float64 z\n\
00166 float64 w\n\
00167 \n\
00168 ================================================================================\n\
00169 MSG: geometry_msgs/Twist\n\
00170 # This expresses velocity in free space broken into it's linear and angular parts. \n\
00171 Vector3 linear\n\
00172 Vector3 angular\n\
00173 \n\
00174 ================================================================================\n\
00175 MSG: geometry_msgs/Vector3\n\
00176 # This represents a vector in free space. \n\
00177 \n\
00178 float64 x\n\
00179 float64 y\n\
00180 float64 z\n\
00181 ";
00182 }
00183
00184 static const char* value(const ::telekyb_msgs::TKState_<ContainerAllocator> &) { return value(); }
00185 };
00186
00187 template<class ContainerAllocator> struct HasHeader< ::telekyb_msgs::TKState_<ContainerAllocator> > : public TrueType {};
00188 template<class ContainerAllocator> struct HasHeader< const ::telekyb_msgs::TKState_<ContainerAllocator> > : public TrueType {};
00189 }
00190 }
00191
00192 namespace ros
00193 {
00194 namespace serialization
00195 {
00196
00197 template<class ContainerAllocator> struct Serializer< ::telekyb_msgs::TKState_<ContainerAllocator> >
00198 {
00199 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00200 {
00201 stream.next(m.header);
00202 stream.next(m.pose);
00203 stream.next(m.twist);
00204 }
00205
00206 ROS_DECLARE_ALLINONE_SERIALIZER;
00207 };
00208 }
00209 }
00210
00211 namespace ros
00212 {
00213 namespace message_operations
00214 {
00215
00216 template<class ContainerAllocator>
00217 struct Printer< ::telekyb_msgs::TKState_<ContainerAllocator> >
00218 {
00219 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::telekyb_msgs::TKState_<ContainerAllocator> & v)
00220 {
00221 s << indent << "header: ";
00222 s << std::endl;
00223 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00224 s << indent << "pose: ";
00225 s << std::endl;
00226 Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + " ", v.pose);
00227 s << indent << "twist: ";
00228 s << std::endl;
00229 Printer< ::geometry_msgs::Twist_<ContainerAllocator> >::stream(s, indent + " ", v.twist);
00230 }
00231 };
00232
00233
00234 }
00235 }
00236
00237 #endif // TELEKYB_MSGS_MESSAGE_TKSTATE_H
00238