123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196 |
- // Generated by gencpp from file common_msgs/SwitchModeResponse.msg
- // DO NOT EDIT!
- #ifndef COMMON_MSGS_MESSAGE_SWITCHMODERESPONSE_H
- #define COMMON_MSGS_MESSAGE_SWITCHMODERESPONSE_H
- #include <string>
- #include <vector>
- #include <memory>
- #include <ros/types.h>
- #include <ros/serialization.h>
- #include <ros/builtin_message_traits.h>
- #include <ros/message_operations.h>
- namespace common_msgs
- {
- template <class ContainerAllocator>
- struct SwitchModeResponse_
- {
- typedef SwitchModeResponse_<ContainerAllocator> Type;
- SwitchModeResponse_()
- : result(0) {
- }
- SwitchModeResponse_(const ContainerAllocator& _alloc)
- : result(0) {
- (void)_alloc;
- }
- typedef int32_t _result_type;
- _result_type result;
- typedef boost::shared_ptr< ::common_msgs::SwitchModeResponse_<ContainerAllocator> > Ptr;
- typedef boost::shared_ptr< ::common_msgs::SwitchModeResponse_<ContainerAllocator> const> ConstPtr;
- }; // struct SwitchModeResponse_
- typedef ::common_msgs::SwitchModeResponse_<std::allocator<void> > SwitchModeResponse;
- typedef boost::shared_ptr< ::common_msgs::SwitchModeResponse > SwitchModeResponsePtr;
- typedef boost::shared_ptr< ::common_msgs::SwitchModeResponse const> SwitchModeResponseConstPtr;
- // constants requiring out of line definition
- template<typename ContainerAllocator>
- std::ostream& operator<<(std::ostream& s, const ::common_msgs::SwitchModeResponse_<ContainerAllocator> & v)
- {
- ros::message_operations::Printer< ::common_msgs::SwitchModeResponse_<ContainerAllocator> >::stream(s, "", v);
- return s;
- }
- template<typename ContainerAllocator1, typename ContainerAllocator2>
- bool operator==(const ::common_msgs::SwitchModeResponse_<ContainerAllocator1> & lhs, const ::common_msgs::SwitchModeResponse_<ContainerAllocator2> & rhs)
- {
- return lhs.result == rhs.result;
- }
- template<typename ContainerAllocator1, typename ContainerAllocator2>
- bool operator!=(const ::common_msgs::SwitchModeResponse_<ContainerAllocator1> & lhs, const ::common_msgs::SwitchModeResponse_<ContainerAllocator2> & rhs)
- {
- return !(lhs == rhs);
- }
- } // namespace common_msgs
- namespace ros
- {
- namespace message_traits
- {
- template <class ContainerAllocator>
- struct IsFixedSize< ::common_msgs::SwitchModeResponse_<ContainerAllocator> >
- : TrueType
- { };
- template <class ContainerAllocator>
- struct IsFixedSize< ::common_msgs::SwitchModeResponse_<ContainerAllocator> const>
- : TrueType
- { };
- template <class ContainerAllocator>
- struct IsMessage< ::common_msgs::SwitchModeResponse_<ContainerAllocator> >
- : TrueType
- { };
- template <class ContainerAllocator>
- struct IsMessage< ::common_msgs::SwitchModeResponse_<ContainerAllocator> const>
- : TrueType
- { };
- template <class ContainerAllocator>
- struct HasHeader< ::common_msgs::SwitchModeResponse_<ContainerAllocator> >
- : FalseType
- { };
- template <class ContainerAllocator>
- struct HasHeader< ::common_msgs::SwitchModeResponse_<ContainerAllocator> const>
- : FalseType
- { };
- template<class ContainerAllocator>
- struct MD5Sum< ::common_msgs::SwitchModeResponse_<ContainerAllocator> >
- {
- static const char* value()
- {
- return "034a8e20d6a306665e3a5b340fab3f09";
- }
- static const char* value(const ::common_msgs::SwitchModeResponse_<ContainerAllocator>&) { return value(); }
- static const uint64_t static_value1 = 0x034a8e20d6a30666ULL;
- static const uint64_t static_value2 = 0x5e3a5b340fab3f09ULL;
- };
- template<class ContainerAllocator>
- struct DataType< ::common_msgs::SwitchModeResponse_<ContainerAllocator> >
- {
- static const char* value()
- {
- return "common_msgs/SwitchModeResponse";
- }
- static const char* value(const ::common_msgs::SwitchModeResponse_<ContainerAllocator>&) { return value(); }
- };
- template<class ContainerAllocator>
- struct Definition< ::common_msgs::SwitchModeResponse_<ContainerAllocator> >
- {
- static const char* value()
- {
- return "int32 result\n"
- "\n"
- ;
- }
- static const char* value(const ::common_msgs::SwitchModeResponse_<ContainerAllocator>&) { return value(); }
- };
- } // namespace message_traits
- } // namespace ros
- namespace ros
- {
- namespace serialization
- {
- template<class ContainerAllocator> struct Serializer< ::common_msgs::SwitchModeResponse_<ContainerAllocator> >
- {
- template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
- {
- stream.next(m.result);
- }
- ROS_DECLARE_ALLINONE_SERIALIZER
- }; // struct SwitchModeResponse_
- } // namespace serialization
- } // namespace ros
- namespace ros
- {
- namespace message_operations
- {
- template<class ContainerAllocator>
- struct Printer< ::common_msgs::SwitchModeResponse_<ContainerAllocator> >
- {
- template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::common_msgs::SwitchModeResponse_<ContainerAllocator>& v)
- {
- s << indent << "result: ";
- Printer<int32_t>::stream(s, indent + " ", v.result);
- }
- };
- } // namespace message_operations
- } // namespace ros
- #endif // COMMON_MSGS_MESSAGE_SWITCHMODERESPONSE_H
|