Fast DDS  Version 3.3.0
Fast DDS
Loading...
Searching...
No Matches
ReaderAttributes.hpp
1// Copyright 2016 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
20#ifndef FASTDDS_RTPS_ATTRIBUTES__READERATTRIBUTES_HPP
21#define FASTDDS_RTPS_ATTRIBUTES__READERATTRIBUTES_HPP
22
23#include <fastdds/dds/core/policy/QosPolicies.hpp>
24#include <fastdds/rtps/attributes/EndpointAttributes.hpp>
25#include <fastdds/rtps/attributes/ThreadSettings.hpp>
26#include <fastdds/rtps/common/Time_t.hpp>
27#include <fastdds/utils/collections/ResourceLimitedContainerConfig.hpp>
28
29namespace eprosima {
30namespace fastdds {
31namespace rtps {
32
38{
39public:
40
47
52};
53
59{
60public:
61
63 {
64 endpoint.endpointKind = READER;
65 endpoint.durabilityKind = VOLATILE;
66 endpoint.reliabilityKind = BEST_EFFORT;
67 }
68
71
74
77 fastdds::dds::LivelinessQosPolicyKind::AUTOMATIC_LIVELINESS_QOS;
78
80 dds::Duration_t liveliness_lease_duration {TIME_T_INFINITE_SECONDS, TIME_T_INFINITE_NANOSECONDS};
81
83 bool expects_inline_qos = false;
84
87
90
93
96};
97
98} // namespace rtps
99} // namespace fastdds
100} // namespace eprosima
101
102#endif // FASTDDS_RTPS_ATTRIBUTES__READERATTRIBUTES_HPP
Structure EndpointAttributes, describing the attributes associated with an RTPS Endpoint.
Definition EndpointAttributes.hpp:40
ReaderAttributes()
Definition ReaderAttributes.hpp:62
EndpointAttributes endpoint
Attributes of the associated endpoint.
Definition ReaderAttributes.hpp:70
ResourceLimitedContainerConfig matched_writers_allocation
Define the allocation behaviour for matched-writer-dependent collections.
Definition ReaderAttributes.hpp:92
bool accept_messages_from_unkown_writers
Enable or disable the reception of messages from unknown writers.
Definition ReaderAttributes.hpp:89
bool disable_positive_acks
Disable positive ACKs.
Definition ReaderAttributes.hpp:86
fastdds::rtps::ThreadSettings data_sharing_listener_thread
Thread settings for the data-sharing listener thread.
Definition ReaderAttributes.hpp:95
fastdds::dds::LivelinessQosPolicyKind liveliness_kind
Liveliness kind.
Definition ReaderAttributes.hpp:76
ReaderTimes times
Times associated with this reader (only for stateful readers).
Definition ReaderAttributes.hpp:73
dds::Duration_t liveliness_lease_duration
Liveliness lease duration.
Definition ReaderAttributes.hpp:80
bool expects_inline_qos
Indicates if the reader expects Inline qos, default value false.
Definition ReaderAttributes.hpp:83
Class ReaderTimes, defining the times associated with the Reliable Readers events.
Definition ReaderAttributes.hpp:38
bool operator==(const ReaderTimes &b) const
Definition ReaderAttributes.hpp:41
dds::Duration_t heartbeat_response_delay
Delay to be applied when a HEARTBEAT message is received, default value 5ms.
Definition ReaderAttributes.hpp:51
dds::Duration_t initial_acknack_delay
Initial AckNack delay. Default value 70ms.
Definition ReaderAttributes.hpp:49
LivelinessQosPolicyKind
Enum LivelinessQosPolicyKind, different kinds of liveliness for LivelinessQosPolicy.
Definition QosPolicies.hpp:458
Time_t Duration_t
Definition Time_t.hpp:91
Contains the RTPS protocol implementation.
@ BEST_EFFORT
Definition Types.hpp:51
@ READER
Definition Types.hpp:66
@ VOLATILE
Volatile Durability.
Definition Types.hpp:57
eProsima namespace.
Specifies the configuration of a resource limited collection.
Definition ResourceLimitedContainerConfig.hpp:36
Struct ThreadSettings to specify various thread settings.
Definition ThreadSettings.hpp:37