Fast DDS  Version 3.1.2
Fast DDS
Loading...
Searching...
No Matches
SampleRejectedStatus.hpp
1// Copyright 2019 Proyectos y Sistemas de Mantenimiento SL (eProsima).
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
19#ifndef FASTDDS_DDS_CORE_STATUS__SAMPLEREJECTEDSTATUS_HPP
20#define FASTDDS_DDS_CORE_STATUS__SAMPLEREJECTEDSTATUS_HPP
21
22#include <cstdint>
23
24#include <fastdds/dds/common/InstanceHandle.hpp>
25
26namespace eprosima {
27namespace fastdds {
28namespace dds {
29
42
67
68} //namespace dds
69} //namespace fastdds
70} //namespace eprosima
71
72#endif // FASTDDS_DDS_CORE_STATUS__SAMPLEREJECTEDSTATUS_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
eProsima namespace.
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