Go to the documentation of this file.
30 class dds_participant;
32 class dds_topic_reader;
33 class dds_topic_writer;
45 blob_msg( std::vector< uint8_t > && data_ ) {
data( std::move( data_ ) ); }
66 eprosima::fastdds::dds::SampleInfo * optional_info =
nullptr );
72 template<
typename T >
75 return data().size() > 0 ?
reinterpret_cast< T
const *
>(
data().data() ) :
nullptr;
77 template<
typename T >
80 return data().size() > 0 ?
reinterpret_cast< T *
>(
data().data() ) :
nullptr;
const eProsima_user_DllExport std::vector< uint8_t > & data() const
This function returns a constant reference to member data.
This class represents the TopicDataType of the type blob defined by the user in the IDL file.
blob_msg(std::vector< uint8_t > &&data_)
GLsizei const GLchar *const * string
dds_sequence_number write_to(dds_topic_writer &) const
uint64_t dds_sequence_number
static std::shared_ptr< dds_topic > create_topic(std::shared_ptr< dds_participant > const &participant, std::string const &topic_name)
static bool take_next(dds_topic_reader &, blob_msg *output, eprosima::fastdds::dds::SampleInfo *optional_info=nullptr)
const T * custom_data() const
static std::shared_ptr< dds_topic > create_topic(std::shared_ptr< dds_participant > const &participant, char const *topic_name)
This class represents the structure blob defined by the user in the IDL file.
librealsense2
Author(s): LibRealSense ROS Team
autogenerated on Fri Aug 2 2024 08:30:01