aloha / camera_ws /devel /include /astra_camera /GetStringResponse.h
iMihayo's picture
Add files using upload-large-folder tool
20d9091 verified
Raw
History Blame Contribute Delete
5.98 kB
// Generated by gencpp from file astra_camera/GetStringResponse.msg
// DO NOT EDIT!
#ifndef ASTRA_CAMERA_MESSAGE_GETSTRINGRESPONSE_H
#define ASTRA_CAMERA_MESSAGE_GETSTRINGRESPONSE_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 astra_camera
{
template <class ContainerAllocator>
struct GetStringResponse_
{
typedef GetStringResponse_<ContainerAllocator> Type;
GetStringResponse_()
: data()
, success(false)
, message() {
}
GetStringResponse_(const ContainerAllocator& _alloc)
: data(_alloc)
, success(false)
, message(_alloc) {
(void)_alloc;
}
typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _data_type;
_data_type data;
typedef uint8_t _success_type;
_success_type success;
typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _message_type;
_message_type message;
typedef boost::shared_ptr< ::astra_camera::GetStringResponse_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::astra_camera::GetStringResponse_<ContainerAllocator> const> ConstPtr;
}; // struct GetStringResponse_
typedef ::astra_camera::GetStringResponse_<std::allocator<void> > GetStringResponse;
typedef boost::shared_ptr< ::astra_camera::GetStringResponse > GetStringResponsePtr;
typedef boost::shared_ptr< ::astra_camera::GetStringResponse const> GetStringResponseConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::astra_camera::GetStringResponse_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::astra_camera::GetStringResponse_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::astra_camera::GetStringResponse_<ContainerAllocator1> & lhs, const ::astra_camera::GetStringResponse_<ContainerAllocator2> & rhs)
{
return lhs.data == rhs.data &&
lhs.success == rhs.success &&
lhs.message == rhs.message;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::astra_camera::GetStringResponse_<ContainerAllocator1> & lhs, const ::astra_camera::GetStringResponse_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace astra_camera
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::astra_camera::GetStringResponse_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::astra_camera::GetStringResponse_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::astra_camera::GetStringResponse_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::astra_camera::GetStringResponse_<ContainerAllocator> const>
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::astra_camera::GetStringResponse_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::astra_camera::GetStringResponse_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::astra_camera::GetStringResponse_<ContainerAllocator> >
{
static const char* value()
{
return "15baad3d82a7b70bfc4eb31d66322293";
}
static const char* value(const ::astra_camera::GetStringResponse_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x15baad3d82a7b70bULL;
static const uint64_t static_value2 = 0xfc4eb31d66322293ULL;
};
template<class ContainerAllocator>
struct DataType< ::astra_camera::GetStringResponse_<ContainerAllocator> >
{
static const char* value()
{
return "astra_camera/GetStringResponse";
}
static const char* value(const ::astra_camera::GetStringResponse_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::astra_camera::GetStringResponse_<ContainerAllocator> >
{
static const char* value()
{
return "string data\n"
"bool success\n"
"string message\n"
"\n"
;
}
static const char* value(const ::astra_camera::GetStringResponse_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::astra_camera::GetStringResponse_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.data);
stream.next(m.success);
stream.next(m.message);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct GetStringResponse_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::astra_camera::GetStringResponse_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::astra_camera::GetStringResponse_<ContainerAllocator>& v)
{
s << indent << "data: ";
Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + " ", v.data);
s << indent << "success: ";
Printer<uint8_t>::stream(s, indent + " ", v.success);
s << indent << "message: ";
Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + " ", v.message);
}
};
} // namespace message_operations
} // namespace ros
#endif // ASTRA_CAMERA_MESSAGE_GETSTRINGRESPONSE_H