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


tk_haptics_msgs
Author(s): Martin Riedel
autogenerated on Mon Nov 11 2013 11:13:52