rmw
master
C API providing a middleware abstraction layer which is used to implement the rest of ROS.
|
Go to the documentation of this file.
15 #ifndef RMW__TOPIC_ENDPOINT_INFO_H_
16 #define RMW__TOPIC_ENDPOINT_INFO_H_
135 const char * topic_type,
178 const char * node_name,
221 const char * node_namespace,
332 #endif // RMW__TOPIC_ENDPOINT_INFO_H_
const char * topic_type
The associated topic type.
Definition: topic_endpoint_info.h:37
#define RMW_PUBLIC
Definition: visibility_control.h:48
RMW_PUBLIC_TYPE
Type mapping of rcutils log severity types to rmw specific types.
Definition: types.h:540
rmw_ret_t rmw_topic_endpoint_info_set_qos_profile(rmw_topic_endpoint_info_t *topic_endpoint_info, const rmw_qos_profile_t *qos_profile)
Set the endpoint QoS profile in the given topic endpoint info data structure.
struct RMW_PUBLIC_TYPE rmw_topic_endpoint_info_t rmw_topic_endpoint_info_t
enum RMW_PUBLIC_TYPE rmw_endpoint_type_t rmw_endpoint_type_t
Endpoint enumeration type.
Definition: types.h:63
rmw_ret_t rmw_topic_endpoint_info_set_endpoint_type(rmw_topic_endpoint_info_t *topic_endpoint_info, rmw_endpoint_type_t type)
Set the endpoint type in the given topic endpoint info data structure.
rmw_ret_t rmw_topic_endpoint_info_set_node_name(rmw_topic_endpoint_info_t *topic_endpoint_info, const char *node_name, rcutils_allocator_t *allocator)
Set the node name in the given topic endpoint info data structure.
const char * node_name
Name of the node.
Definition: topic_endpoint_info.h:33
rmw_ret_t rmw_topic_endpoint_info_fini(rmw_topic_endpoint_info_t *topic_endpoint_info, rcutils_allocator_t *allocator)
Finalize a topic endpoint info data structure.
#define RMW_WARN_UNUSED
Indicate that a variable is not used, and prevent compiler from issuing warnings.
Definition: macros.h:24
rmw_topic_endpoint_info_t rmw_get_zero_initialized_topic_endpoint_info(void)
Return zero initialized topic endpoint info data structure.
rmw_endpoint_type_t endpoint_type
The endpoint type.
Definition: topic_endpoint_info.h:39
#define RMW_GID_STORAGE_SIZE
Definition: types.h:41
rmw_ret_t rmw_topic_endpoint_info_set_topic_type(rmw_topic_endpoint_info_t *topic_endpoint_info, const char *topic_type, rcutils_allocator_t *allocator)
Set the topic type in the given topic endpoint info data structure.
int32_t rmw_ret_t
Return code for rmw functions.
Definition: ret_types.h:26
rmw_qos_profile_t qos_profile
QoS profile of the endpoint.
Definition: topic_endpoint_info.h:43
Definition: topic_endpoint_info.h:30
rmw_ret_t rmw_topic_endpoint_info_set_gid(rmw_topic_endpoint_info_t *topic_endpoint_info, const uint8_t gid[], size_t size)
Set the endpoint gid in the given topic endpoint info data structure.
rmw_ret_t rmw_topic_endpoint_info_set_node_namespace(rmw_topic_endpoint_info_t *topic_endpoint_info, const char *node_namespace, rcutils_allocator_t *allocator)
Set the node namespace in the given topic endpoint info data structure.
ROS MiddleWare quality of service profile.
Definition: types.h:462
const char * node_namespace
Namespace of the node.
Definition: topic_endpoint_info.h:35