Fast DDS  Version 3.0.0
Fast DDS
Loading...
Searching...
No Matches
FlowControllerDescriptor.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__FLOWCONTROLLERDESCRIPTOR_HPP
16#define FASTDDS_RTPS_FLOWCONTROL__FLOWCONTROLLERDESCRIPTOR_HPP
17
18#include <string>
19
20#include <fastdds/rtps/attributes/ThreadSettings.hpp>
21
22#include "FlowControllerConsts.hpp"
23#include "FlowControllerSchedulerPolicy.hpp"
24
25namespace eprosima {
26namespace fastdds {
27namespace rtps {
28
62
63} // namespace rtps
64} // namespace fastdds
65} // namespace eprosima
66
67#endif // FASTDDS_RTPS_FLOWCONTROL__FLOWCONTROLLERDESCRIPTOR_HPP
FASTDDS_EXPORTED_API const char *const FASTDDS_FLOW_CONTROLLER_DEFAULT
Name of the default flow controller.
FlowControllerSchedulerPolicy
Supported scheduler policy by a flow controller.
Definition FlowControllerSchedulerPolicy.hpp:31
@ FIFO
FIFO scheduler policy: first written sample by user, first sample scheduled to be sent to network.
eProsima namespace.
Configuration values for creating flow controllers.
Definition FlowControllerDescriptor.hpp:36
FlowControllerSchedulerPolicy scheduler
Scheduler policy used by the flow controller.
Definition FlowControllerDescriptor.hpp:43
uint64_t period_ms
Period time in milliseconds.
Definition FlowControllerDescriptor.hpp:56
ThreadSettings sender_thread
Thread settings for the sender thread.
Definition FlowControllerDescriptor.hpp:59
std::string name
Name of the flow controller.
Definition FlowControllerDescriptor.hpp:38
int32_t max_bytes_per_period
Maximum number of bytes to be sent to network per period.
Definition FlowControllerDescriptor.hpp:50
Struct ThreadSettings to specify various thread settings.
Definition ThreadSettings.hpp:37