JointMuscleValveControllerState.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-shadow_robot/doc_stacks/2014-10-06_07-33-10.674696/shadow_robot/sr_robot_msgs/msg/JointMuscleValveControllerState.msg */
00002 #ifndef SR_ROBOT_MSGS_MESSAGE_JOINTMUSCLEVALVECONTROLLERSTATE_H
00003 #define SR_ROBOT_MSGS_MESSAGE_JOINTMUSCLEVALVECONTROLLERSTATE_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 
00019 namespace sr_robot_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct JointMuscleValveControllerState_ {
00023   typedef JointMuscleValveControllerState_<ContainerAllocator> Type;
00024 
00025   JointMuscleValveControllerState_()
00026   : header()
00027   , set_valve_muscle_0(0)
00028   , set_valve_muscle_1(0)
00029   , set_duration_muscle_0(0)
00030   , set_duration_muscle_1(0)
00031   , current_valve_muscle_0(0)
00032   , current_valve_muscle_1(0)
00033   , current_duration_muscle_0(0)
00034   , current_duration_muscle_1(0)
00035   , packed_valve(0.0)
00036   , muscle_pressure_0(0)
00037   , muscle_pressure_1(0)
00038   , time_step(0.0)
00039   {
00040   }
00041 
00042   JointMuscleValveControllerState_(const ContainerAllocator& _alloc)
00043   : header(_alloc)
00044   , set_valve_muscle_0(0)
00045   , set_valve_muscle_1(0)
00046   , set_duration_muscle_0(0)
00047   , set_duration_muscle_1(0)
00048   , current_valve_muscle_0(0)
00049   , current_valve_muscle_1(0)
00050   , current_duration_muscle_0(0)
00051   , current_duration_muscle_1(0)
00052   , packed_valve(0.0)
00053   , muscle_pressure_0(0)
00054   , muscle_pressure_1(0)
00055   , time_step(0.0)
00056   {
00057   }
00058 
00059   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00060    ::std_msgs::Header_<ContainerAllocator>  header;
00061 
00062   typedef int8_t _set_valve_muscle_0_type;
00063   int8_t set_valve_muscle_0;
00064 
00065   typedef int8_t _set_valve_muscle_1_type;
00066   int8_t set_valve_muscle_1;
00067 
00068   typedef uint64_t _set_duration_muscle_0_type;
00069   uint64_t set_duration_muscle_0;
00070 
00071   typedef uint64_t _set_duration_muscle_1_type;
00072   uint64_t set_duration_muscle_1;
00073 
00074   typedef int8_t _current_valve_muscle_0_type;
00075   int8_t current_valve_muscle_0;
00076 
00077   typedef int8_t _current_valve_muscle_1_type;
00078   int8_t current_valve_muscle_1;
00079 
00080   typedef uint64_t _current_duration_muscle_0_type;
00081   uint64_t current_duration_muscle_0;
00082 
00083   typedef uint64_t _current_duration_muscle_1_type;
00084   uint64_t current_duration_muscle_1;
00085 
00086   typedef double _packed_valve_type;
00087   double packed_valve;
00088 
00089   typedef uint16_t _muscle_pressure_0_type;
00090   uint16_t muscle_pressure_0;
00091 
00092   typedef uint16_t _muscle_pressure_1_type;
00093   uint16_t muscle_pressure_1;
00094 
00095   typedef double _time_step_type;
00096   double time_step;
00097 
00098 
00099   typedef boost::shared_ptr< ::sr_robot_msgs::JointMuscleValveControllerState_<ContainerAllocator> > Ptr;
00100   typedef boost::shared_ptr< ::sr_robot_msgs::JointMuscleValveControllerState_<ContainerAllocator>  const> ConstPtr;
00101   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00102 }; // struct JointMuscleValveControllerState
00103 typedef  ::sr_robot_msgs::JointMuscleValveControllerState_<std::allocator<void> > JointMuscleValveControllerState;
00104 
00105 typedef boost::shared_ptr< ::sr_robot_msgs::JointMuscleValveControllerState> JointMuscleValveControllerStatePtr;
00106 typedef boost::shared_ptr< ::sr_robot_msgs::JointMuscleValveControllerState const> JointMuscleValveControllerStateConstPtr;
00107 
00108 
00109 template<typename ContainerAllocator>
00110 std::ostream& operator<<(std::ostream& s, const  ::sr_robot_msgs::JointMuscleValveControllerState_<ContainerAllocator> & v)
00111 {
00112   ros::message_operations::Printer< ::sr_robot_msgs::JointMuscleValveControllerState_<ContainerAllocator> >::stream(s, "", v);
00113   return s;}
00114 
00115 } // namespace sr_robot_msgs
00116 
00117 namespace ros
00118 {
00119 namespace message_traits
00120 {
00121 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::JointMuscleValveControllerState_<ContainerAllocator> > : public TrueType {};
00122 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::JointMuscleValveControllerState_<ContainerAllocator>  const> : public TrueType {};
00123 template<class ContainerAllocator>
00124 struct MD5Sum< ::sr_robot_msgs::JointMuscleValveControllerState_<ContainerAllocator> > {
00125   static const char* value() 
00126   {
00127     return "fc22942516cdb4d514558e60d7263d35";
00128   }
00129 
00130   static const char* value(const  ::sr_robot_msgs::JointMuscleValveControllerState_<ContainerAllocator> &) { return value(); } 
00131   static const uint64_t static_value1 = 0xfc22942516cdb4d5ULL;
00132   static const uint64_t static_value2 = 0x14558e60d7263d35ULL;
00133 };
00134 
00135 template<class ContainerAllocator>
00136 struct DataType< ::sr_robot_msgs::JointMuscleValveControllerState_<ContainerAllocator> > {
00137   static const char* value() 
00138   {
00139     return "sr_robot_msgs/JointMuscleValveControllerState";
00140   }
00141 
00142   static const char* value(const  ::sr_robot_msgs::JointMuscleValveControllerState_<ContainerAllocator> &) { return value(); } 
00143 };
00144 
00145 template<class ContainerAllocator>
00146 struct Definition< ::sr_robot_msgs::JointMuscleValveControllerState_<ContainerAllocator> > {
00147   static const char* value() 
00148   {
00149     return "Header header\n\
00150 int8 set_valve_muscle_0\n\
00151 int8 set_valve_muscle_1\n\
00152 uint64 set_duration_muscle_0\n\
00153 uint64 set_duration_muscle_1\n\
00154 int8 current_valve_muscle_0\n\
00155 int8 current_valve_muscle_1\n\
00156 uint64 current_duration_muscle_0\n\
00157 uint64 current_duration_muscle_1\n\
00158 float64 packed_valve\n\
00159 uint16 muscle_pressure_0\n\
00160 uint16 muscle_pressure_1\n\
00161 float64 time_step\n\
00162 \n\
00163 \n\
00164 ================================================================================\n\
00165 MSG: std_msgs/Header\n\
00166 # Standard metadata for higher-level stamped data types.\n\
00167 # This is generally used to communicate timestamped data \n\
00168 # in a particular coordinate frame.\n\
00169 # \n\
00170 # sequence ID: consecutively increasing ID \n\
00171 uint32 seq\n\
00172 #Two-integer timestamp that is expressed as:\n\
00173 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00174 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00175 # time-handling sugar is provided by the client library\n\
00176 time stamp\n\
00177 #Frame this data is associated with\n\
00178 # 0: no frame\n\
00179 # 1: global frame\n\
00180 string frame_id\n\
00181 \n\
00182 ";
00183   }
00184 
00185   static const char* value(const  ::sr_robot_msgs::JointMuscleValveControllerState_<ContainerAllocator> &) { return value(); } 
00186 };
00187 
00188 template<class ContainerAllocator> struct HasHeader< ::sr_robot_msgs::JointMuscleValveControllerState_<ContainerAllocator> > : public TrueType {};
00189 template<class ContainerAllocator> struct HasHeader< const ::sr_robot_msgs::JointMuscleValveControllerState_<ContainerAllocator> > : public TrueType {};
00190 } // namespace message_traits
00191 } // namespace ros
00192 
00193 namespace ros
00194 {
00195 namespace serialization
00196 {
00197 
00198 template<class ContainerAllocator> struct Serializer< ::sr_robot_msgs::JointMuscleValveControllerState_<ContainerAllocator> >
00199 {
00200   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00201   {
00202     stream.next(m.header);
00203     stream.next(m.set_valve_muscle_0);
00204     stream.next(m.set_valve_muscle_1);
00205     stream.next(m.set_duration_muscle_0);
00206     stream.next(m.set_duration_muscle_1);
00207     stream.next(m.current_valve_muscle_0);
00208     stream.next(m.current_valve_muscle_1);
00209     stream.next(m.current_duration_muscle_0);
00210     stream.next(m.current_duration_muscle_1);
00211     stream.next(m.packed_valve);
00212     stream.next(m.muscle_pressure_0);
00213     stream.next(m.muscle_pressure_1);
00214     stream.next(m.time_step);
00215   }
00216 
00217   ROS_DECLARE_ALLINONE_SERIALIZER;
00218 }; // struct JointMuscleValveControllerState_
00219 } // namespace serialization
00220 } // namespace ros
00221 
00222 namespace ros
00223 {
00224 namespace message_operations
00225 {
00226 
00227 template<class ContainerAllocator>
00228 struct Printer< ::sr_robot_msgs::JointMuscleValveControllerState_<ContainerAllocator> >
00229 {
00230   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::sr_robot_msgs::JointMuscleValveControllerState_<ContainerAllocator> & v) 
00231   {
00232     s << indent << "header: ";
00233 s << std::endl;
00234     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00235     s << indent << "set_valve_muscle_0: ";
00236     Printer<int8_t>::stream(s, indent + "  ", v.set_valve_muscle_0);
00237     s << indent << "set_valve_muscle_1: ";
00238     Printer<int8_t>::stream(s, indent + "  ", v.set_valve_muscle_1);
00239     s << indent << "set_duration_muscle_0: ";
00240     Printer<uint64_t>::stream(s, indent + "  ", v.set_duration_muscle_0);
00241     s << indent << "set_duration_muscle_1: ";
00242     Printer<uint64_t>::stream(s, indent + "  ", v.set_duration_muscle_1);
00243     s << indent << "current_valve_muscle_0: ";
00244     Printer<int8_t>::stream(s, indent + "  ", v.current_valve_muscle_0);
00245     s << indent << "current_valve_muscle_1: ";
00246     Printer<int8_t>::stream(s, indent + "  ", v.current_valve_muscle_1);
00247     s << indent << "current_duration_muscle_0: ";
00248     Printer<uint64_t>::stream(s, indent + "  ", v.current_duration_muscle_0);
00249     s << indent << "current_duration_muscle_1: ";
00250     Printer<uint64_t>::stream(s, indent + "  ", v.current_duration_muscle_1);
00251     s << indent << "packed_valve: ";
00252     Printer<double>::stream(s, indent + "  ", v.packed_valve);
00253     s << indent << "muscle_pressure_0: ";
00254     Printer<uint16_t>::stream(s, indent + "  ", v.muscle_pressure_0);
00255     s << indent << "muscle_pressure_1: ";
00256     Printer<uint16_t>::stream(s, indent + "  ", v.muscle_pressure_1);
00257     s << indent << "time_step: ";
00258     Printer<double>::stream(s, indent + "  ", v.time_step);
00259   }
00260 };
00261 
00262 
00263 } // namespace message_operations
00264 } // namespace ros
00265 
00266 #endif // SR_ROBOT_MSGS_MESSAGE_JOINTMUSCLEVALVECONTROLLERSTATE_H
00267 


sr_robot_msgs
Author(s): Ugo Cupcic/ugo@shadowrobot.com
autogenerated on Mon Oct 6 2014 07:40:06