Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038 #ifndef PR2_CONTROLLERS_MSGS_MESSAGE_PR2GRIPPERCOMMANDGOAL_H
00039 #define PR2_CONTROLLERS_MSGS_MESSAGE_PR2GRIPPERCOMMANDGOAL_H
00040
00041
00042 #include <string>
00043 #include <vector>
00044 #include <map>
00045
00046 #include <ros/types.h>
00047 #include <ros/serialization.h>
00048 #include <ros/builtin_message_traits.h>
00049 #include <ros/message_operations.h>
00050
00051 #include <pr2_controllers_msgs/Pr2GripperCommand.h>
00052
00053 namespace pr2_controllers_msgs
00054 {
00055 template <class ContainerAllocator>
00056 struct Pr2GripperCommandGoal_
00057 {
00058 typedef Pr2GripperCommandGoal_<ContainerAllocator> Type;
00059
00060 Pr2GripperCommandGoal_()
00061 : command() {
00062 }
00063 Pr2GripperCommandGoal_(const ContainerAllocator& _alloc)
00064 : command(_alloc) {
00065 }
00066
00067
00068
00069 typedef ::pr2_controllers_msgs::Pr2GripperCommand_<ContainerAllocator> _command_type;
00070 _command_type command;
00071
00072
00073
00074
00075 typedef boost::shared_ptr< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> > Ptr;
00076 typedef boost::shared_ptr< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> const> ConstPtr;
00077 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00078
00079 };
00080
00081 typedef ::pr2_controllers_msgs::Pr2GripperCommandGoal_<std::allocator<void> > Pr2GripperCommandGoal;
00082
00083 typedef boost::shared_ptr< ::pr2_controllers_msgs::Pr2GripperCommandGoal > Pr2GripperCommandGoalPtr;
00084 typedef boost::shared_ptr< ::pr2_controllers_msgs::Pr2GripperCommandGoal const> Pr2GripperCommandGoalConstPtr;
00085
00086
00087
00088
00089
00090 template<typename ContainerAllocator>
00091 std::ostream& operator<<(std::ostream& s, const ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> & v)
00092 {
00093 ros::message_operations::Printer< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> >::stream(s, "", v);
00094 return s;
00095 }
00096
00097 }
00098
00099 namespace ros
00100 {
00101 namespace message_traits
00102 {
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114 template <class ContainerAllocator>
00115 struct IsFixedSize< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> >
00116 : TrueType
00117 { };
00118
00119 template <class ContainerAllocator>
00120 struct IsFixedSize< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> const>
00121 : TrueType
00122 { };
00123
00124 template <class ContainerAllocator>
00125 struct IsMessage< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> >
00126 : TrueType
00127 { };
00128
00129 template <class ContainerAllocator>
00130 struct IsMessage< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> const>
00131 : TrueType
00132 { };
00133
00134 template <class ContainerAllocator>
00135 struct HasHeader< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> >
00136 : FalseType
00137 { };
00138
00139 template <class ContainerAllocator>
00140 struct HasHeader< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> const>
00141 : FalseType
00142 { };
00143
00144
00145 template<class ContainerAllocator>
00146 struct MD5Sum< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> >
00147 {
00148 static const char* value()
00149 {
00150 return "86fd82f4ddc48a4cb6856cfa69217e43";
00151 }
00152
00153 static const char* value(const ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator>&) { return value(); }
00154 static const uint64_t static_value1 = 0x86fd82f4ddc48a4cULL;
00155 static const uint64_t static_value2 = 0xb6856cfa69217e43ULL;
00156 };
00157
00158 template<class ContainerAllocator>
00159 struct DataType< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> >
00160 {
00161 static const char* value()
00162 {
00163 return "pr2_controllers_msgs/Pr2GripperCommandGoal";
00164 }
00165
00166 static const char* value(const ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator>&) { return value(); }
00167 };
00168
00169 template<class ContainerAllocator>
00170 struct Definition< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> >
00171 {
00172 static const char* value()
00173 {
00174 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00175 pr2_controllers_msgs/Pr2GripperCommand command\n\
00176 \n\
00177 ================================================================================\n\
00178 MSG: pr2_controllers_msgs/Pr2GripperCommand\n\
00179 float64 position\n\
00180 float64 max_effort\n\
00181 \n\
00182 ";
00183 }
00184
00185 static const char* value(const ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator>&) { return value(); }
00186 };
00187
00188 }
00189 }
00190
00191 namespace ros
00192 {
00193 namespace serialization
00194 {
00195
00196 template<class ContainerAllocator> struct Serializer< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> >
00197 {
00198 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00199 {
00200 stream.next(m.command);
00201 }
00202
00203 ROS_DECLARE_ALLINONE_SERIALIZER;
00204 };
00205
00206 }
00207 }
00208
00209 namespace ros
00210 {
00211 namespace message_operations
00212 {
00213
00214 template<class ContainerAllocator>
00215 struct Printer< ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator> >
00216 {
00217 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_controllers_msgs::Pr2GripperCommandGoal_<ContainerAllocator>& v)
00218 {
00219 s << indent << "command: ";
00220 s << std::endl;
00221 Printer< ::pr2_controllers_msgs::Pr2GripperCommand_<ContainerAllocator> >::stream(s, indent + " ", v.command);
00222 }
00223 };
00224
00225 }
00226 }
00227
00228 #endif // PR2_CONTROLLERS_MSGS_MESSAGE_PR2GRIPPERCOMMANDGOAL_H