Fast DDS  Version 3.6.1.0
Fast DDS
ReaderDataLifecycleQosPolicy.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_POLICY__READERDATALIFECYCLEQOSPOLICY_HPP
20 #define FASTDDS_DDS_CORE_POLICY__READERDATALIFECYCLEQOSPOLICY_HPP
21 
22 #include <fastdds/rtps/common/Time_t.hpp>
23 
24 #include <fastdds/dds/core/policy/QosPolicies.hpp>
25 
27 
28 namespace eprosima {
29 namespace fastdds {
30 namespace dds {
31 
36 {
37 public:
38 
43  : autopurge_no_writer_samples_delay(TIME_T_INFINITE_SECONDS, TIME_T_INFINITE_NANOSECONDS)
44  , autopurge_disposed_samples_delay(TIME_T_INFINITE_SECONDS, TIME_T_INFINITE_NANOSECONDS)
45  {
46  }
47 
51  virtual FASTDDS_EXPORTED_API ~ReaderDataLifecycleQosPolicy()
52  {
53  }
54 
56  const ReaderDataLifecycleQosPolicy& b) const
57  {
60  }
61 
62  inline void clear()
63  {
65  std::swap(*this, reset);
66  }
67 
68 public:
69 
82 };
83 
84 } //namespace dds
85 } //namespace fastdds
86 } //namespace eprosima
87 
88 #endif // FASTDDS_DDS_CORE_POLICY__READERDATALIFECYCLEQOSPOLICY_HPP
Specifies the behavior of the DataReader with regards to the lifecycle of the data-instances it manag...
Definition: ReaderDataLifecycleQosPolicy.hpp:36
ReaderDataLifecycleQosPolicy()
Constructor.
Definition: ReaderDataLifecycleQosPolicy.hpp:42
bool operator==(const ReaderDataLifecycleQosPolicy &b) const
Definition: ReaderDataLifecycleQosPolicy.hpp:55
void clear()
Definition: ReaderDataLifecycleQosPolicy.hpp:62
virtual FASTDDS_EXPORTED_API ~ReaderDataLifecycleQosPolicy()
Destructor.
Definition: ReaderDataLifecycleQosPolicy.hpp:51
dds::Duration_t autopurge_disposed_samples_delay
Indicates the duration the DataReader must retain information regarding instances that have the insta...
Definition: ReaderDataLifecycleQosPolicy.hpp:81
dds::Duration_t autopurge_no_writer_samples_delay
Indicates the duration the DataReader must retain information regarding instances that have the insta...
Definition: ReaderDataLifecycleQosPolicy.hpp:75
Definition: DomainParticipant.hpp:46
Time_t Duration_t
Definition: Time_t.hpp:91
Structure Time_t, used to describe times at a DDS level.
Definition: Time_t.hpp:36