rmw_fastrtps_cpp  master
Implement the ROS middleware interface using eProsima FastRTPS static code generation in C++.
All Classes Namespaces Files Functions Variables Macros
Classes | Functions
rmw_fastrtps_cpp Namespace Reference

Classes

class  MessageTypeSupport
 
class  RequestTypeSupport
 
class  ResponseTypeSupport
 
class  ServiceTypeSupport
 
class  TypeSupport
 

Functions

eprosima::fastrtps::Publisher * get_request_publisher (rmw_client_t *client)
 Return a native FastRTPS publisher handle for the request. More...
 
eprosima::fastrtps::Subscriber * get_response_subscriber (rmw_client_t *client)
 Return a native FastRTPS subscriber handle for the response. More...
 
eprosima::fastrtps::Participant * get_participant (rmw_node_t *node)
 Return a native FastRTPS participant handle. More...
 
eprosima::fastrtps::Publisher * get_publisher (rmw_publisher_t *publisher)
 Return a native FastRTPS publisher handle. More...
 
eprosima::fastrtps::Subscriber * get_request_subscriber (rmw_service_t *service)
 Return a native FastRTPS subscriber handle for the request. More...
 
eprosima::fastrtps::Publisher * get_response_publisher (rmw_service_t *service)
 Return a native FastRTPS publisher handle for the response. More...
 
eprosima::fastrtps::Subscriber * get_subscriber (rmw_subscription_t *subscription)
 Return a native FastRTPS subscriber handle. More...
 
rmw_ret_t increment_context_impl_ref_count (rmw_context_t *context)
 Increment rmw_context_impl_t reference count, initializing it if necessary. More...
 
rmw_publisher_tcreate_publisher (const CustomParticipantInfo *participant_info, const rosidl_message_type_support_t *type_supports, const char *topic_name, const rmw_qos_profile_t *qos_policies, const rmw_publisher_options_t *publisher_options, bool keyed, bool create_publisher_listener)
 
rmw_subscription_tcreate_subscription (const CustomParticipantInfo *participant_info, const rosidl_message_type_support_t *type_supports, const char *topic_name, const rmw_qos_profile_t *qos_policies, const rmw_subscription_options_t *subscription_options, bool keyed, bool create_subscription_listener)
 

Function Documentation

◆ get_request_publisher()

eprosima::fastrtps::Publisher* rmw_fastrtps_cpp::get_request_publisher ( rmw_client_t client)

Return a native FastRTPS publisher handle for the request.

The function returns NULL when either the client handle is NULL or when the client handle is from a different rmw implementation.

Returns
native FastRTPS publisher handle if successful, otherwise NULL

◆ get_response_subscriber()

eprosima::fastrtps::Subscriber* rmw_fastrtps_cpp::get_response_subscriber ( rmw_client_t client)

Return a native FastRTPS subscriber handle for the response.

The function returns NULL when either the client handle is NULL or when the client handle is from a different rmw implementation.

Returns
native FastRTPS subscriber handle if successful, otherwise NULL

◆ get_participant()

eprosima::fastrtps::Participant* rmw_fastrtps_cpp::get_participant ( rmw_node_t node)

Return a native FastRTPS participant handle.

The function returns NULL when either the node handle is NULL or when the node handle is from a different rmw implementation.

Returns
native FastRTPS participant handle if successful, otherwise NULL

◆ get_publisher()

eprosima::fastrtps::Publisher* rmw_fastrtps_cpp::get_publisher ( rmw_publisher_t publisher)

Return a native FastRTPS publisher handle.

The function returns NULL when either the publisher handle is NULL or when the publisher handle is from a different rmw implementation.

Returns
native FastRTPS publisher handle if successful, otherwise NULL

◆ get_request_subscriber()

eprosima::fastrtps::Subscriber* rmw_fastrtps_cpp::get_request_subscriber ( rmw_service_t service)

Return a native FastRTPS subscriber handle for the request.

The function returns NULL when either the service handle is NULL or when the service handle is from a different rmw implementation.

Returns
native FastRTPS subscriber handle if successful, otherwise NULL

◆ get_response_publisher()

eprosima::fastrtps::Publisher* rmw_fastrtps_cpp::get_response_publisher ( rmw_service_t service)

Return a native FastRTPS publisher handle for the response.

The function returns NULL when either the service handle is NULL or when the service handle is from a different rmw implementation.

Returns
native FastRTPS publisher handle if successful, otherwise NULL

◆ get_subscriber()

eprosima::fastrtps::Subscriber* rmw_fastrtps_cpp::get_subscriber ( rmw_subscription_t subscription)

Return a native FastRTPS subscriber handle.

The function returns NULL when either the subscription handle is NULL or when the subscription handle is from a different rmw implementation.

Returns
native FastRTPS subscriber handle if successful, otherwise NULL

◆ increment_context_impl_ref_count()

rmw_ret_t rmw_fastrtps_cpp::increment_context_impl_ref_count ( rmw_context_t context)

Increment rmw_context_impl_t reference count, initializing it if necessary.

Should be called when creating a node, and before using context->impl.

◆ create_publisher()

rmw_publisher_t* rmw_fastrtps_cpp::create_publisher ( const CustomParticipantInfo participant_info,
const rosidl_message_type_support_t *  type_supports,
const char *  topic_name,
const rmw_qos_profile_t qos_policies,
const rmw_publisher_options_t publisher_options,
bool  keyed,
bool  create_publisher_listener 
)

◆ create_subscription()

rmw_subscription_t* rmw_fastrtps_cpp::create_subscription ( const CustomParticipantInfo participant_info,
const rosidl_message_type_support_t *  type_supports,
const char *  topic_name,
const rmw_qos_profile_t qos_policies,
const rmw_subscription_options_t subscription_options,
bool  keyed,
bool  create_subscription_listener 
)