Struct AstuteDDSClient

ClassList > AstuteDDSClient

More...

  • #include <types.hpp>

Public Attributes

Type Name
std::mutex cb_mtx
rmw_event_callback_t on_new_response_cb = { nullptr }
const void * on_new_response_user_data = { nullptr }
Opaque pointer passed back verbatim to on_new_response_cb .
rmw_qos_profile_t qos = {}
TypeSupportHandle request_ts = {}
Request-message layout.
AstuteDDS_Requester requester = { nullptr }
TypeSupportHandle response_ts = {}
std::string service_name

Detailed Description

State pointed to by rmw_client_t::data.

Wraps a single AstuteDDS_Requester, which owns the paired request writer (rq/<svc>Request) and reply reader (rr/<svc>Reply>) and handles topic naming, the client's 16-byte GID, and the request/reply correlation header internally — no RMW-layer header pack/unpack is needed.

Public Attributes Documentation

variable cb_mtx

std::mutex AstuteDDSClient::cb_mtx;

Protects on_new_response_cb / on_new_response_user_data against concurrent rmw_client_set_on_new_response_callback calls racing the AstuteDDS listener thread that invokes them.


variable on_new_response_cb

rmw_event_callback_t AstuteDDSClient::on_new_response_cb;

User callback registered via rmw_client_set_on_new_response_callback; null when no callback is registered.


variable on_new_response_user_data

Opaque pointer passed back verbatim to on_new_response_cb .

const void* AstuteDDSClient::on_new_response_user_data;


variable qos

rmw_qos_profile_t AstuteDDSClient::qos;

QoS the caller requested at create time, echoed from the rmw_client_*_get_actual_qos() calls.


variable request_ts

Request-message layout.

TypeSupportHandle AstuteDDSClient::request_ts;


variable requester

AstuteDDS_Requester AstuteDDSClient::requester;

variable response_ts

TypeSupportHandle AstuteDDSClient::response_ts;

Response-message layout.


variable service_name

std::string AstuteDDSClient::service_name;


The documentation for this class was generated from the following file include/astutedds/rmw/types.hpp