RTI Connext .Net APIs
Version 6.0.0
|
Helpers to provide utility operations related to DDS::TopicQuery. More...
#include <managed_subscription.h>
Static Public Member Functions | |
static void | topic_query_data_from_service_request (TopicQueryData^ topicQueryData, ServiceRequest^ serviceRequest) |
Retrieves the DDS::TopicQueryData data contained in the specified DDS::ServiceRequest. More... | |
Helpers to provide utility operations related to DDS::TopicQuery.
|
static |
Retrieves the DDS::TopicQueryData data contained in the specified DDS::ServiceRequest.
This operation will extract the content from the request body of the DDS::ServiceRequest and place it into the specified DDS::TopicQueryData object.
The specified DDS::ServiceRequest must be a valid sample associated with the service id DDS::ServiceRequest::TOPIC_QUERY_SERVICE_ID. Otherwise this operation will return false.
This operation can be called within the context of a DDS::DataWriterListener::on_service_request_accepted to retrieve the DDS::TopicQueryData of a DDS::ServiceRequest that has been received with service id DDS::ServiceRequest::TOPIC_QUERY_SERVICE_ID
topicQueryData | <<inout>> A DDS::TopicQueryData object where the content from the service request is extracted. Cannot be NULL. |
serviceRequest | <<in>> Input DDS::ServiceRequest that contains the DDS::TopicQueryData as part of its request body. Cannot be NULL. |