Fast RTPS  Version 2.14.1
Fast RTPS
Loading...
Searching...
No Matches
KeyedChanges.h
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
20#ifndef KEYEDCHANGES_H_
21#define KEYEDCHANGES_H_
22
23#include <fastdds/rtps/common/CacheChange.h>
24#include <chrono>
25
26namespace eprosima{
27namespace fastrtps{
28
34{
39 {
40 }
41
48
51 {
52 }
53
55 std::vector<rtps::CacheChange_t*> cache_changes;
57 std::chrono::steady_clock::time_point next_deadline_us;
58};
59
60} /* namespace */
61} /* namespace eprosima */
62
63#endif /* KEYEDCHANGES_H_ */
eProsima namespace.
Definition LibrarySettingsAttributes.h:23
A struct storing a vector of cache changes and the next deadline in the group.
Definition KeyedChanges.h:34
~KeyedChanges()
Destructor.
Definition KeyedChanges.h:50
KeyedChanges(const KeyedChanges &other)
Copy constructor.
Definition KeyedChanges.h:43
std::chrono::steady_clock::time_point next_deadline_us
The time when the group will miss the deadline.
Definition KeyedChanges.h:57
std::vector< rtps::CacheChange_t * > cache_changes
A vector of cache changes.
Definition KeyedChanges.h:55
KeyedChanges()
Default constructor.
Definition KeyedChanges.h:36