15#ifndef FASTDDS_RTPS_FLOWCONTROL__FLOWCONTROLLERDESCRIPTOR_HPP
16#define FASTDDS_RTPS_FLOWCONTROL__FLOWCONTROLLERDESCRIPTOR_HPP
20#include <fastdds/rtps/attributes/ThreadSettings.hpp>
22#include "FlowControllerConsts.hpp"
23#include "FlowControllerSchedulerPolicy.hpp"
64 return (this->name == b.
name) &&
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.
Configuration values for creating flow controllers.
Definition FlowControllerDescriptor.hpp:36
FlowControllerSchedulerPolicy scheduler
Scheduler policy used by the flow controller.
Definition FlowControllerDescriptor.hpp:43
bool operator==(const FlowControllerDescriptor &b) const
Definition FlowControllerDescriptor.hpp:61
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