rosidl_typesupport_fastrtps_cpp  master
ROSIDL C Typesupport for eProsima FastRTPS
Functions | Variables
rosidl_typesupport_fastrtps_cpp Namespace Reference

Functions

template<typename T >
const rosidl_message_type_support_tget_message_type_support_handle ()
 Get the rosidl message typesupport handler of the type. More...
 
template<typename T >
const rosidl_service_type_support_tget_service_type_support_handle ()
 Get the rosidl service typesupport handler of the type. More...
 
void u16string_to_wstring (const std::u16string &u16str, std::wstring &wstr)
 Convert a std::u16string into a std::wstring. More...
 
bool wstring_to_u16string (const std::wstring &wstr, std::u16string &u16str)
 Convert a std::wstring into a std::u16string. More...
 

Variables

const ROSIDL_TYPESUPPORT_FASTRTPS_CPP_IMPORT char * typesupport_identifier
 String identifier specific to rosidl_typesupport_fastrtps_cpp. More...
 

Function Documentation

◆ get_message_type_support_handle()

template<typename T >
const rosidl_message_type_support_t* rosidl_typesupport_fastrtps_cpp::get_message_type_support_handle ( )

Get the rosidl message typesupport handler of the type.

This is implemented in the shared library provided by this package.

Returns
The rosidl_message_type_support_t of type T.

◆ get_service_type_support_handle()

template<typename T >
const rosidl_service_type_support_t* rosidl_typesupport_fastrtps_cpp::get_service_type_support_handle ( )

Get the rosidl service typesupport handler of the type.

This is implemented in the shared library provided by this package.

Returns
The rosidl_service_type_support_t of type T.

◆ u16string_to_wstring()

void rosidl_typesupport_fastrtps_cpp::u16string_to_wstring ( const std::u16string u16str,
std::wstring wstr 
)

Convert a std::u16string into a std::wstring.

Parameters
[in]u16strThe std::u16string character string to copy from.
[in,out]wstrThe std::wstring to copy to.

◆ wstring_to_u16string()

bool rosidl_typesupport_fastrtps_cpp::wstring_to_u16string ( const std::wstring wstr,
std::u16string u16str 
)

Convert a std::wstring into a std::u16string.

Parameters
[in]wstrThe std::wstring to copy from.
[in,out]u16strThe std::u16string to copy to.
Returns
true if resizing u16str and assignment succeeded, otherwise false.

Variable Documentation

◆ typesupport_identifier

const ROSIDL_TYPESUPPORT_FASTRTPS_CPP_IMPORT char* rosidl_typesupport_fastrtps_cpp::typesupport_identifier

String identifier specific to rosidl_typesupport_fastrtps_cpp.