3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,4 +1,5 @@
|
||||
.vscode/
|
||||
build/
|
||||
devel/
|
||||
devel/*
|
||||
!/devel/include
|
||||
*.o
|
||||
|
239
devel/include/test_topic/Bytes.h
Normal file
239
devel/include/test_topic/Bytes.h
Normal file
@@ -0,0 +1,239 @@
|
||||
// Generated by gencpp from file test_topic/Bytes.msg
|
||||
// DO NOT EDIT!
|
||||
|
||||
|
||||
#ifndef TEST_TOPIC_MESSAGE_BYTES_H
|
||||
#define TEST_TOPIC_MESSAGE_BYTES_H
|
||||
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
#include <ros/types.h>
|
||||
#include <ros/serialization.h>
|
||||
#include <ros/builtin_message_traits.h>
|
||||
#include <ros/message_operations.h>
|
||||
|
||||
|
||||
namespace test_topic
|
||||
{
|
||||
template <class ContainerAllocator>
|
||||
struct Bytes_
|
||||
{
|
||||
typedef Bytes_<ContainerAllocator> Type;
|
||||
|
||||
Bytes_()
|
||||
: data()
|
||||
, tick()
|
||||
, length(0)
|
||||
, id(0)
|
||||
, type() {
|
||||
}
|
||||
Bytes_(const ContainerAllocator& _alloc)
|
||||
: data(_alloc)
|
||||
, tick()
|
||||
, length(0)
|
||||
, id(0)
|
||||
, type(_alloc) {
|
||||
(void)_alloc;
|
||||
}
|
||||
|
||||
|
||||
|
||||
typedef std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other > _data_type;
|
||||
_data_type data;
|
||||
|
||||
typedef ros::Time _tick_type;
|
||||
_tick_type tick;
|
||||
|
||||
typedef int64_t _length_type;
|
||||
_length_type length;
|
||||
|
||||
typedef int64_t _id_type;
|
||||
_id_type id;
|
||||
|
||||
typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _type_type;
|
||||
_type_type type;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
typedef boost::shared_ptr< ::test_topic::Bytes_<ContainerAllocator> > Ptr;
|
||||
typedef boost::shared_ptr< ::test_topic::Bytes_<ContainerAllocator> const> ConstPtr;
|
||||
|
||||
}; // struct Bytes_
|
||||
|
||||
typedef ::test_topic::Bytes_<std::allocator<void> > Bytes;
|
||||
|
||||
typedef boost::shared_ptr< ::test_topic::Bytes > BytesPtr;
|
||||
typedef boost::shared_ptr< ::test_topic::Bytes const> BytesConstPtr;
|
||||
|
||||
// constants requiring out of line definition
|
||||
|
||||
|
||||
|
||||
template<typename ContainerAllocator>
|
||||
std::ostream& operator<<(std::ostream& s, const ::test_topic::Bytes_<ContainerAllocator> & v)
|
||||
{
|
||||
ros::message_operations::Printer< ::test_topic::Bytes_<ContainerAllocator> >::stream(s, "", v);
|
||||
return s;
|
||||
}
|
||||
|
||||
|
||||
template<typename ContainerAllocator1, typename ContainerAllocator2>
|
||||
bool operator==(const ::test_topic::Bytes_<ContainerAllocator1> & lhs, const ::test_topic::Bytes_<ContainerAllocator2> & rhs)
|
||||
{
|
||||
return lhs.data == rhs.data &&
|
||||
lhs.tick == rhs.tick &&
|
||||
lhs.length == rhs.length &&
|
||||
lhs.id == rhs.id &&
|
||||
lhs.type == rhs.type;
|
||||
}
|
||||
|
||||
template<typename ContainerAllocator1, typename ContainerAllocator2>
|
||||
bool operator!=(const ::test_topic::Bytes_<ContainerAllocator1> & lhs, const ::test_topic::Bytes_<ContainerAllocator2> & rhs)
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
|
||||
|
||||
} // namespace test_topic
|
||||
|
||||
namespace ros
|
||||
{
|
||||
namespace message_traits
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
template <class ContainerAllocator>
|
||||
struct IsMessage< ::test_topic::Bytes_<ContainerAllocator> >
|
||||
: TrueType
|
||||
{ };
|
||||
|
||||
template <class ContainerAllocator>
|
||||
struct IsMessage< ::test_topic::Bytes_<ContainerAllocator> const>
|
||||
: TrueType
|
||||
{ };
|
||||
|
||||
template <class ContainerAllocator>
|
||||
struct IsFixedSize< ::test_topic::Bytes_<ContainerAllocator> >
|
||||
: FalseType
|
||||
{ };
|
||||
|
||||
template <class ContainerAllocator>
|
||||
struct IsFixedSize< ::test_topic::Bytes_<ContainerAllocator> const>
|
||||
: FalseType
|
||||
{ };
|
||||
|
||||
template <class ContainerAllocator>
|
||||
struct HasHeader< ::test_topic::Bytes_<ContainerAllocator> >
|
||||
: FalseType
|
||||
{ };
|
||||
|
||||
template <class ContainerAllocator>
|
||||
struct HasHeader< ::test_topic::Bytes_<ContainerAllocator> const>
|
||||
: FalseType
|
||||
{ };
|
||||
|
||||
|
||||
template<class ContainerAllocator>
|
||||
struct MD5Sum< ::test_topic::Bytes_<ContainerAllocator> >
|
||||
{
|
||||
static const char* value()
|
||||
{
|
||||
return "fd8110ce2e0bad5f5f8d1acd96e889d9";
|
||||
}
|
||||
|
||||
static const char* value(const ::test_topic::Bytes_<ContainerAllocator>&) { return value(); }
|
||||
static const uint64_t static_value1 = 0xfd8110ce2e0bad5fULL;
|
||||
static const uint64_t static_value2 = 0x5f8d1acd96e889d9ULL;
|
||||
};
|
||||
|
||||
template<class ContainerAllocator>
|
||||
struct DataType< ::test_topic::Bytes_<ContainerAllocator> >
|
||||
{
|
||||
static const char* value()
|
||||
{
|
||||
return "test_topic/Bytes";
|
||||
}
|
||||
|
||||
static const char* value(const ::test_topic::Bytes_<ContainerAllocator>&) { return value(); }
|
||||
};
|
||||
|
||||
template<class ContainerAllocator>
|
||||
struct Definition< ::test_topic::Bytes_<ContainerAllocator> >
|
||||
{
|
||||
static const char* value()
|
||||
{
|
||||
return "uint8[] data\n"
|
||||
"time tick\n"
|
||||
"int64 length\n"
|
||||
"int64 id\n"
|
||||
"string type\n"
|
||||
;
|
||||
}
|
||||
|
||||
static const char* value(const ::test_topic::Bytes_<ContainerAllocator>&) { return value(); }
|
||||
};
|
||||
|
||||
} // namespace message_traits
|
||||
} // namespace ros
|
||||
|
||||
namespace ros
|
||||
{
|
||||
namespace serialization
|
||||
{
|
||||
|
||||
template<class ContainerAllocator> struct Serializer< ::test_topic::Bytes_<ContainerAllocator> >
|
||||
{
|
||||
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
|
||||
{
|
||||
stream.next(m.data);
|
||||
stream.next(m.tick);
|
||||
stream.next(m.length);
|
||||
stream.next(m.id);
|
||||
stream.next(m.type);
|
||||
}
|
||||
|
||||
ROS_DECLARE_ALLINONE_SERIALIZER
|
||||
}; // struct Bytes_
|
||||
|
||||
} // namespace serialization
|
||||
} // namespace ros
|
||||
|
||||
namespace ros
|
||||
{
|
||||
namespace message_operations
|
||||
{
|
||||
|
||||
template<class ContainerAllocator>
|
||||
struct Printer< ::test_topic::Bytes_<ContainerAllocator> >
|
||||
{
|
||||
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::test_topic::Bytes_<ContainerAllocator>& v)
|
||||
{
|
||||
s << indent << "data[]" << std::endl;
|
||||
for (size_t i = 0; i < v.data.size(); ++i)
|
||||
{
|
||||
s << indent << " data[" << i << "]: ";
|
||||
Printer<uint8_t>::stream(s, indent + " ", v.data[i]);
|
||||
}
|
||||
s << indent << "tick: ";
|
||||
Printer<ros::Time>::stream(s, indent + " ", v.tick);
|
||||
s << indent << "length: ";
|
||||
Printer<int64_t>::stream(s, indent + " ", v.length);
|
||||
s << indent << "id: ";
|
||||
Printer<int64_t>::stream(s, indent + " ", v.id);
|
||||
s << indent << "type: ";
|
||||
Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.type);
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace message_operations
|
||||
} // namespace ros
|
||||
|
||||
#endif // TEST_TOPIC_MESSAGE_BYTES_H
|
Reference in New Issue
Block a user