19#ifndef FASTDDS_DDS_CORE_STATUS__SAMPLEREJECTEDSTATUS_HPP
20#define FASTDDS_DDS_CORE_STATUS__SAMPLEREJECTEDSTATUS_HPP
24#include <fastdds/dds/common/InstanceHandle.hpp>
Definition DomainParticipant.hpp:45
SampleRejectedStatusKind
An enum with the possible values for the sample rejected reason.
Definition SampleRejectedStatus.hpp:32
@ NOT_REJECTED
Default value.
Definition SampleRejectedStatus.hpp:34
@ REJECTED_BY_SAMPLES_PER_INSTANCE_LIMIT
Exceeds the max_samples_per_instance limit.
Definition SampleRejectedStatus.hpp:40
@ REJECTED_BY_INSTANCES_LIMIT
Exceeds the max_instance limit.
Definition SampleRejectedStatus.hpp:36
@ REJECTED_BY_SAMPLES_LIMIT
Exceeds the max_samples limit.
Definition SampleRejectedStatus.hpp:38
A struct storing the sample rejected status.
Definition SampleRejectedStatus.hpp:45
SampleRejectedStatusKind last_reason
Reason for rejecting the last sample rejected.
Definition SampleRejectedStatus.hpp:60
uint32_t total_count
Total cumulative count of samples rejected by the DataReader.
Definition SampleRejectedStatus.hpp:49
uint32_t total_count_change
The incremental number of samples rejected since the last time the listener was called or the status ...
Definition SampleRejectedStatus.hpp:54
InstanceHandle_t last_instance_handle
Handle to the instance being updated by the last sample that was rejected.
Definition SampleRejectedStatus.hpp:65
Struct InstanceHandle_t, used to contain the key for WITH_KEY topics.
Definition InstanceHandle.hpp:154