Function dds_qget_resource_limits¶
Defined in File dds_public_qos.h
Function Documentation¶
-
bool dds_qget_resource_limits(const dds_qos_t *qos, int32_t *max_samples, int32_t *max_instances, int32_t *max_samples_per_instance)¶
Get the resource-limits policy from a qos structure.
- Parameters
qos – [in] - Pointer to a dds_qos_t structure storing the policy
max_samples – [inout] - Pointer that will store the number of samples resource-limit (optional)
max_instances – [inout] - Pointer that will store the number of instances resource-limit (optional)
max_samples_per_instance – [inout] - Pointer that will store the number of samples per instance resource-limit (optional)
- Returns
- false iff any of the arguments is invalid or the qos is not present in the qos object