18.1.1.4.16. SampleRejectedStatus

struct SampleRejectedStatus

A struct storing the sample rejected status.

Public Members

uint32_t total_count = 0

Total cumulative count of samples rejected by the DataReader.

uint32_t total_count_change = 0

The incremental number of samples rejected since the last time the listener was called or the status was read.

SampleRejectedStatusKind last_reason = NOT_REJECTED

Reason for rejecting the last sample rejected. If no samples have been rejected, the reason is the special value NOT_REJECTED.

InstanceHandle_t last_instance_handle

Handle to the instance being updated by the last sample that was rejected.