| Fast DDS Version 3.3.0 Fast DDS

Loading...
Searching...
No Matches
FlowControllerSchedulerPolicy.hpp
1// Copyright 2021 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
15#ifndef FASTDDS_RTPS_FLOWCONTROL__FLOWCONTROLLERSCHEDULERPOLICY_HPP
16#define FASTDDS_RTPS_FLOWCONTROL__FLOWCONTROLLERSCHEDULERPOLICY_HPP
17
18#include <cstdint>
19
20 namespace eprosima {
21 namespace fastdds {
22 namespace rtps {
23
30 enum class FlowControllerSchedulerPolicy : int32_t
31{
33 FIFO,
35 ROUND_ROBIN,
37 HIGH_PRIORITY,
40 PRIORITY_WITH_RESERVATION
41};
42
43} // namespace rtps
44} // namespace fastdds
45} // namespace eprosima
46
47#endif // FASTDDS_RTPS_FLOWCONTROL__FLOWCONTROLLERSCHEDULERPOLICY_HPP
eprosima::fastdds::rtps
Contains the RTPS protocol implementation.
eprosima::fastdds::rtps::FlowControllerSchedulerPolicy
FlowControllerSchedulerPolicy
Supported scheduler policy by a flow controller.
Definition FlowControllerSchedulerPolicy.hpp:31
eprosima::fastdds::rtps::FlowControllerSchedulerPolicy::PRIORITY_WITH_RESERVATION
@ PRIORITY_WITH_RESERVATION
Priority with reservation scheduler policy: guarantee each DataWriter's minimum reservation of throug...
Definition FlowControllerSchedulerPolicy.hpp:40
eprosima::fastdds::rtps::FlowControllerSchedulerPolicy::ROUND_ROBIN
@ ROUND_ROBIN
Round Robin scheduler policy: schedules one sample of each DataWriter in circular order.
Definition FlowControllerSchedulerPolicy.hpp:35
eprosima::fastdds::rtps::FlowControllerSchedulerPolicy::HIGH_PRIORITY
@ HIGH_PRIORITY
High priority scheduler policy: samples with highest priority are scheduled first to be sent to netwo...
Definition FlowControllerSchedulerPolicy.hpp:37
eprosima::fastdds::rtps::FlowControllerSchedulerPolicy::FIFO
@ FIFO
FIFO scheduler policy: first written sample by user, first sample scheduled to be sent to network.
Definition FlowControllerSchedulerPolicy.hpp:33
eprosima::fastdds
eprosima
eProsima namespace.